Skip to content

Latest commit

 

History

History
40 lines (34 loc) · 1.99 KB

CHANGELOG.md

File metadata and controls

40 lines (34 loc) · 1.99 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Added

Changed

  • (Breaking) Consistent with Firebase SDK version 4.0.0 and later, and later, onAuthStateChanged no longer issues an event when a new ID token is issued for the same user. The onIdTokenChanged method is now mocked, keeping the previous behavior.
  • MockStorageFile.download() now allows omitting the destination arg; in that case, it simply resolves the Promise with the file contents and does not write it anywhere else.

Fixed

  • onAuthStateChanged now correctly calls its callback immediately with the current auth state.
  • MockStorage.bucket() and MockStorageBucket.file() now return the existing artifact if one exists, rather than overwriting it with a new one.
  • DataSnapshot.child now correctly splits child paths by '/' characters
  • Boolean values are now allowed in RTDB priority fields and as arguments to Query.startAt, Query.endAt, and Query.equalTo.
  • MockFirestoreDocument.create() now correctly returns a Promise<WriteResult> instead of Promise<void>.