Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 08 Feb 09:58
· 17 commits to main since this release
a145bdd

Major Changes

  • #88 b2569be Thanks @vubogovich! - [BREAKING CHANGE] Introduce AirtableError extending Error to bring the stack trace very useful for debugging.
    The consumers should check their code for usage of Airtable.Error from the official client and replace it with the one from this library.

  • #73 f434e51 Thanks @vubogovich! - [BREAKING CHANGE] Make AirtableRecord.data non-nullable.
    It's always an object once any operation is executed, and it's inconvenient
    to cast it to non-nullable in the calling code. The consumers should check
    their code for AirtableRecord constructor or data property usage.

Minor Changes

  • #87 3ec4b07 Thanks @vubogovich! - Add table method findOrNull which returns null when the record is not found by id.

  • #89 e65c839 Thanks @vubogovich! - Improve data validations:

    • make the final error message more concise
    • include record id to the record validation context
    • don't stop validating multiple records on first error
    • cover with tests

Patch Changes