Skip to content

Commit 524ee59

Browse files
Merge pull request #8 from VikramAditya33/bump-ver
chore: release v1.0.1
2 parents 85fef7a + 72bba15 commit 524ee59

8 files changed

Lines changed: 1544 additions & 1025 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -7,103 +7,30 @@ on:
77
branches: [main]
88

99
jobs:
10-
# Code quality checks (lint + format)
11-
quality:
12-
name: Code Quality
10+
ci:
11+
name: CI
1312
runs-on: ubuntu-latest
1413

1514
steps:
16-
- uses: actions/checkout@v4
15+
- uses: actions/checkout@v6
1716

18-
- name: Use Node.js 20.x
19-
uses: actions/setup-node@v4
17+
- name: Set up Node.js
18+
uses: actions/setup-node@v6
2019
with:
21-
node-version: 20.x
20+
node-version-file: 'package.json'
2221
cache: 'npm'
2322

2423
- name: Install dependencies
2524
run: npm ci
2625

27-
- name: Run ESLint
28-
run: npm run lint
29-
30-
- name: Check formatting
26+
- name: Check prettier
3127
run: npm run format:check
32-
33-
# Test with coverage
34-
test:
35-
name: Test (Node ${{ matrix.node-version }})
36-
runs-on: ubuntu-latest
37-
38-
strategy:
39-
matrix:
40-
node-version: [20.x, 22.x]
41-
42-
steps:
43-
- uses: actions/checkout@v4
4428

45-
- name: Use Node.js ${{ matrix.node-version }}
46-
uses: actions/setup-node@v4
47-
with:
48-
node-version: ${{ matrix.node-version }}
49-
cache: 'npm'
50-
51-
- name: Install dependencies
52-
run: npm ci
53-
54-
- name: Run tests with coverage
55-
run: npm run test:cov
56-
57-
- name: Upload coverage to Codecov
58-
if: matrix.node-version == '20.x'
59-
uses: codecov/codecov-action@v4
60-
with:
61-
files: ./coverage/lcov.info
62-
fail_ci_if_error: false
63-
64-
# Build check
65-
build:
66-
name: Build
67-
runs-on: ubuntu-latest
68-
needs: [quality, test]
69-
70-
steps:
71-
- uses: actions/checkout@v4
72-
73-
- name: Use Node.js 20.x
74-
uses: actions/setup-node@v4
75-
with:
76-
node-version: 20.x
77-
cache: 'npm'
29+
- name: Check eslint
30+
run: npm run lint
7831

79-
- name: Install dependencies
80-
run: npm ci
32+
- name: Run tests
33+
run: npm test
8134

8235
- name: Build package
8336
run: npm run build
84-
85-
- name: Check build output
86-
run: |
87-
if [ ! -d "dist" ]; then
88-
echo "Build failed: dist directory not found"
89-
exit 1
90-
fi
91-
if [ ! -f "dist/index.js" ]; then
92-
echo "Build failed: dist/index.js not found"
93-
exit 1
94-
fi
95-
if [ ! -f "dist/index.d.ts" ]; then
96-
echo "Build failed: dist/index.d.ts not found"
97-
exit 1
98-
fi
99-
echo "Build successful!"
100-
101-
- name: Pack package
102-
run: npm pack
103-
104-
- name: Upload build artifact
105-
uses: actions/upload-artifact@v4
106-
with:
107-
name: package-build
108-
path: '*.tgz'
109-
retention-days: 7

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,4 @@ yarn-error.log*
3535
*.tmp
3636
.cache/
3737
our_docs/
38+
example/

.npmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ node_modules/
3636
# Misc
3737
*.log
3838
.DS_Store
39+
our_docs/
40+
example/

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
### Fixed
1515
### Security
1616

17+
## [1.0.1] - 2026-04-06
18+
19+
### Changed
20+
- Updated uWebSockets.js dependency from v20.48.0 to v20.60.0
21+
- Added Node.js 24 and 25 support
22+
- Updated devDependencies to latest versions
23+
- Include Jest types in tsconfig.json
24+
1725
## [1.0.0] - 2026-04-05
1826

1927
### Added
@@ -70,5 +78,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7078
- Exception handling with WsException class
7179
- Broadcast operator with room targeting and client exclusion
7280

73-
[Unreleased]: https://github.com/VikramAditya33/uWestJs/compare/v1.0.0...HEAD
81+
[Unreleased]: https://github.com/VikramAditya33/uWestJs/compare/v1.0.1...HEAD
82+
[1.0.1]: https://github.com/VikramAditya33/uWestJs/compare/v1.0.0...v1.0.1
7483
[1.0.0]: https://github.com/VikramAditya33/uWestJs/releases/tag/v1.0.0

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
> High-performance WebSocket adapter for NestJS using uWebSockets.js
88
99
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
10-
[![Node.js Version](https://img.shields.io/badge/node-%3E%3D20.0.0-brightgreen)](https://nodejs.org)
10+
[![Node.js Version](https://img.shields.io/badge/node-20%20%7C%2022%20%7C%2024%20%7C%2025-brightgreen)](https://nodejs.org)
1111
[![CodeFactor](https://www.codefactor.io/repository/github/vikramaditya33/uwestjs/badge)](https://www.codefactor.io/repository/github/vikramaditya33/uwestjs)
1212

1313
uWestJS is a drop-in replacement for the default NestJS WebSocket adapter, powered by [uWebSockets.js](https://github.com/uNetworking/uWebSockets.js). It provides significantly better performance while maintaining full compatibility with NestJS decorators and patterns you already know.
@@ -53,9 +53,14 @@ pnpm add uwestjs
5353

5454
## Requirements
5555

56-
- Node.js >= 20.0.0
57-
- NestJS >= 9.0.0
58-
- TypeScript >= 5.0.0
56+
- Node.js 20, 22, 24, or 25
57+
- NestJS >= 11.0.0
58+
- TypeScript >= 6.0.0
59+
60+
### Note
61+
- Supported Node.js versions: 20, 22, 24, 25
62+
- If you experience installation or runtime issues, run `npm cache clean --force` before installing
63+
5964

6065
## Quick Start
6166

0 commit comments

Comments
 (0)