Skip to content

Latest commit

 

History

History
95 lines (60 loc) · 2.21 KB

CHANGELOG.md

File metadata and controls

95 lines (60 loc) · 2.21 KB

1.0.12

  • Fix Faraday version restriction from a bad merge.

1.0.11

  • 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.

1.0.10

  • No longer compatible with Faraday < 1

1.0.9

  • Faraday 2 compatibility round 2 (#90)

1.0.8

  • Faraday 2 compatibility (#88)

1.0.7

  • Further Ruby 3 compatibility, in particular with Faraday (#83)

1.0.6

  • Ruby 3 compatibility

1.0.5

  • Allow Faraday 1.0 (#70)

1.0.4

  • Correctly set created_at on #find (#68)

1.0.3

  • Allow passing optional parameters, e.g. typecast: true. (#67)

1.0.2

  • When a has_one or belongs_to association is empty, return nil 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)

1.0.1

  • Support JRuby 9.0 and CRuby 2.2 (#47)
  • Fix $stderr warnings in CRurby > 2.3 (#46)

1.0.0

  • 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.

0.2.5

  • Deprecate using symbols instead of strings

0.2.4

  • Don't flag as dirty if change is equal

0.2.3

  • Allow single associations (#12)
  • Allow passing maxRecord and pageSize (#17)

0.2.2

  • Require URI to avoid dependency errors

0.2.1

  • Added comparison operator (#9)