Meteor v2.4 Release Notes

Release Date: 2021-09-15 // over 2 years ago
  • Highlights

    • ๐Ÿš€ Typescript updated to v4.3.5
    • ๐Ÿ“ฆ Email package now allows setting Email.customTransport to override sending method.
    • ๐Ÿ‘‰ Use createIndex instead of _ensureIndex to align with new MongoDB naming.
    • โฌ†๏ธ Apollo skeleton has been upgraded for Apollo server v3
    • โšก๏ธ reify has been updated to v0.22.2 which reduces the overhead of import statements and some uses of export ... from, especially when a module is imported a large number of times or re-exports a large number of exports from other modules. PRs 1, 2
    • Meteor NPM installer is now available for all platforms.
    • ๐Ÿ”€ DDP server now allows you to set publication strategies for your publications to control mergebox behavior
    • ๐Ÿ On Windows Meteor should no longer be hanging on commands

    Migration steps

    1. Replace all usage of collection._ensureIndex with collection.createIndex. You only need to rename the method as the functionality is the same. ๐Ÿ“ฆ 2. If you are using a well known service for the email package switch to using Meteor.settings.packages.email settings instead of MAIL_URL env variable. Alternatively you can utilize the new Email.customTransport function to override the default package behavior and use your own. Read the email docs for implementation details.

    ๐Ÿš€ Meteor Version Release