Version 23: Date Fixes
This release comes after a long break.
- Timestamp fields should no longer have issues when updating documents with a Date object. Thanks @Spencer-Easton! #71
- Fixed issues with Apps Script not being able to handle Timestamps with microseconds. #42
- Added a Query Range function which is a shorthand for .offset and .range functions. #77
var db = getFirestore(email, key, project);
var results10_15 = db.query(path).range(10, 15).execute();
Which is equivalent to:
var db = getFirestore(email, key, project);
var results10_15 = db.query(path).offset(10).limit(5).execute();
Breaking Changes
- When retreiving documents the
createTime
andupdateTime
document properties are JS Date objects and not Timestamp Strings.