Skip to content

Commit

Permalink
Merge branch 'main' into v8-deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
russellwheatley committed Dec 17, 2024
2 parents 43429cb + 3623a50 commit 99de822
Show file tree
Hide file tree
Showing 40 changed files with 197 additions and 113 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

### Bug Fixes

- **android, app:** fix hot-reload on react-native <= 0.73 ([81e5fc2](https://github.com/invertase/react-native-firebase/commit/81e5fc2b6c89fdb4aa5f0f5aa95e1e90dae5f2e4))

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

### Features
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,5 +76,5 @@
"userUrlFormat": "{{host}}/{{user}}"
},
"ignoreChanges": ["**/docs/**", "**/.github/**", "**/e2e/**", "**/tests/**"],
"version": "21.6.0"
"version": "21.6.1"
}
4 changes: 4 additions & 0 deletions packages/analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

**Note:** Version bump only for package @react-native-firebase/analytics

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

### Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions packages/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/analytics",
"version": "21.6.0",
"version": "21.6.1",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - The analytics module provides out of the box support with Google Analytics for Firebase. Integration with the Android & iOS allows for in-depth analytical insight reporting, such as device information, location, user actions and more.",
"main": "lib/index.js",
Expand All @@ -22,7 +22,7 @@
"analytics"
],
"peerDependencies": {
"@react-native-firebase/app": "21.6.0"
"@react-native-firebase/app": "21.6.1"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 4 additions & 0 deletions packages/app-check/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

**Note:** Version bump only for package @react-native-firebase/app-check

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

**Note:** Version bump only for package @react-native-firebase/app-check
Expand Down
4 changes: 2 additions & 2 deletions packages/app-check/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/app-check",
"version": "21.6.0",
"version": "21.6.1",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - App Check",
"main": "lib/index.js",
Expand All @@ -25,7 +25,7 @@
"appCheck"
],
"peerDependencies": {
"@react-native-firebase/app": "21.6.0",
"@react-native-firebase/app": "21.6.1",
"expo": ">=47.0.0"
},
"devDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/app-distribution/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

**Note:** Version bump only for package @react-native-firebase/app-distribution

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

