Releases: norm/flourish
Releases · norm/flourish
0.10.3
0.10.3 - 29 Jul 2021
New
- The preview server can now serve your custom 404 page.
- Adds an option
--max-invalidationsto control how many paths to
invalidate in CloudFront when uploading. Too many paths will end up being
charged. A large site being entirely rebuilt repeatedly can cost more in
invalidation charges than it would in the edge recaching content from S3.
Defaults to 100 paths. If this is set too low and a lot of paths need to
be invalidated, the entire site will be invalidated (/*).
Other changes
- Turn on the Flask debugger in the live preview server. This provides more
information when the page fails to generate, and means automatic reloading
whengenerate.pyis changed.
0.10.2
0.10.1
0.10.1 - 15 Jun 2021
New
-
Permanent (301) redirects from an old slug to a new location can be kept
in the_site.toml:[permanent_redirects] "/index.php" = "/"and in an individual source:
previous_slug = ['/page']
Bug fixes
- Stop reusing previously generated files in the live preview.
- Use backwards-compatible importlib_resources for older pythons, and
test that part of the code.
0.10.0
0.10.0 - 11 Jun 2021
Improvements to the blueprint (previously called "recipe") page.
New
- Live preview adds a permanent icon in the top-right that can be used
to toggle back and forth between rendered page and blueprint. - In the blueprint:
- Edit/create/delete Sectile fragments directly in page.
- List the full Sectile fragments search path.
Bug fixes
- In the blueprint:
- show all Sectile dimensions, not just the ones that are set
- pretty print the context data
0.9.7
0.9.7 - 3 June 2021
New
- Serve asset files (eg CSS, images, etc) from the source directory
during live preview. - Raising
self.DoNotGeneratein a generator will stop the current
page from being generated, without causing any errors.
Other changes
- Allow overriding an Atom feed's author and title values.
Bug fixes
- Fix wildcard generation of URLs. Some patterns were not matching, for
exampleflourish generate /2021/?was generating/2021/index.htmlbut
not/2021/04/21/index.html, or any source with a slug starting
/2021/.... - Stop live preview caching sectile-generated templates, which invalidated
the point of being able to live preview changes as they are made. - An Atom feed without entries will still generate now.
0.9.6
v0.9.5
v0.9.4
Bug fixes
- Three keys were enforced to exist in the
_site.tomlconfiguration
which were used by the Atom generator, even if no Atom feeds were
going to be generated. These requirements have been moved to the
Atom generator, and the_site.tomlis now optional. - Made some runtime errors in the command-line just use the error string
without a full stacktrace, as the stacktrace adds no useful information.
v0.9.3
v0.9.2
New
- Add
exclude_futurefilter to sources that will remove anything with
apublisheddate in the future - Add
futuresetting to the_site.tomlthat, when set to true,
removes anything with apublisheddate in the future from appearing
to any generator (easier than filtering future sources individually) - Add
--exclude-futureand--include-futurearguments to the
flourish generatecommand, that will override the setting in
_site.tomlif necessary.