Skip to content

v2.0.0

Compare
Choose a tag to compare
@gdbrown gdbrown released this 11 Jun 20:46
· 4 commits to master since this release

BREAKING CHANGES

  • Moves @gdbots/pbj/MessageRef to @gdbots/pbj/well-known/MessageRef
  • Adds implementation for new node-ref type with @gdbots/pbj/types/NodeRefType and @gdbots/pbj/well-known/NodeRef
  • All message resolution and deserialization/unmarshalling is now async so schemas can be lazy loaded.
  • Removes Mixin since the gdbots/pbjc no longer uses them.
  • Changes MessageResolver.findOneUsingMixin and MessageResolver.findAllUsingMixin to use a curie (string) for resolution and instead of returning the schema it just returns curies (strings) of the messages using the mixin and is also async.
  • Simplifies Schema so the mixins are just the curies in string form, not objects.
  • Removes use of @gdbots/common lib as those utils are now move to this lib @gdbots/pbj/utils/*.