All Versions
309
Latest Version
Avg Release Cycle
12 days
Latest Release
1289 days ago
Changelog History
Page 12
Changelog History
Page 12
-
v2.101.0 Changes
December 14, 2019- โก๏ธ Due to
npm auditsecurity vulnerability warnings and the end of upstream support, the 2.x version of themongodbnpm module (the driver we used to connect to MongoDB, not MongoDB itself) can no longer be responsibly used in Apostrophe. Therefore we have replaced it with the new emulate-mongo-2-driver module, which strives to match the interface of the MongoDB driver version 2.x while acting as a wrapper for the official, supported MongoDB driver version 3.x. This has been tested in many projects. Therefore no code changes should be required for your project tonpm updateto version 2.101.0. However if you encounter incompatibilities, most likely in driver features not used in Apostrophe, please contribute additional wrappers and test coverage to emulate-mongo-2-driver. Another option is to use apostrophe-db-mongo-3-driver, which allows you to use the 3.x driver API directly and also provides afindWithProjectioncollection method as a migration path for quickly patching legacy code. - ๐ The
defproperty of schema fields associated with specific page types is now displayed in the editor when creating new pages. Thanks to Michelin for making this work possible via Apostrophe Enterprise Support. - A schema field named
fieldscan now be included in a projection without surprising behavior. - EPS (
.eps) files are now accepted as Apostrophe attachments and categorized in theofficegroup, meaning they can be uploaded as "files." - The
aspectRatiooption, when specified directly for attachment schema field properties, now implies permission to crop as forced center-cropping differed from what we do when applying aspect ratios to image widgets. - ๐ป Cross-browser fix for the back button when using our page-refresh-free AJAX features for browsing pieces. Thanks to sergiodop92 for this fix.
- โก๏ธ Due to
-
v2.100.3 Changes
December 03, 2019- The
aspectRatiooption to theattachmentsschema field type is now fully implemented. We always had this for selecting images, e.g. in ourapostrophe-images-widgetsmodule, but it is now also available when directly using anattachmentschema field as a property of your own doc. You can also setcrop: trueto allow manual cropping in that case. This is a useful technique when including the image in a reusable media library does not make sense.
- The
-
v2.100.2 Changes
December 02, 2019- ๐ Corrected a significant performance problem with the
apostrophe-users:addcommand line task when thousands of users exist.
- ๐ Corrected a significant performance problem with the
-
v2.100.1 Changes
November 21, 2019- Must confirm when resetting password, since there are no do-overs if we do not have the email confirmation method available (with
resetLegacyPassword: true) and since it's generally a pain not to have this. - ๐ Fixed the "Reset TOTP authentication" feature of "Manage Users".
- Must confirm when resetting password, since there are no do-overs if we do not have the email confirmation method available (with
-
v2.100.0 Changes
November 21, 2019- ๐ New feature: Google Authenticator two-factor authentication (TOTP) support for Apostrophe accounts. Set the
totp: trueoption of theapostrophe-loginmodule. When enabled, users (including admins) are required to set up and complete authentication with Google Authenticator or a compatible TOTP app on their mobile device. On the user's next login they set up Google Authenticator; after that they must supply a code from Google Authenticator at each login. If a user loses their device, an admin can reset their access by editing that user via "Manage Users" and selecting "Reset TOTP 2-Factor Authentication." If the admin loses their device, they can use the newapostrophe-users:reset-totpcommand line task. Thanks to Michelin for making this work possible via Apostrophe Enterprise Support. - ๐ New feature:
resetLegacyPassword: trueoption forapostrophe-login. When thepasswordRulesandpasswordMinLengthoptions are present, enablingresetLegacyPasswordpermits the user to change their password right away at login time if it is correct, but does not meet your new standards for adequate passwords. This does not require receiving a confirmation email; if you are concerned by that, consider enablingpasswordResetinstead if you are willing to configure email delivery. Thanks to Michelin for making this work possible via Apostrophe Enterprise Support. - ๐ New feature:
resetKnownPassword: trueoption forapostrophe-login. When enabled, a currently logged-in user is permitted to change their own password without receiving an email, as long as they know their current password. This adds an additional admin bar item, which you may want to group. Thanks to Michelin for making this work possible via Apostrophe Enterprise Support. - ๐ Performance: Apostrophe is now much faster when editing a piece with hundreds of areas in its schema. Thanks to Bharathkumar Chandrasekaran of Freshworks for his contributions to finding the solution.
- ๐ Bug fix:
passwordRulesandpasswordMinLengthno longer break support for new users created viaapostrophe-passportwho use single sign-on and do not have explicit passwords in Apostrophe. - โ Developer warning: a module that implements a widget must have a name ending in
-widgetsor the editor will not work properly in the browser. We now display a warning. - ๐ง Developer warning: if the developer tries to configure
piecesFiltersfor the pieces module, rather than the corresponding pieces-pages module, a warning is displayed. - ๐ป UI fix: modal dialog box height corrected. Thanks to Paul Grieselhuber for this contribution.
- ๐ป UI fix: better Microsoft Edge support. Thanks to Denis Lysenko.
- ๐ New feature: Google Authenticator two-factor authentication (TOTP) support for Apostrophe accounts. Set the
-
v2.99.0 Changes
October 30, 2019- Optional password complexity rules. You may set
passwordMinLengthto a number of your choice. You may also setpasswordRulesto an array of rule names. Those available by default arenoSlashes,noSpaces,mixedCase,digits, andnoTripleRepeats. To block existing passwords that don't meet this standard, you should also setpasswordRulesAtLoginTime: true. Additional password rules may be registered by callingapos.login.addPasswordRule('name', { test: fn, message: 'error message' }). The function will receive the password and must returntrueif it is acceptable. Thanks to Michelin for making this work possible via Apostrophe Enterprise Support. - ๐
apos.utils.attachmentUrlhas been added to lean mode. It works exactly likeapos.attachments.url, which is not available in lean mode, with one exception: to avoid adding more overhead to lean mode, the default size is the original. So you must take care to specify thesizeoption for performance when working with images. - โก๏ธ When an in-page edit is made and an area is updated as a result, the
updatemethod of the appropriate module is now called, rather thanapos.docs.update. This allows forbeforeSave, etc. to fire in this situation. Thanks to Kalia Martin of swiss4ward for this contribution. - ๐ Apostrophe now provides a
res.rawRedirectmethod, which performs a redirect without adding the sitewide prefix. On sites without a prefix it is equivalent tores.redirect. This is useful when working with a URL that is already prefixed, such as the_urlproperty of a page or piece. - โก๏ธ Using the
groupsoption toapostrophe-userstogether with a very large database can lead to slow startup because the groups are found by title, and title is not an indexed field. You may now specify theslugfor each group in the array, in which case they are found bysluginstead, which is an optimized query. However most very large sites would be better off removing thegroupsoption and allowing groups to be managed flexibly via the admin bar. - ๐
apos.tasks.getReqnow provides more simulated i18n support. - ๐ The occasional but irritating "not blessed" bug when editing content on the page has been fixed via a new "reinforced blessing" mechanism.
- Optional password complexity rules. You may set
-
v2.98.1 Changes
October 21, 2019- ๐ When selecting pages for a join, you are now permitted to choose any page you have access to view. This was never intended to be locked down to pages you can edit. For instance, you should be able to link to any page you can see when editing a navigation widget. Thanks to Freshworks for making this fix possible via Apostrophe Enterprise Support.
- Beginning with this version we are whitelisting
npm auditadvisories that are not relevant to Apostrophe. Specifically, advisory1203has no bearing on Apostrophe because end users cannot specify collection names to MongoDB via Apostrophe.
-
v2.98.0 Changes
October 11, 2019- ๐ Bug fix: the
sendPagemethod now emits theapostrophe-pages:beforeSendpromise event no matter which module is callingself.sendPage. This was always the intention, as shown by the fact that the legacypageBeforeSendmethod is called. The purpose ofsendPagehas always been to allow a custom route to render a page exactly as Apostrophe normally does, and that includes calling allapostrophe-pages:beforeSendhandlers. - ๐ Bug fix: the
titlefield is now required in theapostrophe-usersmodule. Thanks to Jose Garcia of swiss4ward. - ๐ฆ The
apostrophe-templatesmodule now has an internali18nmethod intended to be overridden by those who want to monitor and/or alter static internationalization results. This will be used by the forthcomingapostrophe-i18n-debuggermodule. You don't need to call this method, you can use the standard i18n helpers.
- ๐ Bug fix: the
-
v2.97.2 Changes
October 03, 2019- ๐ All i18n helpers are now available in templates, not just the
__helper. See the i18n module documentation for more information. Test coverage was added to ensure this remains in place. - UX improvements in "reorganize" (Manage Pages).
- contributing.md now points to the apostrophecms Discord chat community for live community help, rather than Gitter, which has been retired.
- ๐ All i18n helpers are now available in templates, not just the
-
v2.97.1 Changes
September 26, 2019- ๐ Hotfix for a potential Denial Of Service issue reported by NPM. A user with login privileges could eventually exhaust available memory by submitting thousands of batch job requests.