Skip to content

Latest commit

 

History

History
525 lines (300 loc) · 21.6 KB

File metadata and controls

525 lines (300 loc) · 21.6 KB

@firebase/rules-unit-testing

4.0.1

Patch Changes

4.0.0

Patch Changes

3.0.4

Patch Changes

3.0.3

Patch Changes

3.0.2

Patch Changes

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

3.0.1

Patch Changes

  • 2d0a9f5fd #7592 - Updated minor dependencies grpc (firestore) and firebase-admin (rules-unit-testing).

3.0.0

Patch Changes

2.0.7

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.

2.0.6

Patch Changes

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

2.0.5

Patch Changes

2.0.4

Patch Changes

  • 1703bb31a #6442 (fixes #6438) - Update @grpc/proto-loader and firebase-admin dependencies to address protobufjs security issue.
  • 1a15c7da7 #6454 - Update firebase-functions to a version compatible with firebase-admin.

2.0.3

Patch Changes

2.0.2

Patch Changes

  • d612d6f6e #5928 - Upgrade node-fetch dependency due to a security issue.

2.0.1

Patch Changes

  • 46d26ff96 #5500 - Fix typing issues where Database/Firestore/Storage compat instances returned by RulesTestContext are not compatible with v9 modular APIs.
  • 29e0be2cb #5501 - Set RTDB namespace to be same as projectId by default instead of ${projectId}-default-rtdb. This fixes rules not being applied and other issues related to namespace mismatch.

2.0.0

Major Changes

  • cdada6c68 #5345 (fixes #5015) - BREAKING: Implement Rules Unit Testing v2 with new design and APIs.

Patch Changes

1.3.15

Patch Changes

1.3.14

Patch Changes

1.3.13

Patch Changes

1.3.12

Patch Changes

1.3.11

Patch Changes

1.3.10

Patch Changes

1.3.9

Patch Changes

1.3.8

Patch Changes

1.3.7

Patch Changes

1.3.6

Patch Changes

1.3.5

Patch Changes

1.3.4

Patch Changes

1.3.3

Patch Changes

1.3.2

Patch Changes

1.3.1

Patch Changes

1.3.0

Minor Changes

  • 66deb252d #4863 - Add support for Storage emulator to rules-unit-testing

Patch Changes

1.2.12

Patch Changes

1.2.11

Patch Changes

1.2.10

Patch Changes

1.2.9

Patch Changes

1.2.8

Patch Changes

1.2.7

Patch Changes

  • 5ad7ff2ae #4713 - Fix assertFails not correctly catching RTDB permission denied errors (#4667).

1.2.6

Patch Changes

1.2.5

Patch Changes

1.2.4

Patch Changes

1.2.3

Patch Changes

1.2.2

Patch Changes

1.2.1

Patch Changes

1.2.0

Minor Changes

  • 97f26b716 #4388 - Add port configuration and discovery methods to rules-unit-testing.

Patch Changes

1.1.11

Patch Changes

1.1.10

Patch Changes

1.1.9

Patch Changes

1.1.8

Patch Changes

1.1.7

Patch Changes

1.1.6

Patch Changes

1.1.5

Patch Changes

1.1.4

Patch Changes

1.1.3

Patch Changes

1.1.2

Patch Changes

1.1.1

Patch Changes

1.1.0

Minor Changes

  • 6ef39d4d3 #3928 - Add withFunctionTriggersDisabled function which runs a user-provided setup function with emulated Cloud Functions triggers disabled. This can be used to import data into the Realtime Database or Cloud Firestore emulators without triggering locally emulated Cloud Functions. This method only works with Firebase CLI version 8.13.0 or higher.

Patch Changes

1.0.9

Patch Changes

1.0.8

Patch Changes

  • cb28261e0 #3923 (fixes #3920) - Do not delete uid property from user auth object in initializeTestApp()

1.0.7

Patch Changes

1.0.6

Patch Changes

1.0.5

Patch Changes

1.0.4

Patch Changes

1.0.3

Patch Changes

1.0.2

Patch Changes

1.0.1

Patch Changes

1.0.0

Major Changes

  • 980c7d539 #3378 - Release @firebase/rules-unit-testing to replace the @firebase/testing package. The new package is API compatible but has the following breaking behavior changes:

    • assertFails() will now only fail on PERMISSION DENIED errors, not any error.
    • initializeAdminApp() now relies on firebase-admin rather than imitating the Admin SDK.

Patch Changes