Skip to content

Version 27: V8 Runtime Overhaul

Compare
Choose a tag to compare
@LaughDonor LaughDonor released this 16 Jun 03:39

Breaking Changes

  • Query function names have been capitalized (Select, Where, OrderBy, Limit, Offset, Range).
  • All functions return Document or Document[] types directly from Firebase. Use document.obj to extract the raw object.
  • Undo breaking change from v23. document.createTime and document.updateTime will remain as timestamped strings. However document.created, document.updated, and document.read are Date objects.

Usage

To utilize the new version:

  1. Edit your Google Apps Script
  2. Open Resources > Libraries... from the menu.
  3. Change the version dropdown to 27 next to FirestoreApp.

Your project runtime (V8 or Rhino) is independent of this library and they do not have to align for things to run.