Lektor v3.4.0 Release Notes

  • ๐Ÿš€ This release drops support for Python 3.6, which has reached end-of-life in December 2021.

    ๐Ÿ”„ Changes

    • ๐Ÿ”— Links and image URLs in markdown text are now, by default, resolved via the Lektor database. Previously, they were not. Note that this behavior may be customized on a per-datamodel-field basis if one wants to get the old behavior back. (#992)

    • ๐Ÿ‘ Lektor now supports either [mistune][] 2.x or mistune 0.x. The configuration API of mistune 2.x differs significantly from that of mistune 0.x. If you are using a plugin that customizes the markdown rendering, you will likely have to update the plugin to support the newer mistune, or pin mistune to the older version. (#992)

    ๐Ÿ› Bugs

    Admin Server
    • ๐Ÿ”จ Refactor and fix numerous buglets in the admin http server. (#987)
    Admin Frontend
    • ๐Ÿ— Use esbuild rather than webpack/babel to build the admin js code. (#1012)
    • โšก๏ธ Update frontend deps. (#1025)
    ๐Ÿ— Builder
    • ๐Ÿ— The asseturl filter was not propery tracking build dependencies resulting in stale hashes in the asset URL if the asset was updated. (#1020)
    • ๐Ÿ›  Fixes for click==8.1.3. (#1031, #1033)
    • ๐Ÿ›  Fixes for werkzeug>=2.1.0. (#1019, #1018)
    • โšก๏ธ Update npm package minimist. (#1021)
    • โšก๏ธ Update pre-commit config to use black==22.3.0 to avoid breakage caused by click>=8.1.0. (#1019)
    • โšก๏ธ Updateto pylint=2.13.4. (#1025)

    ๐Ÿ”จ Refactorings

    • โœ‚ Removed unused cruft. (#1009)

    โœ… [mistune]: https://mistune.readthedocs.io/en/latest/