Skip to content

Releases: SaltifyDev/typeproto

v0.3.0

13 Dec 03:38
d29343a

Choose a tag to compare

  • ProtoField now accepts the following types when defining nested messages:
    • ProtoModel
    • ProtoMessage<ProtoModel>
    • () => ProtoModel
    • () => ProtoMessage<ProtoModel>
  • InferProtoModel and InferProtoModelInput now accept both ProtoModel and ProtoMessage<ProtoModel>.

Full Changelog: v0.2.1...v0.3.0

v0.2.1

12 Dec 16:43
009dd27

Choose a tag to compare

  • Breaking: renamed ProtoMessage.fields to model.
  • Added documentation for advanced topics to README

Full Changelog: v0.2.0...v0.2.1

v0.2.0

12 Dec 03:23
fa40a5c

Choose a tag to compare

  • Changed ProtoField parameters from boolean to ProtoFieldModifier for more clear specification
    • Before: ProtoField(1, 'uint32', false, true, false)
    • After: ProtoField(1, 'uint32', 'repeated', { packed: false })

Full Changelog: v0.1.3...v0.2.0

v0.1.3

10 Dec 14:51
b37b381

Choose a tag to compare