Files
meteor/docs/generators/changelog/versions/2.12.md
2023-05-16 10:35:06 -03:00

6.0 KiB

v2.12.0, 2023-04-28

Highlights

  • Document main function in webapp by harryadel PR
  • Add undocument properties to docs by harryadel PR
  • Bump NPM versions for css minifiers by wreiske PR
  • Updated Email and Mongo package types by ebroder PR
  • Updated security.md by jamauro PR
  • Added addHtmlAttributeHook type on WebApp by DblK PR
  • Added loginServiceConfiguration type on Accounts by DblK PR
  • Add TS types for Mongo Collection countDocuments and estimatedDocumentCount by ArthurHoaro PR
  • Allow setting a custom ddp-rate-limit message per rule by wreiske PR
  • Updated MongoDB driver to 4.15 by Grubba27 PR
  • Adding warn with env variable when using old apis vy Grubba27 PR
  • Fix syntax for legacy client by zodern PR
  • Updating MongoDB driver to 4.16 by Grubba27 PR
  • Update sockjs-client by harryadel PR
  • [Accounts] set custom collection by dmromanov PR
  • Wrappers to help in the async migration by matheusccastroo PR
  • Mongo query hangs all clients subscribed to a query/collection by KoenLav PR
  • Blaze to 2.6.2 by StorytellerCZ PR

Breaking Changes

N/A

Internal API changes

N/A

Migration Steps

Now if you want to check where do you call old-style api methods you can use WARN_WHEN_USING_OLD_API before starting your meteor process.

Meteor Version Release

  • accounts-base@2.2.8:

    • Added loginServiceConfiguration type.
    • Added the collection option property, in order to be able to set the collection for Accounts, more can be seen in the discussion and in the related issue.
    • onCreateUserHook now accept promises and wait if necessary.
  • babel-compiler@7.10.4:

    • Added es5 compatible syntax.
  • browser-policy-content@1.1.2:

    • Added es5 compatible syntax.
  • browser-policy-framing@1.1.2:

    • Added es5 compatible syntax.
  • browser-policy@1.1.2:

    • Updated test name.
  • callback-hook@1.5.1:

    • Added async hooks possibility to make async migrations easier.
  • context@0.5.1:

    • Added es5 compatible syntax.
  • ddp-rate-limiter@1.2.0:

    • Allow setting a custom ddp-rate-limit message per rule.
  • ddp-server@2.6.1:

    • Updated sockjs version.
  • dev-error-overlay@0.1.2:

    • Added es5 compatible syntax by adding the ecmascript package.
  • dynamic-import@0.7.3:

    • Added es5 compatible syntax.
  • ecmascript@0.16.7:

    • Updated tests location.
  • ecmascript-runtime@0.8.1:

    • Updated npm dependencies.
  • email@2.2.5:

    • Updated type CustomEmailOptions to be a type instead of an interface.
  • hot-module-replacement@0.5.3:

    • Added es5 compatible syntax.
  • meteor@1.11.2:

    • Added documentation for isTest, isAppTest and isPackageTest methods.
    • Added possibility to add async hooks to make async migrations easier. PR
  • minifier-css@1.6.4:

    • Bump NPM versions for css minifiers.
  • minimongo@1.9.3:

    • Updated to be able to track old api usage.
  • modules-runtime-hot@0.14.2:

    • Added es5 compatible syntax.
  • mongo@1.16.6:

    • Added countDocuments and estimatedDocumentCount types.
    • Added warning for when old style apis are being used, to use this feature, use the variableWARN_WHEN_USING_OLD_API=true before starting the Meteor process.
    • Oplog driver updated to not throw error when MongoDB server and Meteor client mismatch. issue
  • non-core:

    • Blaze to version 2.6.2.
  • npm-mongo@4.16.0:

    • Updated MongoDB driver to 4.15.
    • Updated MongoDB driver to 4.16.
  • rate-limit@1.1.1:

    • Added ruleId property that will be used for setting messages.
  • react-fast-refresh@0.2.7:

    • Added es5 compatible syntax.
  • socket-stream-client@0.5.0:

    • Updated sockjs version.
  • standard-minifier-css@1.9.2:

    • Bump NPM versions for css minifiers.
  • tracker@1.3.2:

    • Updated types and updated JSDocs for Tracker.withComputation.
  • underscore@1.0.13:

    • Updated npm dependencies.
  • webapp@1.13.5:

    • Added addHtmlAttributeHook type.

Special thanks to