Skip to content

Releases: RakaDoank/ping-react-native

v2.0.0

02 Nov 13:41
bb8a97d

Choose a tag to compare

It's too verbosey to include the start and stop method in the useICMP hook, even it's not that good in the rule of React hooks. The imperative methods have been removed. Instead, use the enabled option.

See the migration guide

Library:

Internal:

ESLint

This project is linted with the eslint-plugin-react-hooks v7 to improve the React Hooks usage including improvement of the useICMP (that's why the start and the stop method has been removed in some reasons).

Trusted Publishing

This project is not using npm token anymore to publish the ping-react-native package. Instead, publish the package to the npm registry securely and directly from CI/CD workflow using OpenID Connnect (OIDC) for authentication.

v1.3.2

26 Sep 14:31

Choose a tag to compare

This version for iOS and macOS fix that never got the TIMEDOUT status.

Library:

  • fix: timedout status was never sent before (cf9b082)

Internal:

  • add eslint-plugin-import-x rules (17a6349)

v1.3.1

13 Sep 11:10

Choose a tag to compare

Library:

  • fix: UNKNOWN_HOST status shouldn't be repeated in Android (beebe18)
  • Update README.md (1466fdc) - README of the library in npm registry was not updated

Internal:

  • fix: code-check (7ec6701)
  • lint example react native files (a7de763)
  • Update Podfile.lock (3640d57)
  • upgrade RN example app to 0.81.4 (c1a9ca3)

v1.3.0

07 Sep 15:04

Choose a tag to compare

New APIs in this release, check out getHostname and getHostAddress.

Library:

Internal:

  • fix lint rule [f84b8bf]
  • Update pnpm-workspace.yaml [64319a1] (just for the sake of readibility)
  • internal update deps [0dbed2c]
  • provide getHostname and getHostAddress example [540c96c]

v1.2.3

10 Aug 15:14

Choose a tag to compare

Due to explanation on this PR. Fix library can't be used at all in new architecture because React Native Codegen can't find library's package.json file.

  • hotfix: help codegen find package.json (5923e95)

v1.2.2

26 Jul 13:39

Choose a tag to compare

It's now supported for macOS. Try react-native-macos now!.

  • explicit osx minimum version without rn def (d65930d)
  • Update README.md (62ed505)
  • add support for macOS (2a3fafa)

v1.1.2

26 Jul 13:00

Choose a tag to compare

Fix Apple platforms. The apple directory was not included on publish in v1.1

  • fix include apple directory (25a9c67)

v1.1.1

26 Jul 11:38

Choose a tag to compare

This library is now supported for the legacy architecture of React Native for iOS. The macOS platform is ongoing.

  • Update README.md (07fd24f)
  • support iOS legacy architecture (d60f180)
  • forgot to remove import of SimplePing header (de0b57d)

v1.0.5

23 Jul 06:52

Choose a tag to compare

Hotfix for old architecture in Android platform

  • mark isReachable and getHostName old architecture until it's ready (3ef124c)
  • Update README.md (f6e91f4)

v1.0.4

21 Jul 06:43

Choose a tag to compare

Fix React Native Codegen by include src/native-module directory on published

  • include src/native-module (b807dac)
  • fix ts types path declaration (0271390)