-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 3.0: ESM, TypeScript, and more #465
Conversation
BREAKING CHANGES: Some deprecated APIs have now been removed
BREAKING CHANGE
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.