Releases: sirupsen/airrecord
Releases · sirupsen/airrecord
1.0.12
1.0.11
Ruby 3 compatibility
v1.0.6 fix bundler version
v1.0.1
Bump version to 1.0.1
v1.0.0
- 1.0.0 introduces breaking changes, including removing support for symbols and
implementing associations as instance methods. To upgrade:- Change snake-case symbols to their correct column names:
record["First Name"]
instead ofrecord[:first_name]
) - 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
- Dates that are formed
\d{4}-\d{2}-\d{2}
are no longer auto-parsed. Define a helper instead.
- Change snake-case symbols to their correct column names:
- Automatically throttle client calls to Airtable's API limit of 5 requests per second.
- Fix sorting by multiple fields
- Report
User-Agent
asAirrecord
.
Deprecate accessing fields via symbol keys
Support for record[:field_name]
will be dropped in v1.0, in favor of record['Field Name']
.