react-native-url-polyfill icon indicating copy to clipboard operation
react-native-url-polyfill copied to clipboard

Release for RN 0.78 support

Open bacarybruno opened this issue 7 months ago • 4 comments

Thanks for the great work on this project!

I noticed that a fix targeting react-native 0.78 I’m interested in has already been merged into master https://github.com/charpeni/react-native-url-polyfill/commit/6160f008556ce0497705761423a730cc5aa16a17. I was wondering if there’s an estimated timeline for the next release that will include this fix?

Appreciate your time, and thanks again!

bacarybruno avatar May 12 '25 11:05 bacarybruno

@bacarybruno is it creating an issue in your app? If so, happy to release today (in a few hours).

charpeni avatar May 12 '25 11:05 charpeni

To be honest, I haven't tested it on my app. We're planning a migration to React Native 0.78. I was just checking the latest updates on the package and found that one that I thought was important to reduce migration risks.

Edit: we are not using the blob polyfill so it does work

bacarybruno avatar May 12 '25 12:05 bacarybruno

Turns out we are not using the Blob polyfill. It's not a blocker for our upgrade but it would be more reassuring to have it before

bacarybruno avatar May 14 '25 09:05 bacarybruno

@bacarybruno is it creating an issue in your app? If so, happy to release today (in a few hours).

After I upgraded to RN 0.78, the library failed to parse the URL with # and could not get the parameter value.

For example:

const url = new URL('http://bsp.example.com/scan?SN=#980ant7k1f');
const sn = url.searchParams.get('SN');
console.log('param', sn);

1280103995 avatar May 15 '25 07:05 1280103995

@bacarybruno I am currently on react-native 0.81.4 with node 20.19.4 and URL doesn't work at all, like lib isn't there.

LukaZagar1995 avatar Sep 15 '25 17:09 LukaZagar1995

Getting the CI pipeline back to life and will release a new version.

charpeni avatar Sep 19 '25 17:09 charpeni

@charpeni When can we expect the new version

aman003malhotra avatar Sep 24 '25 08:09 aman003malhotra

It was released a few seconds ago as 3.0.0! :tada:

charpeni avatar Sep 24 '25 15:09 charpeni