Skip to content

Latest commit

 

History

History
669 lines (395 loc) · 30.7 KB

CHANGELOG.md

File metadata and controls

669 lines (395 loc) · 30.7 KB

Unreleased

1.0.8

Patch Changes

  • Updated dependencies [16d62d4fa]:
    • @firebase/util@1.10.0
    • @firebase/component@0.6.9

1.0.7

Patch Changes

  • 025f2a103 #8280 (fixes #8279) - Fixed typos in documentation and some internal variables and parameters.

1.0.6

Patch Changes

  • Updated dependencies [192561b15]:
    • @firebase/util@1.9.7
    • @firebase/component@0.6.8

1.0.5

Patch Changes

  • ab883d016 #8237 - Bump all packages so staging works.

  • Updated dependencies [ab883d016]:

    • @firebase/app-check-interop-types@0.3.2
    • @firebase/auth-interop-types@0.2.3
    • @firebase/component@0.6.7
    • @firebase/logger@0.4.2
    • @firebase/util@1.9.6

1.0.4

Patch Changes

  • 0c5150106 #8079 - Update repository.url field in all package.json files to NPM's preferred format.

  • Updated dependencies [0c5150106]:

    • @firebase/app-check-interop-types@0.3.1
    • @firebase/auth-interop-types@0.2.2
    • @firebase/component@0.6.6
    • @firebase/logger@0.4.1
    • @firebase/util@1.9.5

1.0.3

Patch Changes

  • 046ac8a39 #7973 (fixes #7835) - Fixed issue where queryConstraint.type was undefined

  • Updated dependencies [434f8418c]:

    • @firebase/util@1.9.4
    • @firebase/component@0.6.5

1.0.2

Patch Changes

  • 0ecaf6c9f #7827 - Add @firebase/app-check-interop-types dependency to database package

1.0.1

Patch Changes

  • 82d7df439 #7258 - Included initStandalone as an internal method to RTDB.

1.0.0

Major Changes

  • 4f904bf41 #6541 - Updated type of action parameter for DataSnapshot#forEach

0.14.4

Patch Changes

  • Updated dependencies [c59f537b1]:
    • @firebase/util@1.9.3
    • @firebase/component@0.6.4

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]:

    • @firebase/util@1.9.2
    • @firebase/component@0.6.3

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]:

    • @firebase/util@1.9.1
    • @firebase/component@0.6.2

0.14.1

Patch Changes

  • d8af08feb #6883 (fixes #6853) - Fixed issue where connectDatabaseToEmulator can be called twice during a hot reload

  • a4056634a #6916 - Replace innerHTML call with textContent.

  • Updated dependencies [e9bcd4c43, d4114a4f7, 06dc1364d]:

    • @firebase/auth-interop-types@0.2.1
    • @firebase/util@1.9.0
    • @firebase/component@0.6.1

0.14.0

Minor Changes

Patch Changes

  • 37dd6f6f4 #6706 - Use new wire protocol parameters for startAfter, endBefore.

  • Updated dependencies [c20633ed3, 1625f7a95]:

    • @firebase/util@1.8.0
    • @firebase/auth-interop-types@0.2.0
    • @firebase/component@0.6.0
    • @firebase/logger@0.4.0

0.13.10

Patch Changes

  • 4af28c1a4 #6682 - Upgrade TypeScript to 4.7.4.

  • Updated dependencies [4af28c1a4]:

    • @firebase/auth-interop-types@0.1.7
    • @firebase/component@0.5.21
    • @firebase/logger@0.3.4
    • @firebase/util@1.7.3

0.13.9

Patch Changes

  • Updated dependencies [807f06aa2]:
    • @firebase/util@1.7.2
    • @firebase/component@0.5.20

0.13.8

Patch Changes

  • 5aa48d0ab #6583 - Fixed endBefore and push documentation typos in RTDB

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]:

    • @firebase/util@1.7.0
    • @firebase/component@0.5.18

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

  • c187446a2 #6410 - Removed uuid as a dependency for @firebase/database
  • 6a8be1337 #6399 - Fix setting of headers on Node.

  • Updated dependencies [b12af44a5]:

    • @firebase/util@1.6.3
    • @firebase/component@0.5.17

0.13.2

Patch Changes

  • 578dc5836 #6273 - Fixed issue where get() saved results incorrectly for non-default queries.
  • efe2000fc #6363 - Extract uuid function into @firebase/util

  • Updated dependencies [efe2000fc]:

    • @firebase/util@1.6.2
    • @firebase/component@0.5.16

0.13.1

Patch Changes

  • 2cd1cc76f #6307 (fixes #6300) - fix: add type declarations to exports field

  • Updated dependencies [2cd1cc76f]:

    • @firebase/component@0.5.15
    • @firebase/logger@0.3.3
    • @firebase/util@1.6.1

0.13.0

Minor Changes

Patch Changes

  • 874cdbbcc #6232 - Added GMPID to websocket connection.

  • Updated dependencies [9c5c9c36d]:

    • @firebase/util@1.6.0
    • @firebase/component@0.5.14

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]:

    • @firebase/util@1.5.2
    • @firebase/component@0.5.13

