Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
e90c62c
Bump lodash from 4.17.15 to 4.17.19 (#126)
dependabot[bot] Jul 21, 2020
cdc8f8e
chore: Add semantic-release
Rapsssito Aug 15, 2020
2f0b6e0
chore(release): 3.2.0 [skip ci]
semantic-release-bot Aug 15, 2020
8147549
chore: Add work-in-progress non-stale label
Rapsssito Aug 22, 2020
529a756
chore: Update example to RN 0.63.2
Rapsssito Aug 22, 2020
d8b2ffb
chore: Refresh README docs
Rapsssito Aug 22, 2020
2f8dc35
feat: Match NodeJS dgram API (#133)
Rapsssito Aug 30, 2020
fbda4cb
chore(release): 4.0.0 [skip ci]
semantic-release-bot Aug 30, 2020
7a40c18
chore: Fix README typo
Rapsssito Aug 30, 2020
ee49ec4
chore: Update "Support me" link
Rapsssito Aug 30, 2020
1bfff56
chore: Update README usage example
Rapsssito Aug 30, 2020
74d75c1
fix: Add missing attribute "homepage" to package.json (#135)
jackyy415 Sep 1, 2020
99beac9
chore(release): 4.0.1 [skip ci]
semantic-release-bot Sep 1, 2020
af36905
fix: Add backwards compatiblity with CommonJS require() (#137)
Rapsssito Sep 6, 2020
9115b40
chore(release): 4.0.2 [skip ci]
semantic-release-bot Sep 6, 2020
8c18f9d
chore: Upgrade actions/stale
Rapsssito Sep 22, 2020
750960b
fix: Fix Xcode 12 compatibility (#138)
fmorau Oct 1, 2020
900a15c
chore(release): 4.0.3 [skip ci]
semantic-release-bot Oct 1, 2020
373edf0
fix(Android): Switch to Java Standard concurrent API (#145)
Rapsssito Nov 28, 2020
a8e124c
chore(release): 4.0.4 [skip ci]
semantic-release-bot Nov 28, 2020
c468a39
feat: Add rx timestamp to rinfo payload (#146)
glenne Dec 5, 2020
98c7d45
chore(release): 4.1.0 [skip ci]
semantic-release-bot Dec 5, 2020
3e5b4f7
fix: Fix TypeScript declaration inheritance (#153)
Rapsssito Dec 24, 2020
051051e
chore(release): 4.1.1 [skip ci]
semantic-release-bot Dec 24, 2020
3d52791
fix(Android): Fix null MulticastSocket creation (#148)
Rapsssito Jan 19, 2021
11d2666
chore(release): 4.1.2 [skip ci]
semantic-release-bot Jan 19, 2021
006361b
fix: Fix podspec to be compliant with latest Cocoapods (#191)
fnando Sep 8, 2021
76c4586
chore(release): 4.1.3 [skip ci]
semantic-release-bot Sep 8, 2021
179a948
fix: Remove AsyncTask in the send function (it's deprecated) (#197)
eliaslecomte Feb 22, 2022
bd8f797
chore(release): 4.1.4 [skip ci]
semantic-release-bot Feb 22, 2022
0a512ee
fix(Android): Catch all exceptions and redirect them to JS (#202)
eliaslecomte Mar 22, 2022
c5c7831
fix: Fix Gradle configuration (#205)
Rapsssito Mar 22, 2022
1a1a4a7
chore(release): 4.1.5 [skip ci]
semantic-release-bot Mar 22, 2022
e5cb016
fix(Android): Update Android code (#220)
eliaslecomte Dec 5, 2022
173c3df
chore(release): 4.1.6 [skip ci]
semantic-release-bot Dec 5, 2022
2578857
fix(Android): Remove incorrect Override signature (#241)
steven-pearson Jan 25, 2023
8422c40
chore(release): 4.1.7 [skip ci]
semantic-release-bot Jan 26, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
examples/
ios/
android/
android/
lib/types/
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"no-var": "error",
"prefer-template": 2,
"require-atomic-updates": "off",
"prettier/prettier": ["error"]
"prettier/prettier": ["error", {"endOfLine": "auto"}
]
},
"globals": {
"__DEV__": true
Expand Down
39 changes: 39 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

## Description
A clear and concise description of what the bug is.

## Steps to reproduce
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

Or code:
```js
// Your code
```

## Current behavior
A clear and concise description of what happened.

## Expected behavior
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

## Relevant information
| | |
| ----------- | --- |
| OS | ? |
| react-native | ? |
| react-native-udp | ? |
25 changes: 25 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: release

on:
push:
branches:
- master

jobs:
release:
name: Release
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 12
- name: CI
run: yarn ci
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
3 changes: 2 additions & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v1
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community attention? This issue may be closed if no further activity occurs.'
stale-issue-label: 'stale'
exempt-issue-labels: 'work-in-progress'
days-before-stale: 30
days-before-close: 7
15 changes: 15 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: tests

on:
pull_request:
branches:
- master

jobs:
build:
name: CI
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: CI
run: yarn ci
43 changes: 28 additions & 15 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
OSX
#
.DS_Store

# Xcode
!**/*.xcodeproj
!**/*.pbxproj
!**/*.xcworkspacedata
!**/*.xcsettings
!**/*.xcscheme
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
Expand All @@ -19,21 +20,33 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
*.xcworkspace
/ios/Pods/

# Xcode, Gradle
# Android/IntelliJ
#
build/

# Android
.idea
.gradle
local.properties
*.iml
android/gradle/
android/gradlew
android/gradlew.bat

# Node
node_modules
*.log
.nvm
# node.js
#
node_modules/
npm-debug.log
yarn-error.log

# OS X
.DS_Store
# BUCK
buck-out/
\.buckd/
*.keystore

# Editor config
.vscode

# Tests
coverage
47 changes: 0 additions & 47 deletions .npmignore

This file was deleted.

16 changes: 16 additions & 0 deletions .releaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"branches": ["master"],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
["@semantic-release/changelog", {
"changelogFile": "CHANGELOG.md",
}],
"@semantic-release/npm",
["@semantic-release/git", {
"assets": ["CHANGELOG.md", "package.json", "lib/**/*.{js,d.ts}"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}]
]
}
113 changes: 113 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
## [4.1.7](https://github.com/tradle/react-native-udp/compare/v4.1.6...v4.1.7) (2023-01-26)


### Bug Fixes

* **Android:** Remove incorrect Override signature ([#241](https://github.com/tradle/react-native-udp/issues/241)) ([2578857](https://github.com/tradle/react-native-udp/commit/25788578e59a1704ea65f9d00bc6c41faaae3f3d))

## [4.1.6](https://github.com/tradle/react-native-udp/compare/v4.1.5...v4.1.6) (2022-12-05)


### Bug Fixes

* **Android:** Update Android code ([#220](https://github.com/tradle/react-native-udp/issues/220)) ([e5cb016](https://github.com/tradle/react-native-udp/commit/e5cb016e55133a2683b695b4dfed68cb72252948))

## [4.1.5](https://github.com/tradle/react-native-udp/compare/v4.1.4...v4.1.5) (2022-03-22)


### Bug Fixes

* Fix Gradle configuration ([#205](https://github.com/tradle/react-native-udp/issues/205)) ([c5c7831](https://github.com/tradle/react-native-udp/commit/c5c783188563e9eb04370001e702993b650d6c13))
* **Android:** Catch all exceptions and redirect them to JS ([#202](https://github.com/tradle/react-native-udp/issues/202)) ([0a512ee](https://github.com/tradle/react-native-udp/commit/0a512ee84f7370af1842907c08d79ace29fc2019))

## [4.1.4](https://github.com/tradle/react-native-udp/compare/v4.1.3...v4.1.4) (2022-02-22)


### Bug Fixes

* Remove AsyncTask in the send function (it's deprecated) ([#197](https://github.com/tradle/react-native-udp/issues/197)) ([179a948](https://github.com/tradle/react-native-udp/commit/179a9480004ce15c83fbcaa4ec3d9cd9fa9f950a))

## [4.1.3](https://github.com/tradle/react-native-udp/compare/v4.1.2...v4.1.3) (2021-09-08)


### Bug Fixes

* Fix podspec to be compliant with latest Cocoapods ([#191](https://github.com/tradle/react-native-udp/issues/191)) ([006361b](https://github.com/tradle/react-native-udp/commit/006361b95b1e6c836225cdb95fe733f41bdf2afb))

## [4.1.2](https://github.com/tradle/react-native-udp/compare/v4.1.1...v4.1.2) (2021-01-19)


### Bug Fixes

* **Android:** Fix null MulticastSocket creation ([#148](https://github.com/tradle/react-native-udp/issues/148)) ([3d52791](https://github.com/tradle/react-native-udp/commit/3d527916a24e3837c2eca194f2474af22a737cef))

## [4.1.1](https://github.com/tradle/react-native-udp/compare/v4.1.0...v4.1.1) (2020-12-24)


### Bug Fixes

* Fix TypeScript declaration inheritance ([#153](https://github.com/tradle/react-native-udp/issues/153)) ([3e5b4f7](https://github.com/tradle/react-native-udp/commit/3e5b4f71d021f19d7720b7ccf05a343f93591d15))

# [4.1.0](https://github.com/tradle/react-native-udp/compare/v4.0.4...v4.1.0) (2020-12-05)


### Features

* Add rx timestamp to rinfo payload ([#146](https://github.com/tradle/react-native-udp/issues/146)) ([c468a39](https://github.com/tradle/react-native-udp/commit/c468a3942b7637302b33cf9946f2e89818ea70fb))

## [4.0.4](https://github.com/tradle/react-native-udp/compare/v4.0.3...v4.0.4) (2020-11-28)


### Bug Fixes

* **Android:** Switch to Java Standard concurrent API ([#145](https://github.com/tradle/react-native-udp/issues/145)) ([373edf0](https://github.com/tradle/react-native-udp/commit/373edf03bd274fa8d00609211177bee813978dd1))

## [4.0.3](https://github.com/tradle/react-native-udp/compare/v4.0.2...v4.0.3) (2020-10-01)


### Bug Fixes

* Fix Xcode 12 compatibility ([#138](https://github.com/tradle/react-native-udp/issues/138)) ([750960b](https://github.com/tradle/react-native-udp/commit/750960b8dd7768bd20ea709292e9a4656c9206f4)), closes [facebook/react-native#29633](https://github.com/facebook/react-native/issues/29633)

## [4.0.2](https://github.com/tradle/react-native-udp/compare/v4.0.1...v4.0.2) (2020-09-06)


### Bug Fixes

* Add backwards compatiblity with CommonJS require() ([#137](https://github.com/tradle/react-native-udp/issues/137)) ([af36905](https://github.com/tradle/react-native-udp/commit/af36905bd92dbf78194f2d2d38aa531e9e2b4553))

## [4.0.1](https://github.com/tradle/react-native-udp/compare/v4.0.0...v4.0.1) (2020-09-01)


### Bug Fixes

* Add missing attribute "homepage" to package.json ([#135](https://github.com/tradle/react-native-udp/issues/135)) ([74d75c1](https://github.com/tradle/react-native-udp/commit/74d75c139dbca0049b5c201d5d3144a5c22c09f6))

# [4.0.0](https://github.com/tradle/react-native-udp/compare/v3.2.0...v4.0.0) (2020-08-30)


### Features

* Match NodeJS dgram API ([#133](https://github.com/tradle/react-native-udp/issues/133)) ([2f8dc35](https://github.com/tradle/react-native-udp/commit/2f8dc35d18a7875616bd18d4e6dd5f1d74b6230a)), closes [#132](https://github.com/tradle/react-native-udp/issues/132) [#128](https://github.com/tradle/react-native-udp/issues/128)


### BREAKING CHANGES

* All methods no longer check parameter types. socket.send() now throws 'ERR_SOCKET_BAD_PORT' when sending on unbound sockets. socket.send() no longer checks if ddress is a valid IP or hostname.

# [3.2.0](https://github.com/tradle/react-native-udp/compare/v3.1.0...v3.2.0) (2020-08-15)


### Bug Fixes

* **Android:** createSocket is now a blocking method ([#108](https://github.com/tradle/react-native-udp/issues/108)) ([6796a7f](https://github.com/tradle/react-native-udp/commit/6796a7f12762850262e111a40f84b841ed67c401))


### Features

* Add Typescript types and the option to enable debugging ([#114](https://github.com/tradle/react-native-udp/issues/114)) ([11e6e49](https://github.com/tradle/react-native-udp/commit/11e6e49a417b2a54227977691cd3c5b84a5d5d36))


### Performance Improvements

* Dependency reduction & JS update ([#105](https://github.com/tradle/react-native-udp/issues/105)) ([aac2bfa](https://github.com/tradle/react-native-udp/commit/aac2bfa30591864b18fe8e4190f141f97798e058))
Loading