repack icon indicating copy to clipboard operation
repack copied to clipboard

feat: expose cache entry on shouldUpdateScript

Open ElielC opened this issue 2 months ago • 5 comments

Summary

Exposes a new property on locator.shouldUpdateScript in order to enable more custom caching behaviors on afterResolve hooks, following this discussion

Test plan

Ensure all tests pass and there are no regression issues

ElielC avatar Dec 09 '25 18:12 ElielC

🦋 Changeset detected

Latest commit: 864bb7b19ef0099fd753787324bab95c2569037b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 6 packages
Name Type
@callstack/repack Major
@callstack/repack-plugin-expo-modules Major
@callstack/repack-plugin-nativewind Major
@callstack/repack-plugin-reanimated Major
@callstack/repack-dev-server Major
@callstack/repack-init Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Dec 09 '25 18:12 changeset-bot[bot]

@ElielC is attempting to deploy a commit to the Callstack Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Dec 09 '25 18:12 vercel[bot]

Nice one @ElielC 🙌

dannyhw avatar Dec 09 '25 18:12 dannyhw

The changeset bot references the release as a Major, but i created the changeset as a Minor release, is that right?

ElielC avatar Dec 10 '25 12:12 ElielC

Thats strange, @jbroma is this a bug with the changesets bot?

dannyhw avatar Dec 10 '25 13:12 dannyhw