Lektor v2.0 Release Notes
-
๐ Released on 11th of April 2016
- โ Added
_discoverable
system field which controls if a page should show up inchildren
. The default is that a page is discoverable. Setting it toFalse
means in practical terms that someone needs to know the URL as all collection operations will not return it. - โ Added
for_page
function to pagination that returns the pagiantion for a specific page. - Make pagination next_page and prev_page be None on the edges.
- ๐ Allow plugins to provide publishers.
- โ Added
|markdown
filter. - โ Added French translations.
- ๐ Unicode filenames as final build artifacts are now explicitly disallowed.
- Serve up a 404.html as an error page in the dev server.
- ๐ Improvements to the path normalization and alt handling. This should support URL generation in more complex cases between alts now.
- ๐ Show a clearer error message when URL generation fails because a source object is virtual (does not have a path).
- Empty text is now still valid markdown.
- ๐ Lektor clean now loads the plugins as well.
- ๐ Basic support for type customization.
- Fields that are absent in a content file from an alternative are now pulled from the primary content file.
- ๐ฑ Development server now resolves index.html for assets as well.
- Markdown processing now correctly adjusts links relative to where the rendered output is rendered.
- โ Added Dutch translations.
- โ Added Record.get_siblings()
- Added various utilties: build_url, join_path, parse_path
- โ Added support for virtual paths and made pagination work with it.
- โ Added support for Query.distinct
- โ Add support for pagination url resolving on root URL.
- Server information can now also contain extra key/value pairs that can be used by publishers to affect the processing.
- The thumbnails will now always have the correct width and height set as an attribute.
- โ added datetime type
- โ added support for the process_image utility functions so that plugins can use it directly.
- ๐ฑ added support for included_assets and excluded_assets in the project file.
- โ added Spanish translations.
- โ added Japanese translations.
- โ added support for discovering existing alts of sources.
- โ added support for image cropping.
- โ added preliminary support for publishing on windows.
- ๐ง children and attachments can now have a hidden flag configured explicitly. Attachments will also no longer inherit the hidden flag of the parent record as that is not a sensible default.
- ๐ changed internal sqlite consistency mode to improve performance on HDDs.
- ๐ allow SVG files to be treated as images. This is something that does not work in all situations yet (in particular thumbnailing does not actually do anything for those)
- โ Added