Releases: h-janes/flask-sitemapper
Flask Sitemapper 1.8.1
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
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
Supports Flask 3.0
Flask Sitemapper 1.6.2
Adds support for different lastmod, changefreq, and priority arguments per URL variable in dynamic routes. (Issue #9)
Flask Sitemapper 1.6.1
Fixes issue with dynamic routes defined before initialisation.
Flask Sitemapper 1.6.0
- 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
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
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
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
Replace setup.cfg with setup.py, improve documentation, use applicati…