Skip to content

Commit

Permalink
Fix types in CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
Kasra Kyanzadeh authored Apr 29, 2017
1 parent 03d6146 commit ae86a19
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# v5.0.0
# 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.
})
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.
})
table.select({view: 'Main View').all().then(records => {
// records array will contain every record in Main View.
}).catch(err => {
// Handle error.
})

# v0.4.5

Expand Down

0 comments on commit ae86a19

Please sign in to comment.