Quave:collections - new versions 3.0.0 and 3.0.1

Quave collections got updates this week:

3.0.1 (2024-10-10)

  • Adds types to the package

3.0.0 (2024-10-07)

  • Incorporates collection2 code, removing eventemitter dependency
  • Incorporates collection-helpers code
  • Tested only for Meteor 3.0.3+
  • Update installation to include meteor npm i simpl-schema
  • Accepts createCollection({name: 'users'}) to create Meteor default users collection
  • Removes collection-hooks from readme but you still can use inside apply, make sure you test it with Meteor 3

The next step will be to add to these packages some standard composers that we have used for years internally:

  • persistable (adds a save method to collections and a few other features)
  • softRemoval (adds logical removal to collections)

Composition, in our opinion, is a better way to extend collections than mixins or inheritance.

2 Likes

3.0.2 is out

  • Adds persistable composer
  • Adds softRemoval composer

We are using these composers for years so they should be very stable.

Is it possible to use Zod instead of simple-schema?

1 Like