Skip to content

Releases: sirupsen/airrecord

1.0.12

02 Mar 16:51
Compare
Choose a tag to compare

Fixes bug for tables with spaces in their names #100

1.0.11

13 Feb 19:03
68a30ff
Compare
Choose a tag to compare
Merge pull request #98 from mbbernstein/patch-1

Bump version

Ruby 3 compatibility

17 Apr 12:55
Compare
Choose a tag to compare
v1.0.6

fix bundler version

v1.0.1

28 Nov 16:58
Compare
Choose a tag to compare
Bump version to 1.0.1

v1.0.0

14 Nov 16:45
Compare
Choose a tag to compare
  • 1.0.0 introduces breaking changes, including removing support for symbols and
    implementing associations as instance methods. To upgrade:
    1. Change snake-case symbols to their correct column names:
      record["First Name"] instead of record[:first_name])
    2. Change your association calls to use instance methods instead of []:
      class Tea < Airrecord::Table
        has_many :brews, class: "Brew", column: "Brews"
      end
      tea[:brews] #=> Error, no longer supported
      tea.brews #=> [<Brew>, <Brew>] returns associated Brew instances
      tea["Brews"] #=> ["rec456", "rec789"] returns a raw Airtable field
    3. Dates that are formed \d{4}-\d{2}-\d{2} are no longer auto-parsed. Define a helper instead.
  • Automatically throttle client calls to Airtable's API limit of 5 requests per second.
  • Fix sorting by multiple fields
  • Report User-Agent as Airrecord.

Deprecate accessing fields via symbol keys

05 Nov 18:32
6d557e3
Compare
Choose a tag to compare

Support for record[:field_name] will be dropped in v1.0, in favor of record['Field Name'].