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
Uh oh!
There was an error while loading. Please reload this page.
-
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
maxdo not apply to fields hidden byifas 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. Thescalemodule 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 updatein any projects you want to take advantage of the latest and greatest version of Apostrophe!Apostrophe 3.52.0
Changes
Adds
conditionsproperty inaddContextOperationand validation ofaddContextOperationconfiguration.Fixes
by an
ifcondition fails to satisfy a condition such asminormaxor is otherwise invalid. Instead the invalid value is discarded for safety.
Note that
requiredhas always been ignored when anifcondition is notsatisfied.
Utilities
@apostrophecms/scalev1.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