Lektor v3.3.2 Release Notes
Release Date: 2022-03-01 // almost 3 years ago-
๐ Features
๐ป Command Line
- Enabled the [Jinja debug extension][jinja-dbg-ext] when the
LEKTOR_DEV
env var is set to 1 andlektor server
is used. (#984)
License
- The wording in the LICENSE file was standardized to that of the current BSD 3-Clause License. (#972)
๐ Bugs
Markdown Renderer
- ๐ Fix overzealous HTML-entity escaping of link and image attributes. (#989)
Admin API
- Fix a bug in
make_editor_session
when editing non-existant pages with a non-primary alt. (#964) - ๐ Fix the ability to add an initial flowblock to a page. (Broken in 3.3.1.)
- ๐จ Refactor API views to move business logic back into the
Tree
adapter (#967). This fixes #962.
๐ป Admin UI
- ๐ Changed the structure of the URLs used by the GUI single-page app (#976). This fixes problems with the "edit" pencil when using alternatives (#975), and issues when page ids include colons (#610).
- ๐จ Other React refactors and fixes (#988).
Database
- Fix
Attachment.url_path
when alternatives are in use. There is only one copy of each attachment emitted โ theurl_path
should always be that corresponding to the primary alternative. (#958) Pad.get
, if not passed an explicit value for thealt
parameter, now returns the record for the primary alternative rather than the fallback record. Similarly,Pad.root
now returns the root record for the primary alternative. (#958, #965)- ๐ Fix for uncaught
OSError(error=EINVAL)
on Windows whenPad.get
was called with a path containing characters which are not allowed in Windows filenames (e.g.<>*?|\/":
).
๐ Builder
- ๐ Pages now record a build dependency on their datamodel
.ini
file. - ๐ Fix sqlite version detection so that we use "without rowid" optimization with current versions of sqlite. (#1002)
๐ป Command Line
- When running
lektor dev new-theme
: fix check for ability to create symlinks under Windows. (#996) - Fix rsync publisher when deletion enabled on macOS. (#946, #954)
โ Tests
๐จ Refactorings
- Cleaned up
EditorSession
to split mapping methods (for access to record data) to a separate class, now available asEditorSession.data
. (#969)
โ Testing
๐ป Admin UI
- ๐ Move frontend source from
lektor/admin/static/
tofrontend/
. Compiled frontend code moved fromlektor/admin/static/gen/
to 'lektor/admin/static/`. (#1003)
Packaging
- Omit
example
subdirectory, frontend source code, developer-centric config files, as well as other assorted cruft from sdist. (#986)
โ [jinja-dbg-ext]: https://jinja.palletsprojects.com/en/latest/extensions/#debug-extension
- Enabled the [Jinja debug extension][jinja-dbg-ext] when the