Download

Publii CMS v0.45.x: Enhancing Functionality with Google Consent Mode v2 and Improved Customization Features

We are excited to introduce the latest version of Publii CMS, version 0.45.x, marking another step forward in our commitment to providing an intuitive, powerful, and user-friendly content management system. This release includes new features, improvements, and bug fixes to enhance user experience, compliance, and website customization capabilities. Let's dive into the highlights of this update.Google Consent Mode v2 Integration

We've updated our cookie banner to support Google Consent Mode version 2. This is important if you use Google services like Google Analytics 4 or Google Ads, as complying with this update is mandatory by March 6, 2024.

This update helps ensure your website follows the latest privacy regulations while still allowing you to use valuable Google services.

Google Consent Mode v2 Integration

We've updated our cookie banner to support Google Consent Mode version 2. This is important if you use Google services like Google Analytics 4 or Google Ads, as complying with this update is mandatory by March 6, 2024.

This update helps ensure your website follows the latest privacy regulations while still allowing you to use valuable Google services.

Google Consent Mode v2

More detailed info on configuring and using Google Consent Mode v2 can be found in our user documentation. This guide will help you adjust your website settings to comply with privacy regulations while using Google's services. It explains the impact of these settings on your website's operation and user experience.

Experimental Support for IPv6 with FTP Library

Recognizing the shift towards IPv6, we've added experimental support for an alternative FTP library that supports IPv6 (Basic FTP). This enhancement aims to future-proof your website's backend processes, ensuring compatibility and efficiency in data transfer over the internet.

Experimental Support for IPv6

We highly recommend experimenting with this new functionality for those whose hosting services have already transitioned to or are using IPv6 for server addressing.

Enhanced Maintag Capabilities

Publii v0.45.x introduces support for listing main tags in a way similar to how regular tags are displayed, providing users with greater flexibility in navigation. Thanks to this, it is now possible to display a list of only main tags instead of all tags, which will be particularly useful in themes where we display a list for filtering posts by tags.

Enhanced Maintag Capabilities

Custom Field Ordering in Posts

We've added support for ordering by custom fields in posts through the {{getPostsByTags}} helper to offer more dynamic content display options.

Also, a new helper, {{getPostsByCustomFields}}, has been introduced to retrieve and order posts by the post custom fields, offering unparalleled customization in how content is organized and displayed.

For detailed instructions on how to implement and make the most of the getPostsByCustomFields helper and other advanced features, please refer to our documentation.

RSS Date Specification Option

Catering to diverse content update practices, we now allow specifying which date (creation or modification) is used in RSS feeds, providing more control over how your content updates are communicated to your audience.

RSS Date Specification Option

Improvements

We've made several improvements to enhance user experience and website functionality:

  • The default date for posts in RSS feeds has been changed to the creation date.
  • A new parameter in the {{date}} helper allows for specifying the date format language, enhancing localization.
  • Improved ordering capabilities with the {{orderby}} helper, including usage of localeCompare for better accuracy and the ability to specify the language used in the localeCompare function.
  • Support for the figcaption element in the Markdown editor
  • Additional notices regarding relative URLs for RSS/JSON feeds to ensure clarity and compliance.
  • Streamlining deployment messages by removing HTML for better readability
  • Removing unnecessary dependencies for a cleaner codebase.

Bug Fixes

This version addresses several critical bugs to ensure smoother operation:

  • Leveraged better-sqlite3 library to ensure smooth and reliable database operation, optimizing user experience on macOS & Windows.
  • Resolved incorrect date issues on websites using non-English languages for RSS/JSON-LD, guaranteeing accurate timestamps.
  • Fixed glitches causing unexpected "false" outputs in helpers like {{#checkIf}}, {{contains}}, and {{responsiveSrcSet}}, for reliable template behavior.
  • Eliminated unnecessary website refreshes triggered by cookie consent interactions.
  • Fixed slug generation errors for titles containing special characters, ensuring proper URL formation.
  • Enabled importing single posts from WXR files, simplifying content migration.
  • Corrected syntax rendering for <figure> elements in the Markdown editor, allowing for accurate content display.
  • Enhanced the functionality of "contains" and "notContains" operators in {{#checkIf}} helper for robust content condition checks.
  • Fixed the absence of post/tag/author options in dropdowns within the repeater field, improving content management workflow.
  • Resolved issues with custom CSS class application in the radio field, enabling better control over form appearance.
  • Ensured consistent author name representation in RSS and JSON feeds, maintaining accurate metadata.

Hotfixes

Publii Hotfix 0.45.1

  1. Removed symlink functionality due to causing significant issues with page preview generation.

Publii Hotfix 0.45.2

  1. Fixed an "undefined is not valid JSON" issue related to non-existing main tags (ref: Github Discussion)

Conclusion

Publii CMS v0.45.x represents our ongoing effort to evolve and adapt to the needs of our user community. By introducing new features like Google Consent Mode v2 support, enhancing customization through custom field ordering, and improving overall user experience with interface and functionality improvements, we aim to provide a more robust, compliant, and user-friendly platform. Your feedback is crucial in this journey, and we invite you to share your experiences, suggestions, and any issues you encounter via our community forum. Together, we will continue to refine and enhance Publii CMS to meet the dynamic needs of web content management.

Stay tuned for future updates, and thank you for your continued support and engagement with Publii CMS.

Download Publii

What are you waiting for?

Start building your site today.

  1. 1 Download Publii
  2. 2 Write your content
  3. 3 Publish your site
Create website