Skip to content

Version 23: Date Fixes

Compare
Choose a tag to compare
@LaughDonor LaughDonor released this 01 May 22:23
09738e4

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 and updateTime document properties are JS Date objects and not Timestamp Strings.