Skip to content

Releases: norm/flourish

0.10.3

29 Jul 06:01
17fa65e
Compare
Choose a tag to compare

0.10.3 - 29 Jul 2021

New

  • The preview server can now serve your custom 404 page.
  • Adds an option --max-invalidations to 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
    when generate.py is changed.

0.10.2

15 Jun 14:52
Compare
Choose a tag to compare

0.10.2 - 15 Jun 2021

  • Fix a bug in the redirects uploader that stopped upload working
    when there was a new file or redirect to upload

0.10.1

15 Jun 14:26
cf042d9
Compare
Choose a tag to compare

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

11 Jun 08:57
824abff
Compare
Choose a tag to compare

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

03 Jun 08:55
f3dce86
Compare
Choose a tag to compare

0.9.7 - 3 June 2021

New

  • Serve asset files (eg CSS, images, etc) from the source directory
    during live preview.
  • Raising self.DoNotGenerate in 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
    example flourish generate /2021/? was generating /2021/index.html but
    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

22 Apr 04:59
f749a94
Compare
Choose a tag to compare

0.9.6 - 22 April 2021

Bug fixes

  • Months and days in date-based path segments are treated as
    2-character segments, so now 4th June 2016 is generated
    as /2016/06/04 not /2016/6/4.

v0.9.5

07 Apr 05:13
dd2b50a
Compare
Choose a tag to compare

0.9.5 - 7 April 2021

New

  • Sources can now include CSV files, which contain multiple sources
    in one file.

Other changes

  • Timestamps in generated CSV files now match the expected input format.

v0.9.4

22 Mar 15:15
23cd4e4
Compare
Choose a tag to compare

Bug fixes

  • Three keys were enforced to exist in the _site.toml configuration
    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.toml is 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

03 Mar 16:35
66c0dce
Compare
Choose a tag to compare

New

  • Add --invalidate option to flourish upload that issues a CloudFront
    invalidation on the paths uploaded.

v0.9.2

22 Feb 17:28
283aca3
Compare
Choose a tag to compare

New

  • Add exclude_future filter to sources that will remove anything with
    a published date in the future
  • Add future setting to the _site.toml that, when set to true,
    removes anything with a published date in the future from appearing
    to any generator (easier than filtering future sources individually)
  • Add --exclude-future and --include-future arguments to the
    flourish generate command, that will override the setting in
    _site.toml if necessary.