Skip to content

Conversation

@op
Copy link

@op op commented Apr 12, 2019

This is a breaking change, which follows upstream breaking change on returning Timestamp instead of Date.

References:

  1. https://cloud.google.com/nodejs/docs/reference/firestore/latest/Timestamp
  2. https://github.com/googleapis/nodejs-firestore/blob/master/CHANGELOG.md#v0200

@op
Copy link
Author

op commented Apr 12, 2019

This change includes all work from #135.

op added 2 commits April 14, 2019 19:37
Previously, when a document have a reference to another document, we
ended up in an infinite loop. This is now prevented by only follow plain
objects.

This logic makes it easier to reason about the call chain too.
op added 2 commits April 16, 2019 12:38
Previous behavior for Server Timestamp was to return UNIX timestamp.
This is the correct bahviour still for the client firebase.database
library. This change restores this.
Internally date is now stored as Date until returned, where it is
converted to Timestamp. This fixes orderBy.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant