Apostrophe 3.39.0 Rich text and image widget improvements, increased log-in options, and fixes #4031
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
-
Hola Apostrophe Universe!
This cycle brought a lot of love for the Apostrophe core widgets. In part, these changes were made to facilitate the update of some A2 sites to A3, but we all get to enjoy the results! Editors can now add tables and inline images from the rich text widget toolbar. Look for UI/UX improvements to these features soon. Thanks to community member Waldemar Pankatz, the image widget now allows you to add a
loading
attribute to your images - although for the moment, your mileage may vary (looking at you Safari). Check out the changelog below for more juicy details.The
@apostrophecms/passport-bridge
module has been updated to add an option for retaining an access token for use in making API calls. Pretty handy if you are already authorizing log-in to the site with single sign-on!Moving forward, we are working to get the Apostrophe core updated to deal with the Node.js end-of-life deadlines coming up and adding a range of improvements. Did you know that you can easily vote on what we work on next? Just point your favorite browser at our roadmap and make some suggestions or upvote suggestions made by others!
And now, for a little fun, here's a joke to lighten up your day:
Question: Why did the JavaScript programmer cross the road?
Answer: To get to the other side, where the API documentation was generated by ChatGPT! (Written by ChatGPT, who is apparently coming for DevRel jobs first - oh dear.)
Apostrophe 3.39.0
Adds
table
to the rich text toolbar. Enablingtable
allows you to create tables, includingtd
andth
tags, with the ability to merge and split cells. For now the table editing UI is basic, all of the functionality is there but we plan to add more conveniences for easy table editing soon. See the "Table" dropdown for actions that are permitted based on the current selection.superscript
andsubscript
may now be added to the rich text widget'stoolbar
option.image
to the rich text toolbar. This feature works reliably, however the UI is not mature yet. In particular you must search for images by typing part of the title. We will support a proper "browse" experience here soon. For good results you should also configure theimageStyles
option. You will also want to style thefigure
tags produced. See the documentation for more information.div
tags in the rich text toolbar, if you choose to include them instyles
. This is often necessary for A2 content migration and can potentially be useful in new work when combined with aclass
if there is no suitable semantic block tag.@apostrophecms/attachment:download-all --to=folder
command line task is useful to download all of your attachments from an uploadfs backend other than local storage, especially if you do not have a more powerful "sync" utility for that particular storage backend.loadingType
option can now be set forimage-widget
when configuring anarea
field. This sets theloading
attribute of theimg
tag, which can be used to enable lazy loading in most browsers. Thanks to Waldemar Pankratz for this contribution.image-widget
module:loadingType
andsize
. These act as fallbacks for the same options at the area level. Thanks to Waldemar Pankratz for this contribution.Fixes
@apostrophecms/attachment:rescale
task. Thanks to Waldemar Pankratz for this contribution as well.Apostrophe 2.224.0
Adds
redirectFailedUpperCaseUrls: false
inapostrophe-pages/index.js
options.Apostrophe 3.x modules
@apostrophecms/blog
1.0.2This 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.
Fixes
@apostrophecms/passport-bridge
1.1.0apostrophe-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.Changes
retainAccessTokenInSession
option totrue
retains theaccessToken
andrefreshToken
provided by passport inreq.session.accessToken
andreq.session.refreshToken
. Depending on your oauth authentication scope, this makes it possible to carry out API calls on the user's behalf when authenticating with github, gmail, etc. If you need to refresh the access token, you might try the passport-oauth2-refresh module.@apostrophecms/redirect
1.2.1This module allows editors to easily add redirects for incoming queries.
Fixes
Enterprise modules
@apostrophecms/palette
3.1.1This module provides an in-context interface for changing the values of developer-set CSS properties. The values are stored in an Apostrophe piece singleton (like @apostrophecms/global) and applied to the site whenever the stylesheet link is included in a template. Adjusting values via the palette interface renders changes to the site instantly. Contact us or visit our new pricing page to learn more.
Changes
Apostrophe 2.x modules
apostrophe-caches-redis
2.1.5This module enhances
apostrophe-caches
, the standard caching mechanism of Apostrophe, to use Redis rather than MongoDB.Fixes
Utilities
sanitize-html
2.9.0This module provides a simple HTML sanitizer with a clear API.
Adds
@apostrophecms/code-upgrader
1.0.0-beta.2The Code Upgrader handles a portion of the required modifications for an Apostrophe 2 (A2) codebase to run Apostrophe 3 (A3). It will also identify many specific lines and sections of code that a developer will need to convert manually.
Changes
upgrade
command now also supports A2 projects powered byapostrophe-multsite
.@apostrophecms/content-upgrader
3.0.0-beta.8A tool to migrate your content from Apostrophe 2.x to Apostrophe 3.x. That is, it creates a new database in the A3 format, and copies over the uploaded media. This tool does not upgrade your source code.
Changes
Beta Was this translation helpful? Give feedback.
All reactions