- Added Python 3.12 and Django 5.0.
- Add coerce function for structured data properties. More flexible property setup.
4.5 (2023-11-13)
- Allow
type
andcontext
keywords and set defaults for JSON+LD structured data.
4.4 (2023-11-09)
- Added Django 4.2 to the CI; dropped 4.0 (3.2 is still there).
- Modernized the package, switched to hatch and ruff.
- Added experimental support for JSON+LD structured data.
4.3 (2022-08-02)
- Added the empty string to all fields as default value, hopefully making it easier to work with subclasses without going through forms etc.
- Added a system check verifying that the
opengraph
image format isn't removed by custom configuration. - Added Django 4.1rc1 to the CI.
- Added support for outputting arbitrary meta tags, not just the list of known tags.
4.2 (2022-03-03)
- Added a field for adding an alternative text to the OpenGraph image.
4.1 (2022-01-27)
- Renamed the default image spec for the
meta_image
fromrecommended
toopengraph
. This shouldn't affect your code except if you referenced the undocumentedrecommended
spec somewhere.
4.0 (2022-01-25)
- Switched to a declarative setup.
- Switched from Travis CI to GitHub actions.
- Changed the HTML generation to preserve single quotes etc. in Open Graph tags when it is safe to do so.
- Raised the minimum requirement to Python >= 3.8, Django >= 3.2.
- Added a unittest verifying that blank strings are skipped.
- Removed the strange whitespace between tags.
3.0 (2019-06-21)
- Reinstated the support for
og:site_name
which was lost in the rework leading to 2.0. - Added a django-imagefield dependency which allows us to provide OpenGraph images in the best format.
2.0 (2019-01-15)
- Reworked the internals of the utils module and made the API surface smaller.
- Added back support for the
og:image:width
andog:image:height
tags.
1.5 (2019-01-12)
- Changed the meta tags dictionary to also build absolute URIs when
calling
update()
after themeta_tags
helper returns. - Changed
meta_tags
to no longer produce a<meta name="description" content="">
tag if the description is empty. - Switched the preferred quote to
"
and started using black to automatically format Python code. - Removed the deprecated
meta_tags_html
function. - Added new fields for overriding the author and robots meta tags.
1.4 (2018-05-01)
- Added the possibility to override values from
META_TAGS
using an additionaldefaults
argument tometa_tags
. - Converted the tests to the same structure the other feincms3 packages use, added a tox-based test and style checks while doing that.
- Increased test coverage.
1.3 (2018-03-07)
- Made the return value of
meta_tags
a subclass ofdict
which renders meta tags as HTML. - Added a deprecation warning to
meta_tags_html
.
1.2 (2018-02-09)
- Added support for OpenGraph tags with colons (e.g.
image:width
andimage:height
). - Modified
meta_tags
(and by extension alsometa_tags_html
) to handle keyword arguments differently: Falsy values are discarded,None
causes the complete removal of the tag from the dictionary respectively from the HTML output. - Separated the HTML rendering into
format_meta_tags
to make it reusable.
1.1 (2017-05-03)
- Added more steps to the usage instructions.
- Converted the thing into a real package so that we can bundle
translations etc. This also means that import paths have changed. The
MetaMixin
has to be imported fromfeincms3_meta.models
,meta_tags
andmeta_tags_html
fromfeincms3_meta.utils
.
1.0 (2017-03-28)
- Initial release!