Apostrophe2 v3.16.0 Release Notes

Release Date: 2022-03-18 // about 2 years ago
  • โž• Adds

    • ๐Ÿ“š Offers a simple way to set a Cache-Control max-age for Apostrophe page and GET REST API responses for pieces and pages. See the documentation for more information.
    • โœ… API keys and bearer tokens "win" over session cookies when both are present. Since API keys and bearer tokens are explicitly added to the request at hand, it never makes sense to ignore them in favor of a cookie, which is implicit. This also simplifies automated testing.
    • โœ… data-apos-test="" selectors for certain elements frequently selected in QA tests, such as data-apos-test="adminBar".
    • Offer a simple way to set a Cache-Control max-age for Apostrophe page and GET REST API responses for pieces and pages.
    • ๐ŸŽ To speed up functional tests, an insecurePasswords option has been added to the login module. This option is deliberately named to discourage use for any purpose other than functional tests in which repeated password hashing would unduly limit performance. Normally password hashing is intentionally difficult to slow down brute force attacks, especially if a database is compromised.

    ๐Ÿ›  Fixes

    • POSTing a new child page with _targetId: '_home' now works properly in combination with _position: 'lastChild'.