50 KiB
11.4.1 (2024-09-20)
Bug Fixes
- ensure one reachability check in-flight at once / proper useEffect listener cleanup (#732) (eaed080)
11.4.0 (2024-09-12)
Features
11.3.3 (2024-09-12)
Bug Fixes
11.3.2 (2024-05-11)
Bug Fixes
11.3.1 (2024-02-27)
Bug Fixes
11.3.0 (2024-02-14)
Features
11.2.1 (2023-12-12)
Bug Fixes
11.2.0 (2023-12-05)
Features
11.1.1 (2023-11-29)
Bug Fixes
11.1.0 (2023-11-08)
Features
- add useNetInfoInstance - a non singleton-state hook to manage configs / events independently (#687) (ca4c586)
11.0.1 (2023-11-07)
Bug Fixes
11.0.0 (2023-11-04)
- feat(android)!: specify export mode on BroadcastReceivers, requires compileSdk 33+ (#692) (a5864cc), closes #692
BREAKING CHANGES
-
- compileSdk minimum is now 33
- windows SDK minimum bumped to 10.0.17763.0 for current react-native-windows
10.0.0 (2023-11-01)
- fix(cancel)!: cancel _checkInternetReachability request on timeout & cancel via AbortController (#678) (4bfd3e2), closes #678 /github.com/react-native-netinfo/react-native-netinfo/issues/439#issue-787487438
BREAKING CHANGES
- netinfo now requires AbortController, node v16 / edge required it will likely not work on internet explorer from this version onwards
9.5.0 (2023-11-01)
Features
9.4.2 (2023-11-01)
Bug Fixes
- types: add optional isWifiEnabled boolean to NetInfoUnknownState + NetInfoDisconnectedState (#680) (46c4c71)
9.4.1 (2023-06-29)
Bug Fixes
9.4.0 (2023-06-29)
Features
9.3.11 (2023-06-29)
Bug Fixes
9.3.10 (2023-05-05)
Bug Fixes
9.3.9 (2023-04-06)
Bug Fixes
9.3.8 (2023-03-29)
Bug Fixes
9.3.7 (2022-11-28)
Bug Fixes
9.3.6 (2022-10-26)
Bug Fixes
9.3.5 (2022-10-15)
Bug Fixes
9.3.4 (2022-10-05)
Bug Fixes
9.3.3 (2022-10-02)
Bug Fixes
9.3.2 (2022-09-25)
Bug Fixes
9.3.1 (2022-09-18)
Bug Fixes
9.3.0 (2022-06-28)
Features
9.2.0 (2022-06-28)
Features
9.1.0 (2022-06-24)
Features
- add parameter useNativeReachability to optionally choose non-native reachability test (#609) (9b02cac)
9.0.0 (2022-06-03)
- fix(windows)!: change WindowsTargetPlatformVersion to 10.0 / drop arm32 / drop rnw < 0.63 (#603) (16d6568), closes #603
BREAKING CHANGES
- needs react-native-windows 0.63+ and MSVC build tools v142+ (Visual Studio 2019+), drop arm32
8.3.1 (2022-05-30)
Bug Fixes
8.3.0 (2022-04-22)
Features
8.2.0 (2022-03-18)
Features
8.1.0 (2022-03-02)
Features
8.0.0 (2022-02-10)
- fix(CHANGELOG)!: note that v7.1.12 is breaking if you have wifi SSID permission (#574) (99072e0), closes #574
BREAKING CHANGES
- it's possible this is a breaking change, depending on your app use case. If you relied on iOS SSID information and met Apple's strict criteria for accessing SSID, you need to set the new config value
shouldFetchWiFiSSIDto true. If you set it to true and do not meet the criteria your app may crash due to a memory leak. All versions prior to 7.1.12 would attempt to fetch the information regardless of permission, leak memory, and possibly crash. This change avoids that crash.
7.1.12 (2022-02-09)
BREAKING CHANGE NOTICE - it's possible this is a breaking change, depending on your app use case. If you relied on iOS SSID information and met Apple's strict criteria for accessing SSID, you need to set the new config value shouldFetchWiFiSSID to true. If you set it to true and do not meet the criteria your app may crash due to a memory leak. All versions prior to 7.1.12 would attempt to fetch the information regardless of permission, leak memory, and possible crash. This change avoids that crash.
Bug Fixes
7.1.11 (2022-02-08)
Bug Fixes
7.1.10 (2022-02-07)
Bug Fixes
7.1.9 (2022-01-26)
Bug Fixes
7.1.8 (2022-01-25)
Bug Fixes
7.1.7 (2021-12-20)
Bug Fixes
7.1.6 (2021-12-13)
Bug Fixes
7.1.5 (2021-12-09)
Bug Fixes
7.1.4 (2021-12-07)
Bug Fixes
7.1.3 (2021-11-29)
Bug Fixes
7.1.2 (2021-11-17)
Bug Fixes
7.1.1 (2021-11-17)
Bug Fixes
7.1.0 (2021-11-17)
Features
7.0.0 (2021-11-16)
BREAKING CHANGES
- Drop support for react-native-windows 0.61 and lower. Update to RNW 0.62 or higher
6.2.1 (2021-11-15)
Bug Fixes
6.2.0 (2021-11-13)
Features
6.1.1 (2021-11-13)
Bug Fixes
6.1.0 (2021-11-07)
Features
6.0.6 (2021-11-04)
Bug Fixes
- windows, crash: try/catch fetching network profile, new windows example app (#511) (ef3ac76), closes #454
6.0.5 (2021-11-03)
Bug Fixes
6.0.4 (2021-10-22)
Bug Fixes
6.0.3 (2021-10-22)
Bug Fixes
6.0.2 (2021-09-03)
Bug Fixes
6.0.1 (2021-08-24)
Bug Fixes
- Ensure warnings are not shown on React Native 0.65 (#487 by @lubomyr) (ac0ed65)
- android: isConnected is incorrect for wifi networks only the app has access to (#443 by @eliaslecomte) (7084771)
6.0.0 (2021-02-19)
feature
- useNetinfo: return null for initial unknown connection state (#444 by @lisabaut) (4d84f14), closes #295
BREAKING CHANGES
- useNetinfo: When the connection state is unknown, the
isConnectedandisInternetReachableproperties are now set tonullrather thanfalse. This allow you to easily detect the initial "unknown" state before the state is detected and set to aboolean.
5.9.10 (2021-01-06)
Bug Fixes
- ios,tvos: Remove IPv4-only paths to prevent App Store warnings (#431 by @ greenantdotcom ) (1db98cb)
5.9.9 (2020-11-23)
Bug Fixes
5.9.8 (2020-11-23)
Bug Fixes
- windows: Resolve Missing Deploy Target (#426 by @chiaramooney) (b43a3e4)
5.9.7 (2020-09-18)
Bug Fixes
5.9.6 (2020-08-10)
Bug Fixes
5.9.5 (2020-07-16)
Bug Fixes
5.9.4 (2020-06-25)
Bug Fixes
- android: Add another check in ConnectivityReciever to make sure we have ACCESS_WIFI_STATE permission (#379 by @sweggersen) (b0ff1ff)
5.9.3 (2020-06-19)
Bug Fixes
5.9.2 (2020-05-26)
Bug Fixes
- Android: Do not use getFrequency method for Android lower than LOLLIPOP (#367 by @ObidosDev) (4957aaa)
5.9.1 (2020-05-24)
Bug Fixes
5.9.0 (2020-05-18)
Features
- android: Add BSSID WIFI type (#361 by @organom) (b99e1d6)
- android: Add WiFi frequency value (#362 by @kulyk) (6d95244)
5.8.1 (2020-05-11)
Bug Fixes
5.8.0 (2020-04-22)
Features
- windows: Add C++/WinRT Implementation to support the latest react-native-windows (#349 by @kaiguo) (18e2f20)
5.7.1 (2020-04-14)
Bug Fixes
- Fix the provided Jest mock so it works with the instructions in the README (a24ebb1), closes #345 #327
5.7.0 (2020-03-30)
Bug Fixes
- macos: Ensure macOS files are included in the NPM package (#335 by @matt-oakes) (742c79a)
Features
- android: Make the ACCESS_WIFI_STATE permission optional (#328 by @sweggersen) (ba16e0a)
5.6.2 (2020-03-11)
Bug Fixes
5.6.1 (2020-03-10)
Bug Fixes
- Ensure the default timeouts are the correct way around (4e3e981)
5.6.0 (2020-03-10)
Features
5.5.1 (2020-02-23)
Bug Fixes
- Remove use of
Promise.prototype.finallyto prevent possible compatibility issues (#311 by @davidstritzl) (c0e6f62)
5.5.0 (2020-02-12)
Features
5.4.0 (2020-02-12)
Features
- Add reachability request timeout to improve handling of bad network connections (#302 by @davidstritzl) (9eb1531)
5.3.4 (2020-02-12)
Bug Fixes
- Correct reachability timeouts in default configuration (#301 by @davidstritzl) (f74b8cc)
5.3.3 (2020-01-15)
Bug Fixes
5.3.2 (2020-01-06)
Bug Fixes
- tvOS: Fixed a crash with tvOS builds caused by trying to use the ssid method (#283 by @vdmtrv) (a0191e0)
5.3.1 (2020-01-04)
Bug Fixes
5.3.0 (2020-01-04)
Features
5.2.0 (2019-12-29)
Features
5.1.0 (2019-12-29)
Features
- Android: Add information about whether Wifi is enabled (#255 by @gabrielrra) (1006966)
5.0.2 (2019-12-29)
Bug Fixes
5.0.1 (2019-12-20)
Bug Fixes
- Ensure passing no configuration to the hook works correctly (#264 by @lonnylot) (e3fc1b4), closes #262
5.0.0 (2019-12-08)
Features
BREAKING CHANGES
- Previously deprecated methods have been removed. These methods have been deprecated since this library was extracted from the core of React Native. Most users will not have any issues with migrating if they were not ignoring the previous warnings.
Added a new way to configure the reachability URL that the library uses on iOS to check for an internet connection. The default is still to use the Google Chrome URL, however, you can now customise this URL, test function, and the timeouts that are used.
4.7.0 (2019-12-08)
Bug Fixes
- Android: Allow using androidXCore together with supportLibVersion (#247 by @euharrison) (37366ee)
Features
- fireOS: Add ability to detect network reachability on FireOS devices (#250 by @fxdemolisher) (5ae653f)
4.6.2 (2019-12-08)
Bug Fixes
4.6.1 (2019-11-17)
Bug Fixes
- Remove Android Spotless formatter to avoid issues with resolving plugins (1c2de77), closes #243 #213
4.6.0 (2019-11-03)
Features
4.5.0 (2019-11-03)
Features
- ios: Report IP address and subnet for ethernet (#233 by @gcesarmza) (507b731)
4.4.0 (2019-10-06)
Features
- iOS: Detect Apple TV wired connection and retrieve the Wifi IP address & subnet (#229 by @gcesarmza) (2d2d167)
4.3.3 (2019-10-04)
Bug Fixes
- Android: Fix build.gradle react-native dependency version (#218 by @friederbluemle) (1bfb425)
4.3.2 (2019-10-04)
Bug Fixes
4.3.1 (2019-10-03)
Bug Fixes
4.3.0 (2019-09-30)
Features
4.2.2 (2019-09-19)
Bug Fixes
4.2.1 (2019-09-07)
Bug Fixes
4.2.0 (2019-09-03)
Features
4.1.5 (2019-08-17)
Bug Fixes
4.1.4 (2019-08-06)
Bug Fixes
4.1.3 (2019-07-21)
Bug Fixes
4.1.2 (2019-07-19)
Bug Fixes
4.1.1 (2019-07-15)
Bug Fixes
- Android: Add a null check for mCellularGeneration to avoid a crash (#143 by @matt-oakes) (097244e)
4.1.0 (2019-07-13)
Features
- Add support for internet reachability detection (#116 by @matt-oakes) (6c03502)
4.0.0 (2019-07-06)
Features
- android: Migrate to Android X (#131 by @thedeepanshujain) (7994bc7)
BREAKING CHANGES
- android: You are required to only use either the Support Library or AndroidX for your dependencies. If you need to migrate this library back to the support library, or another library forward to AndroidX, then take a look at the Jetifier tool.
3.2.1 (2019-06-01)
Bug Fixes
- Update iOS deployment target min to avoid a warning (#112 by @mikehardy) (c05df9b)
3.2.0 (2019-05-26)
Features
3.1.3 (2019-05-24)
Bug Fixes
- types: generates index.d.ts instead of using index.ts directly so skipLibs works correctly (#105) (d733b5b)
3.1.2 (2019-05-24)
Bug Fixes
3.1.1 (2019-05-24)
Bug Fixes
3.1.0 (2019-05-18)
Features
3.0.2 (2019-05-18)
Bug Fixes
3.0.1 (2019-05-17)
Bug Fixes
- Fix an issue in the Android de-duplication code (de12dd5)
3.0.0 (2019-05-17)
Features
BREAKING CHANGES
- See the README for full details.