v2.0.0
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 thegdbots/pbjc
no longer uses them. - Changes
MessageResolver.findOneUsingMixin
andMessageResolver.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/*
.