Changelog
v0.5.8
async
dependency (#76)Changelog
v0.5.7
Changelog
v0.5.3
Changelog
v0.5.1
instanceof
checks.Changelog
v0.5.0
Optional Promise-based API: if you call any method that takes a callback without providing a callback, it will return a Promise:
table.find(recordId).then(record => {
// Process record.
}).catch(err => {
// Handle error.
})
Added an all()
method for automatically fetching all records
across all pages when selecting from a table:
table.select({view: 'Main View'}).all().then(records => {
// records array will contain every record in Main View.
}).catch(err => {
// Handle error.
})
Changelog
v0.4.5
The default timeout for requests is increased from 30 seconds
to 5 minutes. You can set a custom timeout by passing requestTimeout
in milliseconds to the Airtable constructor or Airtable.configure:
Airtable.configure({requestTimeout: 30 * 1000}); // 30 seconds