Apostrophe 3.52.0 UI Improvements, a new utility module, and fixes #4220
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
-
Hello JavaScript Aficionados!
This cycle our team has been busy with the template libraries feature. Along with this came some improvements and fixes to the Apostrophe core. Conditionals now act as expected, in particular requirements such as
max
do not apply to fields hidden byif
as there is no way for the user to satisfy the requirement. Note that for safety’s sake such properties are not saved when they have invalid values.On-page editing is now a little quicker and easier for nested widgets. The breadcrumbs that appear along the top of each widget when you hover can now be used to easily open the modal editor of the widget by double-clicking.
In other "big" news, we have released a new module,
@apostrophecms/scale
. Thescale
module isn't specific to Apostrophe, but can be used in any Node.js project to allow the resizing of extra-large images on the browser side before upload. This will mitigate denial of service errors as a result of resource exhaustion. As always, your feedback is highly appreciated, and we encourage you to share your experiences and any issues you may encounter while using this new module.Moving into this next cycle we are pushing to finish up all the moving parts of the template library feature, and importantly write the Cypress tests! We are also planning on changes to our UI localization options. We are always interested in working with the community to make our product better, either through contributed changes to the code, ideas for enhancement on our product roadmap, or other feedback in our Discord.
Remember to run
npm update
in any projects you want to take advantage of the latest and greatest version of Apostrophe!Apostrophe 3.52.0
Changes
Adds
conditions
property inaddContextOperation
and validation ofaddContextOperation
configuration.Fixes
by an
if
condition fails to satisfy a condition such asmin
ormax
or is otherwise invalid. Instead the invalid value is discarded for safety.
Note that
required
has always been ignored when anif
condition is notsatisfied.
Utilities
@apostrophecms/scale
v1.0.0Resizing 16-megapixel images on the server side can easily DOS your server (Denial Of Service). This module scales images appropriately in the browser before uploading them to your server.
Adds
Beta Was this translation helpful? Give feedback.
All reactions