Skip to content

Releases: RakaDoank/ping-react-native

v2.1.1

Choose a tag to compare

@RakaDoank RakaDoank released this 21 Jan 13:06

Just an README.md update for the ping-react-native library due to example app directory has moved.

Internal:

This repo has multiple example apps now, but it's just a platform separation. It's too difficult to make macOS (and even Windows later) in a single React Native / Expo project directory.

v2.1.0

Choose a tag to compare

@RakaDoank RakaDoank released this 16 Jan 18:04

This release includes all the source code of the library to registry. It might useful in the future if you want to patch this library with patch-package and use the original source code (you also need to patch the package.json file to link to the source code correctly)

Library:

Internal:

  • Rewrite Entire Example App and Migrate to Expo (c170af1)
  • Use TypeScript project references (3d0a2b7)

v2.0.0

Choose a tag to compare

@RakaDoank RakaDoank released this 02 Nov 13:41
bb8a97d

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

Choose a tag to compare

@RakaDoank RakaDoank released this 26 Sep 14:31

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

Choose a tag to compare

@RakaDoank RakaDoank released this 13 Sep 11:10

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

Choose a tag to compare

@RakaDoank RakaDoank released this 07 Sep 15:04

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

Choose a tag to compare

@RakaDoank RakaDoank released this 10 Aug 15:14

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

Choose a tag to compare

@RakaDoank RakaDoank released this 26 Jul 13:39

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

Choose a tag to compare

@RakaDoank RakaDoank released this 26 Jul 13:00

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

  • fix include apple directory (25a9c67)

v1.1.1

Choose a tag to compare

@RakaDoank RakaDoank released this 26 Jul 11:38

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)