0.12.7

Patch Changes

  • Updated dependencies [3198d58dc]:
    • @firebase/util@1.5.1
    • @firebase/component@0.5.12

0.12.6

Patch Changes

  • Updated dependencies [2d672cead]:
    • @firebase/util@1.5.0
    • @firebase/component@0.5.11

0.12.5

Patch Changes

  • Updated dependencies [3b481f572]:
    • @firebase/util@1.4.3
    • @firebase/component@0.5.10

0.12.4

Patch Changes

  • 3281315fa #5708 (fixes #1487) - Update build scripts to work with the exports field

  • Updated dependencies [3281315fa]:

    • @firebase/component@0.5.9
    • @firebase/logger@0.3.2
    • @firebase/util@1.4.2

0.12.3

Patch Changes

  • 2322b6023 #5693 - Add exports field to all packages

  • Updated dependencies [2322b6023]:

    • @firebase/component@0.5.8
    • @firebase/logger@0.3.1
    • @firebase/util@1.4.1

0.12.2

Patch Changes

0.12.1

Patch Changes

  • dfe65ff9b #5537 - Added an entry point @firebase/database-compat/standalone to share code with Admin SDK properly

  • Updated dependencies [a99943fe3, b835b4cba]:

    • @firebase/logger@0.3.0
    • @firebase/util@1.4.0
    • @firebase/component@0.5.7

0.12.0

Minor Changes

0.11.0

Minor Changes

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

Patch Changes

  • Updated dependencies [bb6b5abff, 3c6a11c8d]:
    • @firebase/component@0.5.6
    • @firebase/database-types@0.8.0
    • @firebase/util@1.3.0

0.10.9

Patch Changes

  • Updated dependencies [a3cbe719b]:
    • @firebase/util@1.2.0
    • @firebase/component@0.5.5
    • @firebase/database-types@0.7.3

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

  • Updated dependencies [56a6a9d4a]:
    • @firebase/component@0.5.4

0.10.5

Patch Changes

  • Updated dependencies [725ab4684]:
    • @firebase/component@0.5.3

0.10.4

Patch Changes

  • Updated dependencies [4c4b6aed9]:
    • @firebase/component@0.5.2

0.10.3

Patch Changes

  • Updated dependencies [5fbc5fb01]:
    • @firebase/component@0.5.1

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

  • Updated dependencies [c34ac7a92, ac4ad08a2]:
    • @firebase/component@0.5.0
    • @firebase/util@1.1.0

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]:

    • @firebase/auth-interop-types@0.1.6

0.9.10

Patch Changes

0.9.9

Patch Changes

  • 7354a0ed4 #4720 - Internal changes to Database and Validation APIs.

  • Updated dependencies [e46ebb743, 7354a0ed4]:

    • @firebase/database-types@0.7.2
    • @firebase/util@1.0.0
    • @firebase/component@0.4.1

0.9.8

Patch Changes

  • Updated dependencies [f24d8961b]:
    • @firebase/component@0.4.0
    • @firebase/database-types@0.7.1

0.9.7

Patch Changes

  • Updated dependencies [de5f90501]:
    • @firebase/util@0.4.1
    • @firebase/component@0.3.1

0.9.6

Patch Changes

  • 5c1a83ed7 #4595 - Component factory 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]:

    • @firebase/component@0.3.0

0.9.5

Patch Changes

  • Updated dependencies [ec95df3d0]:
    • @firebase/util@0.4.0
    • @firebase/component@0.2.1

0.9.4

Patch Changes

  • Updated dependencies [6afe42613]:
    • @firebase/component@0.2.0

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]:

    • @firebase/database-types@0.7.0

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

  • Updated dependencies [4f6313262]:
    • @firebase/database-types@0.6.1

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

  • Updated dependencies [9cf727fcc]:
    • @firebase/util@0.3.4
    • @firebase/component@0.1.21

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';
    
  • 602ec18e9 #3968 - Updated the type definition for ThenableReference to only implement then and catch, which matches the implementation.

  • Updated dependencies [ef33328f7, a5768b0aa, 7d916d905, 602ec18e9]:

    • @firebase/database-types@0.6.0
    • @firebase/component@0.1.20
    • @firebase/util@0.3.3

0.6.13

Patch Changes

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

0.6.12

Patch Changes

  • d347c6ca1 #3650 - The SDK can now infer a default database URL if none is provided in the config.

  • Updated dependencies [da1c7df79, fb3b095e4]:

    • @firebase/component@0.1.19
    • @firebase/util@0.3.2

0.6.11

Patch Changes

  • Updated dependencies [d4ca3da0]:
    • @firebase/util@0.3.1
    • @firebase/component@0.1.18

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]:

    • @firebase/database-types@0.5.2

0.6.9

Patch Changes

  • Updated dependencies [a87676b8]:
    • @firebase/util@0.3.0
    • @firebase/component@0.1.17

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]:

    • @firebase/component@0.1.16
    • @firebase/logger@0.2.6
  • [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).