These are all the changes in Lektor since the first public release.
- The
lektor.pluginsystem.Pluginbase class now provides sane defaults for thePlugin.nameandPlugin.descriptionattributes. (#1253)
- Fix
Query.include_hiddenso that it actually causes hidden records to be included. This fixes a long-standing bug. In edge-cases, this change may affect existing projects. (#1251, #1229) - Improve error message when CLI can not find project. Thank you, Antonia Cavallo! (#1257)
- Builder: update build db schema to use real flag to mark virtual sources, rather than relying on broken heuristics. Thank you, Patrick Gerken! (#1223)
- Use
importlib.metadata.entry_pointsto find installed plugins. This fixes some edge-case "plugin is already registered" errors. (#1253)
- Modernize build script, use node-native test runner. (#1259)
- Use
npm install --no-saveduring package build to avoid dirtying git source (#1254) - Dependency bumps. (#1256, #1263, #1264, #1265, #1266)
- Disuse codecov.io for aggregation of code coverage. Add combined coverage reporting CI job. ([#1192])
- Dropped support for python 3.8 and 3.9. Test under 3.13 and 3.14.
- Fix ghpages publisher for git 2.46 (d5e87d9)
- Fix file mode of created files (#1214)
- Fix bug in url generation (#1080)
- Fix database connection leak (#1242)
- Fix to support
marshmallow 4(#1222) - Various npm package updates in frontend code, including update to react 19.
- Fix route declaration for the
add-childendpoint. (Thanks to @mjoerg #1184)
Prior to this release it was possible to create files outside of the
content tree using the admin API. (Normally, the admin API should not
be made accessible to untrusted parties, since the point of the API to
to allow for editing of the Lektor project content.)
- Better sanitation of DB file paths, better validation of path passed
to
make_editor_session. (#1179) - Better validation of API parameters. (#1181)
- Fix
"re.error: bad escape \u"exception. (#1177)
- Drop support for python 3.7. (#1173)
- Officially support python 3.12. (#1167)
- Remove pin on
werkzeug<3. (#1172, #1171)
This release includes a significant continuation of refactoring of the
code in lektor.imagetools which started in #1104:
-
We now use Pillow to access image file metadata (e.g. dimensions, format, and EXIF tags). This replaces some homegrown code for reading basic image metadata and
exifreadfor EXIF tag access. -
Some internal API has been cleaned up.
-
Compatibility with various versions of Pillow has been increased.
See #1138 for details.
- Removed
--no-reloadoption to thelektor servercommand. This was added in 3.4.0b4 as part of #1027 and seems no longer necessary since now live-reload can be disabled on a per-window bases (see #1164).
- Replace the “Edit Pencil” with a toolbar containing both an Edit button and a toggle that can be used to disable Live-reload. (#1164)
- Use a real link (
<a href=...) for the "Return to Website" button. (#1164)
- Fix
bag()to object the pad fromsitein the Jinja context, rath 402E er than from the Lektor build context. (#1155)
- Use symlinks when constructing Lektor's private virtual environment. This fixes issues install plugins on macOS. (#1161, #1159)
- Update prettier, update eslint rules. (#1153)
- Update to latest pylint, black, flake8. Use flake8-bugbear. (#1162)
- Update npm locks, upgrade esbuild, update tests to React 18 APIs. (#1170)
- Apply
pyupgrade --py38-plusto code base (#1174)
- When there are multiple asset trees being merged (i.e. when themes are in use), avoid building shadowed assets. (#908, #1147)
- Fix asset URL resolution in the dev server when asset extensions differ from that of their source. (#1111, #1147)
- The
--profileoption has been removed from thelektor buildcommand. (#1137)
- Pin
watchfiles>=0.12. (Our tests use thestop_eventparameter ofwatchfiles.watch.) - Fix exception from
describe_build_funcwhen building thumbnails with verbose logging enabled. - Fix "FATAL: exception not re-thrown" message when
lektor serveris stopped. (#1145) - Fix multiple browser new tabs when
lektor server --browseis used withLEKTOR_DEVset (#1145) - Fix mypy errors in
lektor.admin.modules. - Fix
Builder.touch_site_configso that it actually touches the site config. This fixes the Refresh Build button of the admin UI. (#1146) - Ensure that
Artifact.openrespects the value of itsencodingargument when opening files. (#1146) - Fix logic flaw in
FileInfo.unchangedwhich, under certain circumstances, causes source files to be considered unchanged even if their size (or mtime) is changed. (#1146)
-
Our Publisher API has changed. This will eventually require updates to any custom Publisher classes provided by Lektor plugins. Previously, the
publishmethod ofPublishersubclasses was passed awerkzeug.urls.URLinstance as itstarget_urlargument. Werkzeug has deprecated theURLclass, so now thetarget_urlwill be passed as a string. (The publishers are now responsible for was parsing the target URL themselves.) For the interim, in an effort to avoid immediately breaking existing plugins, we pass a fancy subclass ofstrthat implements most of the attributes and methods ofwerkzeug.urls.URL. (#1143, #1142) -
Interpret relative paths passed via the
--output-pathcommand-line parameter relative to the current working directory. Interpret relative paths configured foroutput_pathin the project file relative to the directory containing the project file (as the docs claim should happen). Previously, both paths were interpreted — incorrectly, in both cases — relative to the project directory. (#1103, #1120) -
The
queryattribute of fields of type"url"now returns the IRI-encoded (internationalized) version of the URL query. (This matches the existing behavior of thehost,path, andanchorattributes.) (#1143)
- The (unused)
lektor.db.Pad.make_absolute_urlmethod is deprecated. (#1143)
-
We now use Pillow (instead of ImageMagick) to generate image thumbnails. Installation of ImageMagick was a significant pain-point for some. In addition the Pillow-based thumbnailing code appears to be noticeably faster than the ImageMagick version. (#1104)
-
A Preferences Dialog has been added to the admin GUI that allows customization of which hotkeys trigger the Save, Edit, (Save &) Preview, and Search actions. (#1052)
-
Re-export
ImprovedRenderer,MarkdownConfig, andescapefromlektor.markdown. These were removed in #992 when support for mistune 2.x was added. Restoring them allows most older plugins written for Lektor<3.4 to work, so long as mistune is pinned to version 0.x. (#1134) -
Better input validation and error reporting for the
dateformat,timeformatanddatetimeformatjinja filters. Previously, these filters did not handle unexpected input types gracefully. (#1122, #1121) -
Allow the user to customize the python warnings filter when running the CLI. Previously, Lektor unconditionally set the warnings filter to
"default"(enabling one-shot display of all warning types.) Now, if the warnings filter has been explicitly set (via PYTHONWARNINGS or -W) it is left alone. (e2d0274) -
DB-path URL resolution of relative paths from virtual source objects. (#1133)
-
Relative URL-path resolution from pages with "." in their slug. (#1133)
-
Avoid the use of
warnings.catch_warningswhich was introduced in #1113. Its use resets the warnings registry resulting in undesired repetition of seen warnings. ([#1135]).
- Update frontend npm dependencies. (#1126)
-
Use watchfiles instead of
watchdogwhen monitoring for file changes. (#1136) -
Optimization: Thumbnail file names are now generated based on the final thumbnail parameters (e.g. their actual dimensions, rather than their requested dimensions.) This minimizes the possibility of generating multiple identical thumbnails with different file names. (#1139)
-
Tighten click constraints on Path parameters. This results in better and earlier error messages when, e.g., a readable file is expected, but a path to a directory is passed. (#1124)
-
We reduced the size of our distribution wheel and sdist files by roughly factor of two by omitting all but the
.woff2variants of the fonts for the frontend, and by excluding sourcesContent from the JS and CSS sourcemaps. (#1130, #1115)
-
Removed the
lektor dev publish-plugincommand. (To publish a plugin to PyPI, use [twine].) (#1065) -
Removed
SourceObject.iter_virtual_sources()from our API. (#1106) -
Removed support for
config["LESSC_EXECUTABLE"]. (There is no sign that it has ever been used.) (edb35f9) -
Removed support for
BuildState.make_named_temporarymethod. It has been totally broken for awhile — so clearly it is not used.
Also remove context manager protocol support fromBuildState— it was only there to supportBuildState.make_named_temporary. (6f11bad)
-
Fix several issues involving the installation of local plugin packages. We now install plugins into a bone fide virtual environment, rather than using pip’s
--targetparameter. (#1065, #1028, #865) -
Fix template
markdownfilter (broken in #992). (#1102 #1100) -
Fix dependency tracking to record the
altof virtual sources as well as theirpath. (#1108, #1007, #959) -
Fix equality semantics for
RecordandVirtualSourceObject. These are now considered “equal” only if their path (including page number, in the case of pages), alt, and pad all match. Previously (for the most part) only path (without page number) was being checked inRecord.__eq__. (#1105, #1101)
-
Implement our own
@deprecateddecorator, used to mark functions and methods as being deprecated. Remove dependency ondeprecatedpackage. (#1113) -
Remove (direct) dependency on pytz. Since the inclusion of the
zoneinfomodule in Python>=3.9 (see PEP 615),pytzis no long necessary. Recent releases of Babel will work with eitherpytzorzoneinfo(depending on what is available) — now we will, too. ([#1110])
- Deprecate the
Record.contentsproperty and the use of thelektor.filecontents.FileContentsclass. These are unused by Lektor itself. While they are in use by at least one other project (see #1026), the semantics of the.contentsproperty is quite unclear when alts are in use. (#1114)
- Use hatchling as our PEP 517 build engine. Among other things, this allows
for installing Lektor directly from a git repository — so long as
npmis installed locally, installing, usingpipfrom the git repo will now build the frontend JS and CSS, thus resulting in a working installation of Lektor. (#1112, #1081)
-
Require
tox >= 4.1. -
Disuse
pytest-cov— just runcoveragedirectly.
-
Audit and adjust metadata to ensure that we declare all direct dependencies. (26e700e)
-
Update frontend npm dependencies.
-
Fix tox config for tox 4.*.
Test under python 3.11. (#1084)
- Add live-reloading of pages when they are rebuilt. (#1027)
PluginController.emitwould, under certain circumstances, silently ignoreTypeErrors thrown by plugin hook methods. (#1086, #1085)
- When configuring
mistuneplugins (from a Lektor plugin), allow for specifying third-party plugins as a a string in the format"<module.name>:attr". (Plugins which are listed in themistune.PLUGINSmap may be listed by their key.) (#1074)
- Remove support for the
--build-flagoption tolektor buildandlektor server. (#1062)
- Fix spelling of
typing-inspectin dependencies. (#1058, continued)
- When using
mistune>=2, enable theurl,strikethrough,footnotes, andtableplugins for feature parity withmistune==0.*. (#1074)
- Fix Admin UI tracking of navigation to URLs with anchors or query strings in the preview view. (#1053)
- We now test under
node-current(currently node 18) andnode-lts/*(16). Previously we were testing under node 14 and 16. (#1064)
- Disuse
pkg_resourcesin favor ofimportlib.metadata. (#1061, #1073) - Update frontend dependencies, including upgrade to React version 18. (#1063)
- Remove pin on transitive dependency
typing-inspect.
- Clean up package to remove a bit of cruft from the sdist. (#1066)
- Pin
typing-inspectto prevent breakage ofmarshmallow_dataclass. (#1058, lovasoa/marshmallow_dataclass#207)
This release drops support for Python 3.6, which has reached end-of-life in December 2021.
- The save hotkey (
<ctl>-s) now always switches to the preview view. Previously, the save hotkey was disabled unless there were changes to be saved. (#1022) - Boolean checkboxes can now be reverted to the "unset" state by
typing Delete or Backspace into them. This is pertinent, e.g.,
for the
_hiddenfield, where unset mean something different (inherit from parent) than eitherfalseortrue. (#1048) - Add ability to resize textareas. (#1050)
- 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)
- Add support for specifying which branch to push to by specifying a
branchquery param on the target URL. (#978, #995) - Add support for force-pushing orphan commits by adding a
preserve_history=noquery param to the target URL. (#995)
- The
cropparameter of theImage.thumbnail()method (long since deprecated) has been removed. (#551, #960) - Implicit thumbnail upscaling has been disabled. (#551, #960)
- Refactor and fix numerous buglets in the admin http server. (#987)
- Fix 404 error for
/admin. (#1043, #1044) - Fix URL resolution to hidden pages. (#1048)
- Use esbuild rather than webpack/babel to build the admin js code. (#1012)
- Update frontend deps. (#1025)
- Make
size = {small|large}field option work again. (#1022) - Handle hotkeys when the preview iframe has the focus. (#1022)
- Fix for spurious page scrolling when typing in textareas. (#1, #1038, #1050)
- The
asseturlfilter was not properly tracking build dependencies resulting in stale hashes in the asset URL if the asset was updated. (#1020) - Fix so that un-hidden children of hidden parents are built. Fix pruning logic so that artifacts corresponding to hidden pages are pruned. (#203, #1048)
- Fixes for
click==8.1.3. (#1031, #1033) - Fixes for
werkzeug>=2.2.0. (#1019, #1018, #1051) - Update npm package minimist. (#1021)
- Remove dependency on the
requests[security]extra. (#1036) - Remove
build-system.requiresdependencies onwheel, and thesetuptools_scm[toml]extra. (#1036)
- Update pre-commit config to use
black==22.3.0to avoid breakage caused byclick>=8.1.0. (#1019) - Update to
pylint=2.13.4. (#1025)
- Declare explicit dependencies on
MarkupSafeandpytz, where were transitively implied but are imported directly by Lektor code. (#1036)
- Removed unused cruft. (#1009)
- Enabled the Jinja debug extension when the
LEKTOR_DEVenv var is set to 1 andlektor serveris used. (#984)
- The wording in the LICENSE file was standardized to that of the current BSD 3-Clause License. (#972)
- Fix overzealous HTML-entity escaping of link and image attributes. (#989)
- Fix a bug in
make_editor_sessionwhen editing non-existent 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
Treeadapter (#967). This fixes #962.
- 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).
- Fix
Attachment.url_pathwhen alternatives are in use. There is only one copy of each attachment emitted — theurl_pathshould always be that corresponding to the primary alternative. (#958) Pad.get, if not passed an explicit value for thealtparameter, now returns the record for the primary alternative rather than the fallback record. Similarly,Pad.rootnow returns the root record for the primary alternative. (#958, #965)- Fix for uncaught
OSError(error=EINVAL)on Windows whenPad.getwas called with a path containing characters which are not allowed in Windows filenames (e.g.<>*?|\/":).
- Pages now record a build dependency on their datamodel
.inifile. - Fix sqlite version detection so that we use "without rowid" optimization with current versions of sqlite. (#1002)
- 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)
- Cleaned up
EditorSessionto split mapping methods (for access to record data) to a separate class, now available asEditorSession.data. (#969)
- Move frontend source from
lektor/admin/static/tofrontend/. Compiled frontend code moved fromlektor/admin/static/gen/to 'lektor/admin/static/`. (#1003)
- Omit
examplesubdirectory, frontend source code, developer-centric config files, as well as other assorted cruft from sdist. (#986)
- Fixed an import cycle which caused in
ImportErroriflektor.typeswas imported beforelektor.environment. #974
- Disuse deprecated
Thread.setDaemon(). #979
- Fix spastic scroll behavior when editing flow elements. #640
- Fix admin GUI when page contains an unknown flowblock type. #968
- Fix admin GUI layout on mobile devices. #981
- Increased timeout in
test_watcher.IterateInThreadto prevent random spurious failures during CI testing. - Fix
tests/test_prev_next_sibling.pyso as to allow running multiple test runs in parallel. - Use per-testenv coverage files to prevent contention when running
tox --parallel. - Mark tests that require a working internet connections with pytest mark
requiresinternet. #983
- Finish rewriting React class-based components to function-based components. #977
- Finish adding types for all API endpoints. #980
- Remove disused event-source polyfill.
This release drops support for versions of Python before 3.6. In particular, Python 2.7 is no longer supported.
Quite a few bugs have been fixed since the previous release.
The Admin UI has seen a major refactor and various performance optimisations. It has been rewritten in Typescript, and updated to use v5 of the Bootstrap CSS framework.
- Fix queries with offset but without a limit. #827
- Fix the handling of deferred (descriptor-type) model fields when used in
slug_formatand when used as a sort key. #789 - Refrain from issuing warning about future change in implicit image upscaling behavior in cases that do not involve upscaling. #885
- Fix bug with translation fallback of record label. #897
- Fixed pagination issue which caused child-less paginated pages to not be built. #952
- Allow rsync deployment to a local path. #830
- Clean up subprocess handling in
lektor.publisher. This fixes "ResourceWarning: unclosed file" warnings which were being emitted when using the rsync publisher, as well as possible other buglets. #896
- Fix circular imports in
lektor.clito allow its use as an executable module (python -m lektor.cli). #682, #856 - Fall back to
watchdogPollingObserverif defaultObservertype fails to start. This fixes "OSError: inotify watch limit reached" and perhaps other similar failures. #861, #886
- Fix the
Plugin.emitmethod so that it works. #859 - Reword the (previously incomprehensible) exception message emitted when attempting to load a plugin from an improperly named distribution. #875, #879
- Fix the checkboxes widget. They were broken so as to be uncheckable. #812, #817
- Fix page data being incorrectly marked as changed when flow block is expanded/collapsed in the edit UI. #828, #842
- Fix encoding of URLs when opening the admin UI from the pencil button. #815, #837
- Rename a CSS class in the admin UI to prevent breakage by ad blockers.
The class
add-blockwas being blocked by the EasyList FR ad blocker. #785, #841 - Relax URL checking to allow all valid URLs in URL fields. #793, #840, #864
- Preview iframe was not always updating when it should. #844, #846
- Make the "Save" button always visible (without need to scroll on long pages). #43, #870
- Disable the "Save" button unless there are changes. #872
- Add "<ctl>-e" hotkey shortcut to edit page. #876
- Update UI to Bootstrap v4. (This fixes a layout issue with the date picker.) #648, #884
- Fix edit page failure for select and checkbox widgets with no choices. #890, #900
- Update UI to Bootstrap v5. #917, #926
- Add missing translation strings, show error dialogs on top of other dialogs #934.
- Drop python 2 compatibility. #822, #850, #871, #920, #922
- Drop python 3.5 compatibility. #878, #880
- Support python 3.10. #938
- Switch to PEP-518-compatible (pyproject.toml) build process. #933, #942
- Code beautification/reformatting. We now use black, reorder-python-imports, flake8, and pylint. #823, #916, #925, #936
- Refactor rsync publisher tests. #836
- Restructure code to prevent circular imports. #856, #871, #873
- Minor docstring fixes. #874
- Enabled pylint's no-self-use policy. #887
- We now require node >= 14. #940
- Update NPM/JS dependencies. Update to webpack v5. #816, #834, #848, #852, #860, #905, #917, #926, #945, #957
- Use prettier and eslint for JS (and YAML) beautification and style enforcement. #825, #936
- Disuse unmaintained
jsdomifyto prevent hanging tests. #839 - Disuse jQuery. #851
- Convert JS code to Typescript. Various other refactoring and cleanups. #857, #869, #872
- Refactor code to handle hotkeys. #876
- Relax
werkzeug<1towerkzeug<3. #829, #833, #911, #923 - Drop support for Python 2. #818, #819
- We now require
Jinja2>=3.0. #921
- Use
toxfor local testing. #824 - Pin version of
pylintused for tests. #891 - Complete rewrite of the tests for
lektor.pluginsystemto increase coverage and reduce running time. #881. - Test under Python 3.9. #845
- Test under Node v14 and v16. #852, #927
- Do not run
brew updatein MacOS CI workflow. #853 - CI workflow simplification. #927
- Restore python 2.7 compatibility. It was broken in Lektor 3.2.2. #951
- Pin inifile>=0.4.1 to support python 3.10 #943, #953
- Fixes a problem with the uploaded wheel in 3.2.1.
- Fixes to support werkzeug 2.x. #911
- Allow rsync deployment to a local path. #830, #836
- Fix queries with offset but without a limit. #827
- Fix select and checkboxes widgets when choices is empty. #900
- Update npm packages. #848, #834, #816
- Fix updating of the preview iframe. #846
- Allow
ftps:andmailto:URLs in url fields. #840 - Fix the toggling of flow widgets in the admin UI to not mark the content as changed. #842
- Rename CSS class to prevent conflict with EasyList FR adblock list. #841
- Fix the handling of the URLs when opening the admin UI from the pencil button. #837
- Fix the checkboxes widget in the admin UI. #817
Code Reformatting
- Blackify, reorder-python-imports, flake8. #823
- Reformatted js code with prettier. #825
- Update pylint config. #822
Release date 20th of August, 2020
- Fix off-by-one error in pagination's iter_pages in the interpretation of the right_current argument, and adding an appropriate trailing
Nonefor some uses. - Add support for setting an output_path in the project file.
- Replaced the slugify backend to handle unicode more effectively. This may break some slugs built from unicode.
- Several modernization and performance improvements to the admin UI
- Improved speed of source info updates.
- Set colorspace to sRGB for thumbnails.
- Now stripping profiles and comments from thumbnails.
- Added support for deleting and excluding files for the rsync deployment publisher.
- Improved speed of flow rendering in the admin UI.
- Bugfix to correctly calculate relative urls from slugs that contain dots.
- Bugfix to allow negative integers in integer fields in the admin UI.
- Improved image-heavy build speeds by reducing the amount of data extracted from EXIFs.
- Added the ability to collapse flow elements in the admin UI.
- Now
extra_flagsis passed to all plugin events. - Extra flags can now be passed to the
cleananddev shellCLI commands. - Bugfix where
lektor plugins reinstalltriggeredon_setup_envinstead of just reinstalling plugins. - Added the ability to generate video thumbnails with ffmpeg.
- Added
modeandupscalethumbnail arguments, changing the preferred method to crop to usingmode.modecan becrop,fit, orstretch.upscale=Falsecan now prevent upscaling. - Added a new CLI command
lektor dev new-theme. - Made admin use full UTF-8 version of RobotoSlab. Fixes missing glyphs for some languages
- Bumped minimum Jinja2 version to 2.11
- Bumped filetype dependency to 1.0.7 because of API changes
- Relative urls are now as short as possible.
- Changed default slug creation to use slugify. This should mean greater language support, but this may produce slightly different results than before for some users
- Automatically include setup.cfg configured for universal wheels when creating plugins
Release date 26th of January, 2019
- Release with universal build.
Release date 7th of September 2018
- Fix pagination and virtual pathing for alts
- Fixing deploy from local server in Python 3
- Now passing server_info to publisher from local server, providing better support for plugin provided publishers.
- Added a more full-featured example project.
- Adding Jinja2
doextension. - Better new-plugin command.
- More tests.
- Added the ability to sort child pages in admin according to models.
- Better image handling and info detection for JPGs and SVGs
- Lektor can now be ran with
python -m lektor - New plugins now come with a more full featured setup.py
Release date 18th of April 2018
- Better Image dimension detection.
- Fix backwards compatibility with thumbnail generation.
- Adding safety check when running new build in non-empty dir since that could delete data.
- Adding command aliases.
Release date 29th of January 2018.
- Adding ability to use Lektor Themes.
- Adding Markdown event hook between instantiating the Renderer and creating the Markdown Processor
- Improving tests for GitHub deployment.
- Added the ability to use IPython in the lektor dev shell if it's available.
- Added ability to publish from different filesystems.
- Adding new option to turn disable editing fields on alternatives.
- Added automated testing for Windows.
- Expanded automated testing environments to Python 2.7, 3.5, 3.6, & Node 6, 7, 8.
- Windows bugfixes.
- Improved exif image data.
- Improved date handling in admin.
- Make GitHub Pages branch detection case insensitive.
- Set sqlite isolation to autocommit.
- Fixed errors in the example project.
- Enabling pylint and standard.js.
- Improved image rotation.
- Now measuring tests and pull requests with code coverage.
- Thumbnails can now have a defined quality.
- Moved Windows cache to local appdata.
- README tweaks.
- Better translations.
- Better file tracking in watcher.
- Upgraded many node dependencies.
- Upgraded from ES5 to ES6.
- Added mp4 attachment type.
- Bugfixes for Python 3.
Released on 13th of June 2017.
- Bugfixes and improved Python 2 / 3 compatibility
Released on 15th of July 2016.
- Switch to newer mistune (markdown parser).
- Rename
--build-flagsto--extra-flags, allow the deploy command to also accept extra flags.
Released on 7th of July 2016.
- Resolved an issue with unicode errors being caused by the quickstart.
Released on 31st of May 2016
- Fixed an issue with
get_altsnot being available in the template environment.
Released on 12th of April 2016
- Corrected an issue where certain translations would not make the admin panel load.
Released on 12th of April 2016
- Fixed a code signing issue on OS X 10.10.3 and lower.
Released on 11th of April 2016
- Added
_discoverablesystem field which controls if a page should show up inchildren. The default is that a page is discoverable. Setting it toFalsemeans in practical terms that someone needs to know the URL as all collection operations will not return it. - Added
for_pagefunction to pagination that returns the pagination for a specific page. - Make pagination next_page and prev_page be None on the edges.
- Allow plugins to provide publishers.
- Added
|markdownfilter. - 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 utilities: 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)
Released on 3rd of February 2016
- Bugfix release primarily for OS X which fixes a code signing issue.
Released on 1st of February 2016
- Fixed an error that caused unicode characters in the project name to be mishandled in the quickstart.
- Do not create empty folders when the quickstart skips over files.
- Empty values for the slug field now pull in the default.
- Corrected a bug in hashing in the FTP publisher that could cause files to not upload correctly.
- Improved error message for when imagemagick cannot be found.
- Fixed scrolling in the admin for firefox and some other browsers.
- Fixed a problem with deleting large projects due to sqlite limitations.
- Fixed admin preview of root page in firefox.
- Changed FTPS data channel to use TLS.
Released on 27th of December 2015
- Fixed a bug where resolving URL paths outside of alts did not fall back to asset resolving.
- verbose mode now correctly displays traceback of build failures.
- Fixed a bug that caused build failures not to be remembered.
- Fixed a bad EXIF attribute (longitude was misspelled)
- Use requests for URL fetching instead of urllib. This should fix some SSL errors on some Python versions.
- Parent of page now correctly resolves to the right alt.
- Publish from a temporary folder on the same device which solves
problems on machines with
/tmpon a different drive.
Released on 21st of December 2015
- Improved ghpages and rsync deployments.
- Implemented options for default URL styles.
- All artifacts now depend on the project file.
- Fixed an issue with renames from tempfile in the quickstart.
Initial test release. Release date 19th of December 2015