@react-native-firebase/firestore 23.8.2 → 23.8.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/RNFBFirestore.podspec +7 -2
- package/lib/FirestoreBlob.js +1 -1
- package/lib/FirestoreCollectionReference.js +1 -1
- package/lib/FirestoreDocumentChange.js +1 -1
- package/lib/FirestoreDocumentReference.js +2 -2
- package/lib/FirestoreDocumentSnapshot.js +1 -1
- package/lib/FirestoreFieldPath.js +1 -1
- package/lib/FirestoreFieldValue.js +1 -1
- package/lib/FirestoreFilter.js +6 -1
- package/lib/FirestoreGeoPoint.js +1 -1
- package/lib/FirestoreQuery.js +2 -2
- package/lib/FirestoreQueryModifiers.js +1 -1
- package/lib/FirestoreQuerySnapshot.js +1 -1
- package/lib/FirestoreSnapshotMetadata.js +1 -1
- package/lib/FirestoreStatics.js +2 -2
- package/lib/FirestoreTimestamp.js +1 -1
- package/lib/FirestoreTransaction.js +1 -1
- package/lib/FirestoreTransactionHandler.js +1 -1
- package/lib/FirestoreVectorValue.js +1 -1
- package/lib/FirestoreWriteBatch.js +1 -1
- package/lib/index.js +3 -3
- package/lib/modular/index.js +1 -2
- package/lib/modular/query.js +1 -1
- package/lib/modular/snapshot.js +1 -1
- package/lib/utils/index.js +1 -1
- package/lib/utils/serialize.js +1 -1
- package/lib/utils/typemap.js +1 -1
- package/lib/version.js +1 -1
- package/lib/web/RNFBFirestoreModule.js +6 -2
- package/lib/web/convert.js +1 -1
- package/lib/web/query.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,18 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [23.8.4](https://github.com/invertase/react-native-firebase/compare/v23.8.3...v23.8.4) (2026-01-24)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- internal cross-module references to transpiled code must be dist not src ([b03db0a](https://github.com/invertase/react-native-firebase/commit/b03db0aa3fb748ee039826ccd9c7e73bc3c78f6f))
|
|
11
|
+
|
|
12
|
+
## [23.8.3](https://github.com/invertase/react-native-firebase/compare/v23.8.2...v23.8.3) (2026-01-16)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **ios:** use react-native podspec module infra for deps ([c66eb63](https://github.com/invertase/react-native-firebase/commit/c66eb63f60cfbabdeb73a3bb1eff8735f11ad391))
|
|
17
|
+
|
|
6
18
|
## [23.8.2](https://github.com/invertase/react-native-firebase/compare/v23.8.1...v23.8.2) (2026-01-14)
|
|
7
19
|
|
|
8
20
|
**Note:** Version bump only for package @react-native-firebase/firestore
|
package/RNFBFirestore.podspec
CHANGED
|
@@ -29,10 +29,15 @@ Pod::Spec.new do |s|
|
|
|
29
29
|
s.tvos.deployment_target = firebase_tvos_target
|
|
30
30
|
s.source_files = 'ios/**/*.{h,m,mm}'
|
|
31
31
|
|
|
32
|
-
# React Native dependencies
|
|
33
|
-
s.dependency 'React-Core'
|
|
34
32
|
s.dependency 'RNFBApp'
|
|
35
33
|
|
|
34
|
+
# React Native dependencies
|
|
35
|
+
if defined?(install_modules_dependencies()) != nil
|
|
36
|
+
install_modules_dependencies(s);
|
|
37
|
+
else
|
|
38
|
+
s.dependency "React-Core"
|
|
39
|
+
end
|
|
40
|
+
|
|
36
41
|
if defined?($FirebaseSDKVersion)
|
|
37
42
|
Pod::UI.puts "#{s.name}: Using user specified Firebase SDK version '#{$FirebaseSDKVersion}'"
|
|
38
43
|
firebase_sdk_version = $FirebaseSDKVersion
|
package/lib/FirestoreBlob.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { Base64, isString } from '@react-native-firebase/app/
|
|
18
|
+
import { Base64, isString } from '@react-native-firebase/app/dist/module/common';
|
|
19
19
|
|
|
20
20
|
export default class FirestoreBlob {
|
|
21
21
|
constructor(internal = false, binaryString = undefined) {
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { generateFirestoreId, isObject } from '@react-native-firebase/app/
|
|
18
|
+
import { generateFirestoreId, isObject } from '@react-native-firebase/app/dist/module/common';
|
|
19
19
|
import FirestoreDocumentReference, {
|
|
20
20
|
provideCollectionReferenceClass,
|
|
21
21
|
} from './FirestoreDocumentReference';
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
* limitations under the License.
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
|
-
import { createDeprecationProxy } from '@react-native-firebase/app/
|
|
17
|
+
import { createDeprecationProxy } from '@react-native-firebase/app/dist/module/common';
|
|
18
18
|
import FirestoreDocumentSnapshot from './FirestoreDocumentSnapshot';
|
|
19
19
|
|
|
20
20
|
const TYPE_MAP = {
|
|
@@ -21,8 +21,8 @@ import {
|
|
|
21
21
|
isUndefined,
|
|
22
22
|
createDeprecationProxy,
|
|
23
23
|
filterModularArgument,
|
|
24
|
-
} from '@react-native-firebase/app/
|
|
25
|
-
import NativeError from '@react-native-firebase/app/
|
|
24
|
+
} from '@react-native-firebase/app/dist/module/common';
|
|
25
|
+
import NativeError from '@react-native-firebase/app/dist/module/internal/NativeFirebaseError';
|
|
26
26
|
import { parseSetOptions, parseSnapshotArgs, parseUpdateArgs } from './utils';
|
|
27
27
|
import { buildNativeMap, provideDocumentReferenceClass } from './utils/serialize';
|
|
28
28
|
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { isArray, isString } from '@react-native-firebase/app/
|
|
18
|
+
import { isArray, isString } from '@react-native-firebase/app/dist/module/common';
|
|
19
19
|
import FirestoreDocumentReference, {
|
|
20
20
|
provideDocumentSnapshotClass,
|
|
21
21
|
} from './FirestoreDocumentReference';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { isArray, isNumber } from '@react-native-firebase/app/
|
|
18
|
+
import { isArray, isNumber } from '@react-native-firebase/app/dist/module/common';
|
|
19
19
|
import { buildNativeArray, provideFieldValueClass } from './utils/serialize';
|
|
20
20
|
|
|
21
21
|
export const TypeFieldValueDelete = 'delete';
|
package/lib/FirestoreFilter.js
CHANGED
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
isString,
|
|
3
|
+
isNull,
|
|
4
|
+
isUndefined,
|
|
5
|
+
isArray,
|
|
6
|
+
} from '@react-native-firebase/app/dist/module/common';
|
|
2
7
|
import { fromDotSeparatedString } from './FirestoreFieldPath';
|
|
3
8
|
import { generateNativeData } from './utils/serialize';
|
|
4
9
|
import { OPERATORS } from './FirestoreQueryModifiers';
|
package/lib/FirestoreGeoPoint.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { isFinite, isNumber, isUndefined } from '@react-native-firebase/app/
|
|
18
|
+
import { isFinite, isNumber, isUndefined } from '@react-native-firebase/app/dist/module/common';
|
|
19
19
|
|
|
20
20
|
export default class FirestoreGeoPoint {
|
|
21
21
|
constructor(latitude, longitude) {
|
package/lib/FirestoreQuery.js
CHANGED
|
@@ -23,8 +23,8 @@ import {
|
|
|
23
23
|
isUndefined,
|
|
24
24
|
filterModularArgument,
|
|
25
25
|
createDeprecationProxy,
|
|
26
|
-
} from '@react-native-firebase/app/
|
|
27
|
-
import NativeError from '@react-native-firebase/app/
|
|
26
|
+
} from '@react-native-firebase/app/dist/module/common';
|
|
27
|
+
import NativeError from '@react-native-firebase/app/dist/module/internal/NativeFirebaseError';
|
|
28
28
|
import { FirestoreAggregateQuery } from './FirestoreAggregate';
|
|
29
29
|
import FirestoreDocumentSnapshot from './FirestoreDocumentSnapshot';
|
|
30
30
|
import FirestoreFieldPath, { fromDotSeparatedString } from './FirestoreFieldPath';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { isNumber } from '@react-native-firebase/app/
|
|
18
|
+
import { isNumber } from '@react-native-firebase/app/dist/module/common';
|
|
19
19
|
import FirestoreFieldPath, { DOCUMENT_ID } from './FirestoreFieldPath';
|
|
20
20
|
import { buildNativeArray, generateNativeData } from './utils/serialize';
|
|
21
21
|
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
isObject,
|
|
22
22
|
isUndefined,
|
|
23
23
|
createDeprecationProxy,
|
|
24
|
-
} from '@react-native-firebase/app/
|
|
24
|
+
} from '@react-native-firebase/app/dist/module/common';
|
|
25
25
|
import FirestoreDocumentChange from './FirestoreDocumentChange';
|
|
26
26
|
import FirestoreDocumentSnapshot from './FirestoreDocumentSnapshot';
|
|
27
27
|
import FirestoreSnapshotMetadata from './FirestoreSnapshotMetadata';
|
package/lib/FirestoreStatics.js
CHANGED
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { createDeprecationProxy } from '@react-native-firebase/app/
|
|
19
|
-
import { getReactNativeModule } from '@react-native-firebase/app/
|
|
18
|
+
import { createDeprecationProxy } from '@react-native-firebase/app/dist/module/common';
|
|
19
|
+
import { getReactNativeModule } from '@react-native-firebase/app/dist/module/internal/nativeModule';
|
|
20
20
|
import FirestoreBlob from './FirestoreBlob';
|
|
21
21
|
import FirestoreFieldPath from './FirestoreFieldPath';
|
|
22
22
|
import FirestoreFieldValue from './FirestoreFieldValue';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { isDate, isNumber } from '@react-native-firebase/app/
|
|
18
|
+
import { isDate, isNumber } from '@react-native-firebase/app/dist/module/common';
|
|
19
19
|
|
|
20
20
|
// The earlist date supported by Firestore timestamps (0001-01-01T00:00:00Z).
|
|
21
21
|
const MIN_SECONDS = -62135596800;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { isObject, createDeprecationProxy } from '@react-native-firebase/app/
|
|
18
|
+
import { isObject, createDeprecationProxy } from '@react-native-firebase/app/dist/module/common';
|
|
19
19
|
import FirestoreDocumentReference from './FirestoreDocumentReference';
|
|
20
20
|
import FirestoreDocumentSnapshot from './FirestoreDocumentSnapshot';
|
|
21
21
|
import { parseSetOptions, parseUpdateArgs } from './utils';
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import NativeError from '@react-native-firebase/app/
|
|
18
|
+
import NativeError from '@react-native-firebase/app/dist/module/internal/NativeFirebaseError';
|
|
19
19
|
import FirestoreTransaction from './FirestoreTransaction';
|
|
20
20
|
|
|
21
21
|
let transactionId = 0;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
import { isObject } from '@react-native-firebase/app/
|
|
18
|
+
import { isObject } from '@react-native-firebase/app/dist/module/common';
|
|
19
19
|
import FirestoreDocumentReference from './FirestoreDocumentReference';
|
|
20
20
|
import { parseSetOptions, parseUpdateArgs } from './utils';
|
|
21
21
|
import { buildNativeMap } from './utils/serialize';
|
package/lib/index.js
CHANGED
|
@@ -24,13 +24,13 @@ import {
|
|
|
24
24
|
isUndefined,
|
|
25
25
|
isAndroid,
|
|
26
26
|
createDeprecationProxy,
|
|
27
|
-
} from '@react-native-firebase/app/
|
|
28
|
-
import { setReactNativeModule } from '@react-native-firebase/app/
|
|
27
|
+
} from '@react-native-firebase/app/dist/module/common';
|
|
28
|
+
import { setReactNativeModule } from '@react-native-firebase/app/dist/module/internal/nativeModule';
|
|
29
29
|
import {
|
|
30
30
|
createModuleNamespace,
|
|
31
31
|
FirebaseModule,
|
|
32
32
|
getFirebaseRoot,
|
|
33
|
-
} from '@react-native-firebase/app/
|
|
33
|
+
} from '@react-native-firebase/app/dist/module/internal';
|
|
34
34
|
import FirestoreCollectionReference from './FirestoreCollectionReference';
|
|
35
35
|
import FirestoreDocumentReference from './FirestoreDocumentReference';
|
|
36
36
|
import FirestorePath from './FirestorePath';
|
package/lib/modular/index.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { getApp, setLogLevel as appSetLogLevel } from '@react-native-firebase/app';
|
|
16
|
-
import { isObject } from '@react-native-firebase/app/
|
|
16
|
+
import { isObject, MODULAR_DEPRECATION_ARG } from '@react-native-firebase/app/dist/module/common';
|
|
17
17
|
import {
|
|
18
18
|
FirestoreAggregateQuerySnapshot,
|
|
19
19
|
AggregateField,
|
|
@@ -21,7 +21,6 @@ import {
|
|
|
21
21
|
fieldPathFromArgument,
|
|
22
22
|
} from '../FirestoreAggregate';
|
|
23
23
|
import FirestoreQuery from '../FirestoreQuery';
|
|
24
|
-
import { MODULAR_DEPRECATION_ARG } from '../../../app/lib/common';
|
|
25
24
|
|
|
26
25
|
/**
|
|
27
26
|
* @param {FirebaseApp?} app
|
package/lib/modular/query.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
* @typedef {import('./query').QueryOrderByConstraint} QueryOrderByConstraint
|
|
16
16
|
* @typedef {import('./query').QueryStartAtConstraint} QueryStartAtConstraint
|
|
17
17
|
*/
|
|
18
|
-
import { MODULAR_DEPRECATION_ARG } from '@react-native-firebase/app/
|
|
18
|
+
import { MODULAR_DEPRECATION_ARG } from '@react-native-firebase/app/dist/module/common';
|
|
19
19
|
import { _Filter, Filter } from '../FirestoreFilter';
|
|
20
20
|
|
|
21
21
|
/**
|
package/lib/modular/snapshot.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @typedef {import('snapshot').Unsubscribe} Unsubscribe
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { MODULAR_DEPRECATION_ARG } from '
|
|
7
|
+
import { MODULAR_DEPRECATION_ARG } from '@react-native-firebase/app/dist/module/common';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* @param {Query | DocumentReference} reference
|
package/lib/utils/index.js
CHANGED
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
isObject,
|
|
24
24
|
isString,
|
|
25
25
|
isUndefined,
|
|
26
|
-
} from '@react-native-firebase/app/
|
|
26
|
+
} from '@react-native-firebase/app/dist/module/common';
|
|
27
27
|
import FirestoreFieldPath, { fromDotSeparatedString } from '../FirestoreFieldPath';
|
|
28
28
|
|
|
29
29
|
export function extractFieldPathData(data, segments) {
|
package/lib/utils/serialize.js
CHANGED
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
isObject,
|
|
25
25
|
isString,
|
|
26
26
|
isUndefined,
|
|
27
|
-
} from '@react-native-firebase/app/
|
|
27
|
+
} from '@react-native-firebase/app/dist/module/common';
|
|
28
28
|
import FirestoreBlob from '../FirestoreBlob';
|
|
29
29
|
import { DOCUMENT_ID } from '../FirestoreFieldPath';
|
|
30
30
|
import FirestoreGeoPoint from '../FirestoreGeoPoint';
|
package/lib/utils/typemap.js
CHANGED
package/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
module.exports = '23.8.
|
|
2
|
+
module.exports = '23.8.4';
|
|
@@ -20,8 +20,12 @@ import {
|
|
|
20
20
|
updateDoc,
|
|
21
21
|
writeBatch,
|
|
22
22
|
terminate,
|
|
23
|
-
} from '@react-native-firebase/app/
|
|
24
|
-
import {
|
|
23
|
+
} from '@react-native-firebase/app/dist/module/internal/web/firebaseFirestore';
|
|
24
|
+
import {
|
|
25
|
+
guard,
|
|
26
|
+
getWebError,
|
|
27
|
+
emitEvent,
|
|
28
|
+
} from '@react-native-firebase/app/dist/module/internal/web/utils';
|
|
25
29
|
import { objectToWriteable, readableToObject, parseDocumentBatches } from './convert';
|
|
26
30
|
import { buildQuery } from './query';
|
|
27
31
|
|
package/lib/web/convert.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
arrayRemove,
|
|
13
13
|
vector,
|
|
14
14
|
VectorValue,
|
|
15
|
-
} from '@react-native-firebase/app/
|
|
15
|
+
} from '@react-native-firebase/app/dist/module/internal/web/firebaseFirestore';
|
|
16
16
|
|
|
17
17
|
const INT_NAN = 0;
|
|
18
18
|
const INT_NEGATIVE_INFINITY = 1;
|
package/lib/web/query.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
endBefore,
|
|
12
12
|
and,
|
|
13
13
|
or,
|
|
14
|
-
} from '@react-native-firebase/app/
|
|
14
|
+
} from '@react-native-firebase/app/dist/module/internal/web/firebaseFirestore';
|
|
15
15
|
import { parseTypeMap, readableToArray } from './convert';
|
|
16
16
|
|
|
17
17
|
export function buildQuery(queryInstance, filters, orders, options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native-firebase/firestore",
|
|
3
|
-
"version": "23.8.
|
|
3
|
+
"version": "23.8.4",
|
|
4
4
|
"author": "Invertase <oss@invertase.io> (http://invertase.io)",
|
|
5
5
|
"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.",
|
|
6
6
|
"main": "lib/index.js",
|
|
@@ -30,11 +30,11 @@
|
|
|
30
30
|
"react-native-url-polyfill": "3.0.0"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"@react-native-firebase/app": "23.8.
|
|
33
|
+
"@react-native-firebase/app": "23.8.4"
|
|
34
34
|
},
|
|
35
35
|
"publishConfig": {
|
|
36
36
|
"access": "public",
|
|
37
37
|
"provenance": true
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "30df38f6df8750ff753566eb961bb46c10a84fed"
|
|
40
40
|
}
|