- We added a custom error class 
NylasApiErrorto add more error details returned from the API. - We added support for read-only fields.
 - We enabled Nylas API version 2.2 support.
 
Bug Fixes
Section titled “Bug Fixes”- We fixed a bug where saving a 
draftobject with an undefinedfilesIdswould throw an error. - We replaced the deprecated 
requestlibrary withnode-fetch. - We fixed typings for classes that extend 
RestfulModelCollectionorRestfulModelInstance.