2.1.0 (2024-12-10)
2.0.1 (2024-12-08)
2.0.0 (2024-12-08)
- Drop Node.js < 16 support
- 使用 ts 重构
- 使用 tshy 支持 esm 和 cjs
- test 使用 test-runner (这里需要 node v18 版本)
merge from #51
-
New Features
-
Introduced a new
waitPortfunction to asynchronously wait for a specified port to become available.- Added a new ESLint configuration to enforce TypeScript linting rules.
-
Bug Fixes
- Reverted a feature in the
detect-portpackage due to issues raised.
- Reverted a feature in the
-
Documentation
- Updated
README.mdfor improved clarity and updated badge links. - Modified
CONTRIBUTING.mdto reflect changes in testing commands.
- Updated
-
Chores
- Introduced a new TypeScript configuration file (
tsconfig.json).
- Introduced a new TypeScript configuration file (
-
Updated
package.jsonto reflect changes in dependencies and project structure. -
Tests
-
Added comprehensive tests for the new
waitPortand updated tests for the CLI anddetectPortfunction.
1.6.1 (2024-05-08)
1.6.0 (2024-05-08)
fixes
- [
9dd9ce3] - fix: add #!/usr/bin/env node header (#49) (达峰的夏天 <[email protected]>)
features
- [
618dec5] - feat: support wait port (#46) (达峰的夏天 <[email protected]>)
fixes
- [
a54e2ef] - fix: typo on line 54 (#45) (Yavuz Akyuz <[email protected]>)
others
- [
28f07b3] - 🤖 TEST: Run CI on Github Action (#47) (fengmk2 <[email protected]>) - [
ae55c95] - Create codeql-analysis.yml (fengmk2 <[email protected]>) - [
f35409d] - chore: update project config (xudafeng <[email protected]>) - [
cd21d30] - chore: update readme (#43) (XiaoRui <[email protected]>) - [
da01e68] - chore: add .editorconfig (#42) (达峰的夏天 <[email protected]>) - [
a2c6b04] - chore: update repo config (#41) (达峰的夏天 <[email protected]>) - [
8da6f33] - chore: update readme (#38) (达峰的夏天 <[email protected]>) - [
ee88ccb] - chore: remove unuse file (fengmk2 <[email protected]>)
features
- [
a00357a] - feat: support detect port with custom hostname (#35) (Ender Lee <[email protected]>)
others
- [
671094f] - update readme (xudafeng <[email protected]>) - [
285e59b] - chore: add files to package.json (fengmk2 <[email protected]>)
fixes
- [
64777f8] - fix: ignore EADDRNOTAVAIL error when listen localhost (#33) (Haoliang Gao <[email protected]>) - [
398bc4f] - fix: handle 0.0.0.0:port binding (#26) (fengmk2 <[email protected]>)
others
- [
aedf44f] - doc: tweak description (xudafeng <[email protected]>) - [
b7ff76f] - update FAQ & contributor (xudafeng <[email protected]>) - [
4a9e127] - cli tweak to verbose (#25) (xdf <[email protected]>),
- fix: should ignore getaddrinfo ENOTFOUND error (#22)
- fix: should double check 0.0.0.0 and localhost (#20)
- docs: ignore type of port when checking if it's occupied (#18)
- fix: try to use next available port (#16)
- Use server listen to detect port
- Early return for rejected promise
- Prevent promsie swallow in callback
- Bump version for new Repo
- Support promise
- Fix commander
- Add command line support
- Initial release