Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 820 Bytes

v2-to-v3.md

File metadata and controls

26 lines (18 loc) · 820 Bytes

Migrating from v2 to v3

The ONLY thing that changes between v2 and v3 is that we now use parser API v3 where v2 used parser API v1.

Parser API v1 to v3

There are only very few changes, for message and message traits.

Message

- - messageId(): `string` | `undefined`
- - schemaFormat(): `string`
+ - schemaFormat(): `string` | `undefined`

Since messageId have been removed, you need to use id instead.

MessageTrait

- - messageId(): `string` | `undefined`
- - schemaFormat(): `string`
+ - schemaFormat(): `string` | `undefined`

Since messageId have been removed, you need to use id instead.