Releases: gdbots/pbj-js
Releases · gdbots/pbj-js
v3.0.2
v3.0.1
v3.0.0
BREAKING CHANGES
- Configure package as type module now.
- Use lodash-es explicitly instead of using a babel plugin to replace it.
- Use explicit imports (including .js) because tape/babel/node or whatever unholy combination of this isn't working without it.
- Removes all uses of moment.js.
v2.0.1
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/*
.