CHANGELOG.md 28 KB

Unreleased

0.14.4

Patch Changes

0.14.3

Patch Changes

  • d071bd1ac #7007 (fixes #7005) - Move exports.default fields to always be the last field. This fixes a bug caused in 9.17.0 that prevented some bundlers and frameworks from building.

  • Updated dependencies [d071bd1ac]:

0.14.2

Patch Changes

  • 49ee786f2 #6912 (fixes #4603) - Fixed issue where hostname set by connectDatabaseEmulator was being overridden by longpolling response

  • 0bab0b7a7 #6981 - Added browser CJS entry points (expected by Jest when using JSDOM mode).

  • Updated dependencies [0bab0b7a7]:

0.14.1

Patch Changes

0.14.0

Minor Changes

Patch Changes

0.13.10

Patch Changes

0.13.9

Patch Changes

0.13.8

Patch Changes

0.13.7

Patch Changes

  • fdd4ab464 #6526 - Add functionality to auto-initialize project config and emulator settings from global defaults provided by framework tooling.

  • Updated dependencies [fdd4ab464]:

0.13.6

Patch Changes

0.13.5

Patch Changes

  • 9f1e3c667 #6536 - Revert "Updated type of action parameter for DataSnapshot#forEach"

  • a5d9e1083 #6497 - Fix issue with how get results for filtered queries are added to cache. Fix issue with events not getting propagated to listeners by get.

  • fcd4b8ac3 #6508 - Fixed faulty transaction bug causing filtered index queries to override default queries.

0.13.4

Patch Changes

0.13.3

Patch Changes

0.13.2

Patch Changes

0.13.1

Patch Changes

0.13.0

Minor Changes

Patch Changes

0.12.8

Patch Changes

  • 7a4e65cef #6126 - Fix issue where if a websocket protocol was used in the databaseURL, webSocketOnly field was incorrectly set to undefined. (When using wss or ws protocols in the databaseURL, webSocketOnly will be true and longPolling will be disabled)

  • Updated dependencies [e9e5f6b3c]:

0.12.7

Patch Changes

0.12.6

Patch Changes

0.12.5

Patch Changes

0.12.4

Patch Changes

0.12.3

Patch Changes

0.12.2

Patch Changes

0.12.1

Patch Changes

0.12.0

Minor Changes

0.11.0

Minor Changes

  • 3c6a11c8d #5282 - Implement mockUserToken for Storage and fix JWT format bugs.

Patch Changes

0.10.9

Patch Changes

0.10.8

Patch Changes

0.10.7

Patch Changes

  • 99414a51c #5082 - On Node, always send Auth and AppCheck tokens when they are available.

0.10.6

Patch Changes

0.10.5

Patch Changes

0.10.4

Patch Changes

0.10.3

Patch Changes

0.10.2

Patch Changes

  • 2a5039ee3 #4796 - Fix index not defined errors for orderByChild get requests

0.10.1

Patch Changes

  • 5b202f852 #4864 - Fixed an issue that could cause once() to fire more than once if the value was modified inside its callback.

0.10.0

Minor Changes

Patch Changes

0.9.12

Patch Changes

  • 8d63eacf9 #4832 (fixes #4818) - Fixes an issue that prevented the SDK from firing cancel events for Rules violations.

  • d422436d1 #4828 (fixes #4811) - Fixes a regression introduced with 8.4.1 that broke useEmulator().

0.9.11

Patch Changes

  • 191184eb4 #4801 - Fixes an internal conflict when using v8 and v9 SDKs in the same package.

  • Updated dependencies [3f370215a]:

0.9.10

Patch Changes

0.9.9

Patch Changes

0.9.8

Patch Changes

0.9.7

Patch Changes

0.9.6

Patch Changes

  • 5c1a83ed7 #4595 - Component facotry now takes an options object. And added Provider.initialize() that can be used to pass an options object to the component factory.

  • Updated dependencies [5c1a83ed7]:

0.9.5

Patch Changes

0.9.4

Patch Changes

0.9.3

Patch Changes

  • 318af5471 #4408 - Fixed an issue with Query.get() where Query filters are not applied to data in some cases.

  • 05614aa86 #4427 - Add startAfter() and endBefore() to the Realtime Database TypeScript definitions.

  • Updated dependencies [05614aa86]:

0.9.2

Patch Changes

  • 0af2bdfc6 #4363 - Fixed an issue with startAfter/endBefore when used in orderByKey queries

0.9.1

Patch Changes

  • 04a0fea9e #4299 - get()s issued for queries that are being listened to no longer send backend requests.

0.9.0

Minor Changes

  • cb835e723 #4232 - Add startAfter and endBefore filters for paginating RTDB queries.

0.8.3

Patch Changes

  • 50abe6c4d #4199 - Fixes an issue that caused refFromUrl() to reject production database URLs when useEmulator() was used.

0.8.2

Patch Changes

  • 487f8e1d2 #4247 (fixes #3681) - Fix issue with multiple database instances when using Realtime Database emulator (#3681)

0.8.1

Patch Changes

0.8.0

Minor Changes

  • 34973cde2 #3812 - Add a get method for database queries that returns server result when connected

0.7.1

Patch Changes

0.7.0

Minor Changes

  • ef33328f7 #3904 - Add a useEmulator(host, port) method to Realtime Database

Patch Changes

  • a5768b0aa #3932 - Point browser field to esm build. Now you need to use default import instead of namespace import to import firebase.

Before this change

  import * as firebase from 'firebase/app';

After this change

  import firebase from 'firebase/app';

0.6.13

Patch Changes

  • 3d9b5a595 #3736 - Fix detection of admin context in Realtime Database SDK

0.6.12

Patch Changes

0.6.11

Patch Changes

0.6.10

Patch Changes

  • ef348fed #3511 - Added interface Database which is implemented by FirebaseDatabase. This allows consumer SDKs (such as the Firebase Admin SDK) to export the database types as an interface.

  • Updated dependencies [ef348fed]:

0.6.9

Patch Changes

0.6.8

Patch Changes

  • c2b737b2 #3228 Thanks @schmidt-sebastian! - [fix] Instead of using production auth, the SDK will use test credentials to connect to the Emulator when the RTDB SDK is used via the Firebase Admin SDK.

0.6.7

Patch Changes

  • a754645e #3297 Thanks @renovate! - Update dependency typescript to v3.9.5

  • Updated dependencies [a754645e]:

  • [changed] Added internal HTTP header to the WebSocket connection.

  • [feature] Added ServerValue.increment() to support atomic field value increments without transactions.

  • [fixed] Fixed Realtime Database URL parsing bug to support domains with more than 3 components.

0.5.6

  • [fixed] Fixed an issue that caused large numeric values with leading zeros to not always be sorted correctly.

0.5.3

  • [changed] Internal cleanup to Node.JS support.

0.5.0

  • [fixed] Fixed an issue that caused .info/serverTimeOffset events not to fire (#2043).
  • [changed] Treat ns url query parameter as the default Realtime Database namespace name.

0.4.11

  • [fixed] Fixed an issue where multi-byte UTF-8 characters would not be written correctly when using firebase.js or firebase-database.js (#2035).

0.4.0

  • [changed] Improved consistency between the type annotations for Query.on/Reference.on, Query.off/Reference.off and Query.once/Reference.once (#1188, #1204).