longshotlabs / simpl-schema

A JavaScript schema validation package that supports direct validation of MongoDB update modifier objects
https://www.npmjs.com/package/simpl-schema
MIT License
560 stars 114 forks source link

Version 3.0: ESM, TypeScript, and more #465

Closed aldeed closed 1 year ago

aldeed commented 1 year ago

Highlights

Breaking Changes

lynchem commented 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?

aldeed commented 1 year ago

@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.