- Fix Faraday version restriction from a bad merge.
- Update faraday_rate_limiter.rb to maintain compatibility with Faraday < 1 with Ruby 3 (#92).
- Remove compatibility restriction from Gemfile.
- No longer compatible with Faraday 2.
- No longer compatible with Faraday < 1
- Faraday 2 compatibility round 2 (#90)
- Faraday 2 compatibility (#88)
- Further Ruby 3 compatibility, in particular with Faraday (#83)
- Ruby 3 compatibility
- Allow Faraday 1.0 (#70)
- Correctly set
created_at
on#find
(#68)
- Allow passing optional parameters, e.g.
typecast: true
. (#67)
-
When a
has_one
orbelongs_to
association is empty, returnnil
instead of a blank record (#51) -
When a
has_many
association is empty, do not make a network call to the associated table -
Relax dependency on
net-http-persistent
to allow latest (#57)
- Support JRuby 9.0 and CRuby 2.2 (#47)
- Fix $stderr warnings in CRurby > 2.3 (#46)
- 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 using symbols instead of strings
- Don't flag as dirty if change is equal
- Allow single associations (#12)
- Allow passing
maxRecord
andpageSize
(#17)
- Require URI to avoid dependency errors
- Added comparison operator (#9)