Lektor v2.0 Release Notes

  • ๐Ÿš€ Released on 11th of April 2016

    • โž• Added _discoverable system field which controls if a page should show up in children. The default is that a page is discoverable. Setting it to False 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)