All Versions
309
Latest Version
Avg Release Cycle
12 days
Latest Release
678 days ago

Changelog History
Page 20

  • v2.57.1 Changes

    June 05, 2018

    โœ… Unit tests passing.

    • ๐Ÿš‘ Hotfix for bug in 2.57.0 that broke saving tags. We have reverted the "fast forms" change until the cause is understood.
  • v2.57.0 Changes

    May 31, 2018

    โœ… Unit tests passing.

    โœ… Functional tests passing.

    • Displaying and saving schema-driven forms is much, much faster. This becomes very noticeable with 100 or more fields. With about 250 fields, this formerly took about 4.5 seconds to load or to ๐Ÿ’พ save such a form on a fast Mac. It now takes about 250 milliseconds.
    • ๐Ÿ‘‰ Users may re-order the items they have selected via drag and drop when using "Browse" to select pieces, images, etc.
    • ๐Ÿš€ Prior to this release, asset generation ids were surprisingly short and made up only of digits due to an accidental holdover from an old version. Conflicts were rare, but possible. Asset generation ids are now proper cuids, no conflicts should occur.
    • IDs may be added to notifications as a simple way to give other code access to them.
    • The apos.global.addGlobalToData method may now be called with just req (returns a promise), with req, callback (invokes 0๏ธโƒฃ the callback), or as middleware (which Apostrophe does by default). ๐Ÿ’ป This method is handy in command line tasks and other places where middleware does not run and req.data.global is not populated 0๏ธโƒฃ by default.
  • v2.56.0 Changes

    May 17, 2018

    โœ… Unit tests passing.

    โœ… Functional tests passing.

    • ๐Ÿ”’ Security: numerous issues formerly flagged by the new npm audit command have been addressed. We are now using a maintained branch of lodash 3.x to keep bc while addressing security (many thanks to the Sails team). We are also using LESS 3.x, which has caused no issues in our testing and corrects security concerns with LESS 2.x. Numerous npm audit security reports regarding imagemin modules were addressed by removing imagemin from uploadfs itself, however you may opt into it via the new postprocessors option of uploadfs. As of this writing, one npm audit complaint remains: the azure-storage module needs to update a dependency to address a possible vulnerability. You may mitigate this issue by not using the azure backend of uploadfs with Apostrophe until it is resolved upstream.
    • ๐Ÿ’ป Many UI enhancements when choosing, browsing and managing items which reduce user confusion. For instance: moving items up and down in a selection no longer refreshes the entire list and forces the user to scroll down again. Trashed pages are easier to distinguish in "reorganize." "More" dropdown for pieces is again fully visible when clicked. Placeholder helpers make the search field for joins easier to understand. Chevrons added to various select elements which were difficult to identify as dropdowns before.
    • Deeply nested areas now save properly. Formerly in certain situations the same widget might be duplicated.
    • ๐Ÿ’… apos.tasks.getReq now supplies an empty req.data object for easier use with code expecting an Express request, Apostrophe-style.
    • Bedeviled by case-sensitive sorting? The sortify: true property for string schema fields is now documented and automatically creates a database migration to ensure it is available for your existing data as well. When used, this flag ensures that any sort('fieldname') call for that field in Apostrophe is case-insensitive, ignores punctuation and otherwise behaves as end users expect.
  • v2.55.2 Changes

    May 15, 2018

    โœ… Unit tests passing.

    โœ… Relevant functional tests passing.

    • โช Reverted change to date formatting. moment will produce warnings again, but dates will not be a day old in some time zones, which is more important. We are working on a better fix for this problem.
  • v2.55.1 Changes

    May 15, 2018

    โœ… Unit tests passing.

    โœ… Relevant functional tests passing.

    • apos.migrations.eachArea no longer crashes the stack when iterating over a large number of documents without areas.
  • v2.55.0 Changes

    May 11, 2018

    โœ… Unit tests passing.

    โœ… Regression tests passing.

    • Security fix: uploaded images "in the trash" were still accessible at the same URL in most sizes. This has been corrected. As documented, the only size that now remains accessible is the one-sixth size, and this choice can be changed or eliminated entirely. This bug did not affect other file attachments, such as PDFs.

    โš  As always, be sure to run the apostrophe-migrations:migrate task. This will make sure the permissions of your files are correct. Harmless warnings may appear for those that were already correct.

    • The apostrophe-attachments:migrate-to-disabled-file-key and apostrophe-attachments:migrate-from-disabled-file-key have been added for the convenience of those using the disabledFileKey option to uploadfs to rename disabled files in a cryptographically sound way rather than changing their permissions. These are relevant only with the local storage option of uploadfs, since since the option is neither available nor necessary for S3, and is mandatory for Azure from the beginning.

    • ๐Ÿ”ง Although technically part of UploadFS 1.9.0, we'd like to note that the azure storage backend is now available and can be part of your uploadfs configuration for the apostrophe-attachments module.

    • Server-side modules can now extend the buttons available in the "manage" modal of pieces without overriding templates, similar to the way they are extensible in the "edit" modal.

    • ๐Ÿ›  UX fixes.

    • Cropping an image through Apostrophe now works when attachments are stored in S3, Azure, etc.

    • โš  Date parsing does not generate momentjs warnings.

    • Overrideable block in the outerLayout for the context menu.

    • The apostrophe-soft-redirects module now accepts a statusCode option, which you may change to 301 to use hard redirects. Thanks to Leo Melzer.

  • v2.54.3 Changes

    May 02, 2018

    โœ… Unit tests passing.

    โœ… Regression tests passing.

    • Contextual editing of pieces found in a widget.html template saves properly, as does contextual editing of a nested area added to the page for the first time.

    • Previously executed migrations are remembered in a collection that persists, not just in a cache, avoiding extra work which could be extensive in a large database. Migrations are still required to be idempotent (they should detect whether they have any work to do, and do no harm if they are not needed again for a particular document).

    • โšก๏ธ apos.migrations.eachWidget now delivers an accurate dotPath, which is crucial for the use of apos.docs.db.update with $set. No standard migrations in Apostrophe were using the feature until now.

  • v2.54.2 Changes

    April 24, 2018

    โœ… Unit tests passing.

    โœ… Regression tests passing.

    • ๐Ÿ›  A bug in the recently introduced apostrophe-soft-redirects module caused crashes in cases where the context page or piece had no _url property... which is an unusual situation (how did you get there exactly? Overrides are clearly involved), but it can happen in customized projects. Fixed.
  • v2.54.1 Changes

    April 24, 2018

    โœ… Unit tests passing.

    โœ… Regression tests passing.

    • ๐Ÿ’ป A bug in Chrome 66 causes problems when selecting images in Apostrophe's media library. This bug did not appear before Chrome 66 and does not appear in other browsers. We resolved it by migrating to the use of the CSS grid feature in compatible browsers.
  • v2.54.0 Changes

    April 18, 2018

    โœ… Unit tests passing.

    โœ… Regression tests passing.

    • ๐ŸŽ Several performance improvements. In situations where Apostrophe formerly made expensive "matching nothing" queries, Apostrophe now either skips the entire query or uses an efficient query for a nonexistent _id, depending on whether the method in question has the right to cancel the entire operation.
    • ๐Ÿš€ Resources released more completely by apos.destroy, which can now satisfy the expectations of mocha 5.x (no timeouts left active, etc). This was done by adding a destroy method to uploadfs.
    • ๐Ÿ‘ range schema fields behave better when there is no existing value.
    • ๐Ÿ’พ Save operation of a modal now triggers the global busy state to prevent race conditions and other unwanted behavior.
    • Global busy state can now be pushed and popped, and modals utilize this, so that a modal can be used to gather information during the saveContent method of another modal.