**Note:** Version bump only for package @react-native-firebase/app-distribution
Expand Down
4 changes: 2 additions & 2 deletions packages/app-distribution/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/app-distribution",
"version": "21.6.0",
"version": "21.6.1",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - App Distribution",
"main": "lib/index.js",
Expand All @@ -22,7 +22,7 @@
"app-distribution"
],
"peerDependencies": {
"@react-native-firebase/app": "21.6.0"
"@react-native-firebase/app": "21.6.1"
},
"publishConfig": {
"access": "public"
Expand Down
6 changes: 6 additions & 0 deletions packages/app/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

### Bug Fixes

- **android, app:** fix hot-reload on react-native <= 0.73 ([81e5fc2](https://github.com/invertase/react-native-firebase/commit/81e5fc2b6c89fdb4aa5f0f5aa95e1e90dae5f2e4))

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

### Features
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,13 @@ public final ExecutorService getTransactionalExecutor(String identifier) {
return executorService.getTransactionalExecutor(identifier);
}


// This is no longer called as of react-native 0.74 and is only here for
// compatibility with older versions. It delegates to thew new `invalidate`
// On react-native 0.73 this is called, but simply calls `invalidate()`
// https://github.com/facebook/react-native/blob/0.73-stable/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/bridge/BaseJavaModule.java#L65-L72
// This is no longer called ever for react-native >= 0.74 and is only here for
// compatibility with older versions. We delegate to the new `invalidate`
// method, which all modules should implement now
// Remove this method when minimum supported react-native is 0.74
/** @noinspection removal*/
// @noinspection removal
@SuppressWarnings({"deprecation", "removal"})
@Deprecated
public void onCatalystInstanceDestroy() {
Expand All @@ -107,11 +108,14 @@ public void onCatalystInstanceDestroy() {
}

// This should have an @Override annotation but we cannot do
// that until our minimum supported react-native version is 0.74, since the
// method did not exist before then
// that until our minimum supported react-native version is 0.74
//
// No need to call super.invalidate and in fact it is dangerous to do so:
// - did not exist before react-native 0.73
// - on 0.74 it calls onCatalystInstanceDestroy which would infinite loop here
// - on 0.75+ it is empty - meant as sub-class hook only
@CallSuper
public void invalidate() {
super.invalidate();
executorService.shutdown();
}

Expand Down
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/app",
"version": "21.6.0",
"version": "21.6.1",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "A well tested, feature rich Firebase implementation for React Native, supporting iOS & Android. Individual module support for Admob, Analytics, Auth, Crash Reporting, Cloud Firestore, Database, Dynamic Links, Functions, Messaging (FCM), Remote Config, Storage and more.",
"main": "lib/index.js",
Expand Down
4 changes: 4 additions & 0 deletions packages/auth/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

**Note:** Version bump only for package @react-native-firebase/auth

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

**Note:** Version bump only for package @react-native-firebase/auth
Expand Down
4 changes: 2 additions & 2 deletions packages/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/auth",
"version": "21.6.0",
"version": "21.6.1",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - The authentication module provides an easy-to-use API to integrate an authentication workflow into new and existing applications. React Native Firebase provides access to all Firebase authentication methods and identity providers.",
"main": "lib/index.js",
Expand All @@ -27,7 +27,7 @@
"plist": "^3.1.0"
},
"peerDependencies": {
"@react-native-firebase/app": "21.6.0",
"@react-native-firebase/app": "21.6.1",
"expo": ">=47.0.0"
},
"devDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/crashlytics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

**Note:** Version bump only for package @react-native-firebase/crashlytics

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

**Note:** Version bump only for package @react-native-firebase/crashlytics
Expand Down
4 changes: 2 additions & 2 deletions packages/crashlytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/crashlytics",
"version": "21.6.0",
"version": "21.6.1",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - Firebase Crashlytics is a lightweight, realtime crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality. React Native Firebase provides automatic crash reporting for both native and JavaScript errors, including unhandled promise rejections.",
"main": "lib/index.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
"crashlytics"
],
"peerDependencies": {
"@react-native-firebase/app": "21.6.0",
"@react-native-firebase/app": "21.6.1",
"expo": ">=47.0.0"
},
"dependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/database/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

**Note:** Version bump only for package @react-native-firebase/database

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

**Note:** Version bump only for package @react-native-firebase/database
Expand Down
4 changes: 2 additions & 2 deletions packages/database/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/database",
"version": "21.6.0",
"version": "21.6.1",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client. React Native Firebase provides native integration with the Android & iOS Firebase SDKs, supporting both realtime data sync and offline capabilities.",
"main": "lib/index.js",
Expand All @@ -25,7 +25,7 @@
"realtome database"
],
"peerDependencies": {
"@react-native-firebase/app": "21.6.0"
"@react-native-firebase/app": "21.6.1"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 4 additions & 0 deletions packages/dynamic-links/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

**Note:** Version bump only for package @react-native-firebase/dynamic-links

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

**Note:** Version bump only for package @react-native-firebase/dynamic-links
Expand Down
4 changes: 2 additions & 2 deletions packages/dynamic-links/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/dynamic-links",
"version": "21.6.0",
"version": "21.6.1",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - Dynamic Links",
"main": "lib/index.js",
Expand All @@ -25,7 +25,7 @@
"dynamic link"
],
"peerDependencies": {
"@react-native-firebase/app": "21.6.0",
"@react-native-firebase/app": "21.6.1",
"expo": ">=47.0.0"
},
"devDependencies": {
Expand Down
4 changes: 4 additions & 0 deletions packages/firestore/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

**Note:** Version bump only for package @react-native-firebase/firestore

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

**Note:** Version bump only for package @react-native-firebase/firestore
Expand Down
4 changes: 2 additions & 2 deletions packages/firestore/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/firestore",
"version": "21.6.0",
"version": "21.6.1",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - Cloud Firestore is a NoSQL cloud database to store and sync data between your React Native application and Firebase's database. The API matches the Firebase Web SDK whilst taking advantage of the native SDKs performance and offline capabilities.",
"main": "lib/index.js",
Expand All @@ -27,7 +27,7 @@
"firestore"
],
"peerDependencies": {
"@react-native-firebase/app": "21.6.0"
"@react-native-firebase/app": "21.6.1"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 4 additions & 0 deletions packages/functions/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

**Note:** Version bump only for package @react-native-firebase/functions

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

**Note:** Version bump only for package @react-native-firebase/functions
Expand Down
4 changes: 2 additions & 2 deletions packages/functions/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/functions",
"version": "21.6.0",
"version": "21.6.1",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - Cloud Functions for Firebase lets you automatically run backend code in response to events triggered by Firebase features and HTTPS requests. React Native Firebase supports integration with production and locally emulated Cloud Functions with a simple API interface.\n\n",
"main": "lib/index.js",
Expand All @@ -24,7 +24,7 @@
"functions"
],
"peerDependencies": {
"@react-native-firebase/app": "21.6.0"
"@react-native-firebase/app": "21.6.1"
},
"devDependencies": {
"@react-native-firebase/private-tests-firebase-functions": "^0.0.1"
Expand Down
4 changes: 4 additions & 0 deletions packages/in-app-messaging/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

**Note:** Version bump only for package @react-native-firebase/in-app-messaging

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

**Note:** Version bump only for package @react-native-firebase/in-app-messaging
Expand Down
6 changes: 3 additions & 3 deletions packages/in-app-messaging/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/in-app-messaging",
"version": "21.6.0",
"version": "21.6.1",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - Firebase In-App Messaging helps you engage your app's active users by sending them targeted, contextual messages that encourage them to use key app features. React Native Firebase provides support for both native Android & iOS integration with a simple JavaScript API.",
"main": "lib/index.js",
Expand All @@ -27,8 +27,8 @@
"inAppMessaging"
],
"peerDependencies": {
"@react-native-firebase/analytics": "21.6.0",
"@react-native-firebase/app": "21.6.0"
"@react-native-firebase/analytics": "21.6.1",
"@react-native-firebase/app": "21.6.1"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 4 additions & 0 deletions packages/installations/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

**Note:** Version bump only for package @react-native-firebase/installations

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

**Note:** Version bump only for package @react-native-firebase/installations
Expand Down
4 changes: 2 additions & 2 deletions packages/installations/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@react-native-firebase/installations",
"version": "21.6.0",
"version": "21.6.1",
"author": "Invertase <[email protected]> (http://invertase.io)",
"description": "React Native Firebase - Installations",
"main": "lib/index.js",
Expand All @@ -22,7 +22,7 @@
"installations"
],
"peerDependencies": {
"@react-native-firebase/app": "21.6.0"
"@react-native-firebase/app": "21.6.1"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 4 additions & 0 deletions packages/messaging/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [21.6.1](https://github.com/invertase/react-native-firebase/compare/v21.6.0...v21.6.1) (2024-11-25)

**Note:** Version bump only for package @react-native-firebase/messaging

## [21.6.0](https://github.com/invertase/react-native-firebase/compare/v21.5.0...v21.6.0) (2024-11-20)

**Note:** Version bump only for package @react-native-firebase/messaging
Expand Down
Loading

0 comments on commit 99de822

Please sign in to comment.