Skip to content

Releases: h-janes/flask-sitemapper

Flask Sitemapper 1.8.1

12 Sep 19:31
Compare
Choose a tag to compare

Adds support for using a generator function for lastmod which returns a list of last mods, similar to generator functions for url variables in dynamic routes. Documentation to follow.

Full Changelog: 1.8.0...1.8.1

Flask Sitemapper 1.8.0

30 Mar 10:56
Compare
Choose a tag to compare

This release adds further support for dynamic routes, resolving issue #12

The url_variables argument can now be either a dict (as before) or a Callable which returns a dict. If a Callable is provided, this will be run on each call to sitemapper.generate() and will run inside the app content.

This allows for sitemaps to update while the site is live, for example adding a new user page if a new user signs up. See relevant documentation at https://github.com/h-janes/flask-sitemapper/wiki/Usage#dynamic-routes

Flask Sitemapper 1.7.0

19 Nov 08:32
e41f111
Compare
Choose a tag to compare

Supports Flask 3.0

Flask Sitemapper 1.6.2

09 Sep 09:24
Compare
Choose a tag to compare

Adds support for different lastmod, changefreq, and priority arguments per URL variable in dynamic routes. (Issue #9)

Flask Sitemapper 1.6.1

04 Jan 06:53
961a2b9
Compare
Choose a tag to compare

Fixes issue with dynamic routes defined before initialisation.

Flask Sitemapper 1.6.0

20 Dec 21:22
d49c338
Compare
Choose a tag to compare
  • Adds support for dynamic Flask routes (see wiki)
  • Now stores sitemap XML after the first request instead of generating it on each request
  • Tests have been improved
  • Documentation has been updated

Flask Sitemapper 1.5.1

28 Nov 21:01
6a15304
Compare
Choose a tag to compare

This release adds support for Python datetime objects (as well as strings) for the lastmod argument, moves documentation from README.md to the GitHub wiki, and adds project URLs to the package metadata.

Flask Sitemapper 1.5.0

26 Nov 22:36
Compare
Choose a tag to compare

Main Changes in This Version

  • Now fully supports apps using multiple domains, resolving issue #2
  • Uses pre-defined arguments instead of **kwargs for lastmod, changefreq, and priority.
  • Adds functionality to serve sitemaps with GZIP.
  • Improved code comments, docstrings, and spelling.
  • Improves and updates README.md

Flask Sitemapper 1.4.1

13 Nov 17:02
Compare
Choose a tag to compare

Main Changes in This Version

  • Refactors the project
  • Changes build system to Poetry
  • Adds tests
  • Improves README
  • Adds option to gzip sitemaps
  • Improves code comments
  • Adds documentation for developers/contributors

WARNING: From this version onwards, Flask Sitemapper requires Python >=3.7

Version 1.4.0 was deleted shortly after release due to an incorrectly named __init__.py which meant the version could not be imported properly. Checks will be more thorough and versioning will be more consistent from now on.

Flask Sitemapper 1.3.2

09 Nov 20:51
Compare
Choose a tag to compare
Replace setup.cfg with setup.py, improve documentation, use applicati…