Apostrophe 3.61.0 Astro integration, schema field improvements, and fixes #4379
BoDonkey
announced in
Release Notes
Replies: 1 comment
-
Awesome last moment release! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello JavaScript Aficionados!
As the sun sets on the shortest day of the year here at Apostrophe Central, we're thrilled to bring you a special, snug-sized update – just in time for the solstice!
The big news for this release is a new extension that allows you to utilize the very popular Astro as a front-end for your Apostrophe project without losing any of the ApostropheCMS editing experience! Development of this module began with Stéphane Maccari and Clément Ravier of Michelin. We are grateful for their generous support of ApostropheCMS. We're also releasing two brand-spanking-new templates to get you up and running quickly. The
starter-kit-astro
can be used to create projects with our CLI tool and provides a minimal Apostrophe project starting point for working with Astro. Theastro-frontend
template provides a minimal Astro project that complements the starter kit beautifully. We recommend having a look at the README.md file of the new extension to get all the details. So, grab a cup of your favorite holiday drink, check out these new toys, and let your creativity soar into the new year!In addition to some key changes that were needed to support Astro integration, the Apostrophe core also got some improvements and fixes. You can now add an
autocomplete
attribute to your schema fields - this can be used to direct the browser as to the type of data a field should receive for autofill or turn off autocompletion for sensitive fields. You can now usepattern
to restrict what a user can add to aurl
field like you already can with astring
field. While we were under the hood we also fixed some issues with the image modal in the rich-text-widget and theif
conditional.As we all wrap up the year (and some of us literally wrap up presents), we want to extend a heartfelt thank you to our incredible community around the world. Your support and feedback are the gifts that keep on giving, all year long. So, go ahead, dive into our little holiday treat. Whether you're basking in the sun or bundled up by the fire, we hope it adds a dash of joy to your celebrations. Here's to longer days ahead (or shorter, if that's your thing) and to all the adventures 2024 will bring!
Remember
npm update
gets you the latest and greatest right in your project and is critical if you want to enjoy the new Astro integration.Apostrophe 3.61.0
Adds
validate
method to theurl
field type to allow the use of thepattern
property.autocomplete
attribute to schema fields that implement it (cf. HTML attribute: autocomplete).delete
method to the@apostrophecms/cache
module so we don't have to rely on direct MongoDB manipulation to remove a cache item.Fixes
date
schema field query builder to work with arrays.if
on pages. When you open theAposDocEditor
modal on pages, you now see an up to date view of the visible fields.clearLoginAttempts
method to work with the new@apostrophecms/cache
moduledelete
method.Apostrophe 3.x modules
@apostrophecms/apostrophe-astro
v1.0.1This module integrates ApostropheCMS into your Astro application.
1.0.1 (2023-12-21)
1.0.0 (2023-12-21)
Beta Was this translation helpful? Give feedback.
All reactions