Apostrophe 3.40.0: Fix all the things! #4054
BoDonkey
announced in
Release Notes
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Well Met, Apostrophiles!
Some cycles are about making all-new, shiny things and others are about making the tools we already have a little better. This cycle is one of the latter. A number of the existing packages had
apostrophe
as marked as a “peer dependency” inpackage.json
. We removed this because npm’s policy on peer dependencies has become too strict to be really useful. Instead, we’ll be noting any required upgrade ofapostrophe
in the changelog when updating other modules. But, keep in mind that you should always stay up to date with the coreapostrophe
module to get important bug fixes.You may have noticed lately that your Apostrophe project was a little noisier in the console, letting you know about shortcut conflicts when there weren't any. We squelched that message, and while we were under the hood, we freshened up the
select
andrange
schema fields. See the changelog below for more details.Moving forward into the next cycle we will be back to creating shiny new features! We plan on releasing per-document permissions and improvements to both inline arrays and the rich text editor. We also plan to begin work on the A3 onboarding tutorials for engineers. Reminder, you can have a voice on what is included - just give it a read here and then leave some feedback on our product roadmap.
Thanks for reading and helping us keep this vibrant community moving forward!
Apostrophe 3.40.0
Adds
APOS_BASE_URL
environment variable is now respected as an override of thebaseUrl
option.Fixes
def
attribute set to0
now. Thedef
property will be used when the field has no value provided; a value going over the max or below the min threshold still returnsnull
.select
fields now work properly when thevalue
of a choice is a boolean rather than a string or a number.Apostrophe 2.225.0
Adds
APOS_BASE_URL
environment variable as an override of the globalbaseUrl
option. Useful in devops.Apostrophe 3.x modules
@apostrophecms/seo
1.1.2Add useful meta fields to all pages and pieces.
Changed
apostrophe
as a peer dependency.@apostrophecms/login-totp
1.0.1This login verification module adds a TOTP (Time-based One-Time Password) check when any user logs into the site, compatible with Google Authenticator or any TOTP app.
When activated, it will ask unregistered users to add a token to their app through a QR code. Once done, it will ask users to enter the code provided by their app after the initial login step.
Changed
apostrophe
as a peer dependency.@apostrophecms/login-recaptcha
1.0.1This login verification module adds a reCAPTCHA check when any user logs into the site. It uses reCAPTCHA v3, which means that the test is invisible aside from a reCAPTCHA logo at the bottom of the screen.
Changed
apostrophe
as a peer dependency.@apostrophecms/login-hcaptcha
1.1.1This login verification module adds a hCaptcha check when any user logs into the site.
Changed
apostrophe
as a peer dependency.@apostrophecms/form
1.1.1Allow ApostropheCMS editors to build their own forms. They can then place any form in one or more content areas across the website.
Changed
apostrophe
as a peer dependency.@apostrophecms/passport-bridge
1.1.1apostrophe-passport
works together withpassport-google-oauth20
,passport-gitlab2
and similar passport strategy modules to let users log in to Apostrophe CMS sites via Google, Gitlab and other identity providers. This feature is often called federation or single sign-on.Fixed
retainAccessTokenInSession
from working properly. Note that this option can only work with Passport strategies that honor thepassReqToCallback: true
option (passed for you automatically). Strategies derived frompassport-oauth2
, such aspassport-github
and many others, support this and others may as well.@apostrophecms/blog
1.0.3This module bundle helps developers quickly add blog articles to Apostrophe 3 websites. It provides the blog post piece type (
@apostrophecms/blog
) as well as a special page type (@apostrophecms/blog-page
) for editors to create a blog.Fixed
future
filter when "both" choice is selected.Apostrophe 2.x modules
apostrophe-caches-redis
2.1.6This module enhances
apostrophe-caches
, the standard caching mechanism of Apostrophe, to use Redis rather than MongoDB.Fixes
removeBadIndexMigration
migration to not cause an error due to the lack of collections when using redis. Thanks to Felix.Changes
quit()
in place of the soon to be deprecatedremoveAllListeners()
anddestroy()
methods. Thanks to Felix.Utilities
sanitize-html
2.10.0This module provides a simple HTML sanitizer with a clear API.
Adds
tagAllowed()
helper function which takes a tag name and checks it againstoptions.allowedTags
and returnstrue
if the tag is allowed andfalse
if it is not.Fixes
disallowedTagMode
is set to any variant ofescape
-- just escape the disallowed tags that are present. This fixes issue #464. Thanks to Daniel Liebneruploadfs
1.21.0uploadfs
copies files to a web-accessible location and provides a consistent way to get the URLs that correspond to those files.uploadfs
can also resize, crop and autorotate uploaded images.uploadfs
includes S3-based, Azure-based, GCS-based and local filesystem-based backends and you may supply others.Changes
https
is now the default protocol for S3. As it is always supported and there are no uploadfs+S3 use cases wherehttp
is preferred this is not considered a bc break.Adds
webp
files, updates the package scripts to include "webp" to run the tests, and a webp test image (Note: one test commented out becausesharp
currently fails to reorient webp files). Thanks to Isaac Preston for this contribution.random-words
1.3.0random-words
generates random words for use as sample text. We use it to generate random blog posts when testing Apostrophe.Adds
seed
option. Thanks to Nathan Klingensmith.absolution
1.0.3absolution
accepts HTML and a base URL, and returns HTML with absolute URLs. Great for generating valid RSS feeds.Changes
using quotation marks that are compatible with the escaped values, e.g.
if the escaped values contain unescaped double-quotes, then we must
single-quote the attribute, and vice versa. Note that it is not the task
of
absolution
to verify that the escapes are valid overall, only todo no harm when transforming the document's URLs.
Beta Was this translation helpful? Give feedback.
All reactions