Skip to content

Commit ce4b0df

Browse files
committed
chore(repack): Release version 3.1.0
1 parent 47bdd09 commit ce4b0df

9 files changed

+33
-38
lines changed

.changeset/breezy-cougars-learn.md

-5
This file was deleted.

.changeset/gold-cows-raise.md

-17
This file was deleted.

.changeset/hungry-ligers-reflect.md

-5
This file was deleted.

.changeset/six-falcons-heal.md

-5
This file was deleted.

packages/TesterApp/ios/Podfile.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
PODS:
22
- boost (1.76.0)
3-
- callstack-repack (3.0.1):
3+
- callstack-repack (3.1.0):
44
- React-Core
55
- CocoaAsyncSocket (7.6.5)
66
- DoubleConversion (1.1.6)
@@ -532,7 +532,7 @@ EXTERNAL SOURCES:
532532

533533
SPEC CHECKSUMS:
534534
boost: a7c83b31436843459a1961bfd74b96033dc77234
535-
callstack-repack: 8b68d1e0e25794b00eadab0acbf05fb3e802b94c
535+
callstack-repack: 13e4127b55d14844b0d9f7daab7d409687b9145b
536536
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
537537
DoubleConversion: 831926d9b8bf8166fd87886c4abab286c2422662
538538
FBLazyVector: a7a655862f6b09625d11c772296b01cd5164b648

packages/TesterApp/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test": "vitest run"
1515
},
1616
"dependencies": {
17-
"@callstack/repack": "3.0.1",
17+
"@callstack/repack": "3.1.0",
1818
"@react-native-async-storage/async-storage": "^1.15.4",
1919
"lodash.throttle": "^4.1.1",
2020
"react": "17.0.2",

packages/repack/CHANGELOG.md

+27
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,31 @@
11
# @callstack/repack
22

3+
## 3.1.0
4+
5+
### Minor Changes
6+
7+
- [#287](https://github.com/callstack/repack/pull/287) [`47bdd09`](https://github.com/callstack/repack/commit/47bdd09f22e1ebf9cdfc29f0bb157a68f7af5b44) Thanks [@andrewworld](https://github.com/andrewworld)!
8+
9+
A new optional callback `shouldUpdateScript` was added. It could be passed into so-called _locator_ config in `addResolver` callback function return statement. Its main usage would be to ask a user whether they want to download the latest update of Federated Scripts or not (for example – if they are not connected to wifi and they would rather save their cellular data).
10+
11+
```
12+
shouldUpdateScript?: (
13+
scriptId?: string,
14+
caller?: string,
15+
isScriptCacheOutdated?: boolean
16+
) => Promise<boolean> | boolean;
17+
```
18+
19+
More info and a set of examples describing what are the intended usages of this API will be published soon in a form of a guide in Repack docs. For now, if you're interested in playing with this API please refer to the linked PR or to the [API docs](https://re-pack.netlify.app/docs/api/repack/client/interfaces/ScriptLocator#shouldupdatescript)
20+
21+
### Patch Changes
22+
23+
- [#293](https://github.com/callstack/repack/pull/293) [`7eeca5e`](https://github.com/callstack/repack/commit/7eeca5ed2619e7678ef88d8fb45735c14f1ecc75) Thanks [@RafikiTiki](https://github.com/RafikiTiki)! - Removed usage of deprecated jcenter repository from `build.gradle`.
24+
25+
* [#288](https://github.com/callstack/repack/pull/288) [`7e0092e`](https://github.com/callstack/repack/commit/7e0092e9554e26a1de405261fb56c1e6b886e261) Thanks [@RafikiTiki](https://github.com/RafikiTiki)! - Fix [#258](https://github.com/callstack/repack/issues/293) – previously `entryName` config value was not passed from `RepackPlugin` to the `OutputPlugin`.
26+
27+
- [#294](https://github.com/callstack/repack/pull/294) [`28cc721`](https://github.com/callstack/repack/commit/28cc721e8d6ac085bc66c47e627633046cb0d644) Thanks [@RafikiTiki](https://github.com/RafikiTiki)! - Updated kotlin-gradle-plugin version used by Repack to `1.7.0`.
28+
329
## 3.0.1
430

531
### Patch Changes
@@ -10,6 +36,7 @@
1036

1137
- [#256](https://github.com/callstack/repack/pull/256) [`7348b56`](https://github.com/callstack/repack/commit/7348b5628158e11c617e4499095fd108a3740a03) Thanks [@meypod](https://github.com/meypod)! - Fix assetsCache miss on Windows
1238
- [#276](https://github.com/callstack/repack/pull/276) [`a15e881`](https://github.com/callstack/repack/commit/a15e8816c640c6627ef3ebb5a9d18b58f7178c6f) Thanks [@RafikiTiki](https://github.com/RafikiTiki)! - Fix: assetsCache not available on Windows platform due to problem with path encoding
39+
1340
- [#255](https://github.com/callstack/repack/pull/255) [`d974069`](https://github.com/callstack/repack/commit/d974069ab2e7abee2a4b7103a8a86fe476fc122a) Thanks [@meypod](https://github.com/meypod)! - Fix v3 `debugger-app` not working on Windows platform
1441

1542
#### Quality of life improvements:

packages/repack/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@callstack/repack",
3-
"version": "3.0.1",
3+
"version": "3.1.0",
44
"description": "A Webpack-based toolkit to build your React Native application with full support of Webpack ecosystem.",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

yarn.lock

+2-2
Original file line numberDiff line numberDiff line change
@@ -3685,7 +3685,7 @@ __metadata:
36853685
languageName: unknown
36863686
linkType: soft
36873687

3688-
"@callstack/repack@3.0.1, @callstack/repack@workspace:packages/repack":
3688+
"@callstack/repack@3.1.0, @callstack/repack@workspace:packages/repack":
36893689
version: 0.0.0-use.local
36903690
resolution: "@callstack/repack@workspace:packages/repack"
36913691
dependencies:
@@ -28623,7 +28623,7 @@ __metadata:
2862328623
"@babel/core": ^7.12.9
2862428624
"@babel/runtime": ^7.12.5
2862528625
"@callstack/eslint-config": ^12.0.2
28626-
"@callstack/repack": 3.0.1
28626+
"@callstack/repack": 3.1.0
2862728627
"@react-native-async-storage/async-storage": ^1.15.4
2862828628
"@svgr/webpack": ^6.2.1
2862928629
"@types/get-port": ^4.2.0

0 commit comments

Comments
 (0)