Flask-sitemapper

Latest version: v1.8.1

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

3.0

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**: https://github.com/h-janes/flask-sitemapper/compare/1.8.0...1.8.1

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

1.7.0

1.6.2

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

1.6.1

Fixes issue with dynamic routes defined before initialisation.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.