[ANN] Zotonic release 0.58.0

Marc Worrell marc@REDACTED
Mon Nov 9 10:58:07 CET 2020


Hi,

Zotonic is the Erlang based content management system and framework.

We have released Zotonic version 0.58.0.
This is a maintenance release.

Main changes are:

• {% image %} tags now have a width and height attribute, use the nowh option to suppress generation of the width and height attributes
• Fix for a problem where an ACL deny rule could restrict too much
• Support to store JSON in PostgreSQL
• Fix a problem with Twitter/Facebook/LinkedIn authentication and Safari 14
• Fix a problem where very large dates could give unexpected results
• Better TLS cipher suite selection for SSL connections
• Allow custom formatters to show an error on empty input values

To fix sites that break on the width/height attributes on image tags there is an option added to the zotonic.config file: media_tag_nowh
If the media_tag_nowh option is set to true then all {% image %} tags have the nowh option added. Effectively suppressing the generation of width and height attributes.
Note that this option is not available on the 1.x version and later of Zotonic.

If you have css like:

img {
    max-width: 100%;
}

Then add one line:

img {
    max-width: 100%;
    height: auto;
}

See the full release notes at http://docs.zotonic.com/en/latest/developer-guide/releasenotes/rel_0.58.0.html <http://docs.zotonic.com/en/latest/developer-guide/releasenotes/rel_0.58.0.html>

And download at: https://github.com/zotonic/zotonic/releases/tag/0.58.0 <https://github.com/zotonic/zotonic/releases/tag/0.58.0>

Cheers,

The Zotonic Core Team


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20201109/68949b10/attachment.htm>


More information about the erlang-questions mailing list