Closed aldeed closed 1 year ago
Injecting Meteor Tracker to make some functions reactive is no longer supported
So that's it, goodbye Meteor? 😢 Or is there a preferred method to handle this now?
@theslantedroom I had updated that regEx section along with the release to say that the built-in ones are removed and what to do. If there's another outdated section I'm not seeing let me know.
@lynchem I'm kind of hoping somebody can figure out a good wrapper for the Tracker reactivity. I can update SimpleSchema to emit change events or whatever would be needed for that, but it just was not worth continuing to support that by dependency injection.
Highlights
Breaking Changes
Number.isInteger
polyfill is removed. Ensure that your build system polyfills this if you are targeting older browsers.SimpleSchema.RegEx
object) are no longer included. Some were potential DDoS targets, and all of them were frequent subjects of debate. You may copy-paste the expressions from an old version of this package at your own risk, or use this as an opportunity to implement smarter checks.message-box
dependency,schema.messageBox
, and other related functions are removed. See the readme for how to customize error messages.SimpleSchema.extendOptions
no longer accepts an object as its first argument. This function signature was previously deprecated and is now removed.SimpleSchema._makeGeneric
is removed. UseMongoObject.makeKeyGeneric
directly.