|
1 | 1 | # Changelog
|
2 | 2 |
|
3 | 3 |
|
| 4 | +## v0.3.0 |
| 5 | + |
| 6 | +[compare changes](https://github.com/unjs/crossws/compare/v0.2.4...v0.3.0) |
| 7 | + |
| 8 | +### 🚀 Enhancements |
| 9 | + |
| 10 | +- **node, uws:** Automatically detect binary message type ([#53](https://github.com/unjs/crossws/pull/53)) |
| 11 | +- **peer:** Add `peer.close()` and `peer.terminate()` support ([#36](https://github.com/unjs/crossws/pull/36)) |
| 12 | +- Cloudflare durable objects support ([#54](https://github.com/unjs/crossws/pull/54)) |
| 13 | +- **deno:** Support pubsub ([#58](https://github.com/unjs/crossws/pull/58)) |
| 14 | +- Universal access to all peers ([#60](https://github.com/unjs/crossws/pull/60)) |
| 15 | +- Global publish ([#61](https://github.com/unjs/crossws/pull/61)) |
| 16 | +- Experimental sse adapter ([#62](https://github.com/unjs/crossws/pull/62)) |
| 17 | +- **peer:** Use secure lazy random uuid ([#64](https://github.com/unjs/crossws/pull/64)) |
| 18 | +- **sse:** Support bidirectional messaging ([#66](https://github.com/unjs/crossws/pull/66)) |
| 19 | +- **sse:** Implement `WebSocketSSE` peer ([#68](https://github.com/unjs/crossws/pull/68)) |
| 20 | +- ⚠️ Overhaul peer and message interface ([#70](https://github.com/unjs/crossws/pull/70)) |
| 21 | + |
| 22 | +### 🩹 Fixes |
| 23 | + |
| 24 | +- Should not serailize binary messages ([#39](https://github.com/unjs/crossws/pull/39)) |
| 25 | +- **cloudflare-durable:** Restore peer url and id after hibernation ([#71](https://github.com/unjs/crossws/pull/71)) |
| 26 | + |
| 27 | +### 💅 Refactors |
| 28 | + |
| 29 | +- ⚠️ Overhaul internal impl ([#55](https://github.com/unjs/crossws/pull/55)) |
| 30 | +- ⚠️ Move `peer.ctx` to `peer._internal` ([#59](https://github.com/unjs/crossws/pull/59)) |
| 31 | +- Rename internal crossws to hooks ([bb4c917](https://github.com/unjs/crossws/commit/bb4c917)) |
| 32 | +- Better internal organization ([2744f21](https://github.com/unjs/crossws/commit/2744f21)) |
| 33 | +- ⚠️ Remove adapter hooks ([#72](https://github.com/unjs/crossws/pull/72)) |
| 34 | + |
| 35 | +### 📖 Documentation |
| 36 | + |
| 37 | +- **pubsub:** Correct typo ([#22](https://github.com/unjs/crossws/pull/22)) |
| 38 | +- Fix typo ([76fc105](https://github.com/unjs/crossws/commit/76fc105)) |
| 39 | +- Fix typos ([7dacb00](https://github.com/unjs/crossws/commit/7dacb00)) |
| 40 | +- Fix invalid link ([#46](https://github.com/unjs/crossws/pull/46)) |
| 41 | +- Fix link ([#45](https://github.com/unjs/crossws/pull/45)) |
| 42 | +- Fix link ([#44](https://github.com/unjs/crossws/pull/44)) |
| 43 | +- Update links to sources ([a96dca3](https://github.com/unjs/crossws/commit/a96dca3)) |
| 44 | +- Update contents ([898ab49](https://github.com/unjs/crossws/commit/898ab49)) |
| 45 | +- Update ([2e49cc3](https://github.com/unjs/crossws/commit/2e49cc3)) |
| 46 | + |
| 47 | +### 📦 Build |
| 48 | + |
| 49 | +- Remove `uWebSockets.js` optional dependency ([#52](https://github.com/unjs/crossws/pull/52)) |
| 50 | +- Externalize `uWebSockets.js` ([b23b76d](https://github.com/unjs/crossws/commit/b23b76d)) |
| 51 | +- ⚠️ Esm-only build ([#63](https://github.com/unjs/crossws/pull/63)) |
| 52 | + |
| 53 | +### 🏡 Chore |
| 54 | + |
| 55 | +- Fix typo ([#47](https://github.com/unjs/crossws/pull/47)) |
| 56 | +- Update deps ([60829ec](https://github.com/unjs/crossws/commit/60829ec)) |
| 57 | +- Update ci ([cc47af4](https://github.com/unjs/crossws/commit/cc47af4)) |
| 58 | +- Update to eslint v9 ([8d7cf40](https://github.com/unjs/crossws/commit/8d7cf40)) |
| 59 | +- Update examples ([44ef76a](https://github.com/unjs/crossws/commit/44ef76a)) |
| 60 | +- Update deps ([10e6427](https://github.com/unjs/crossws/commit/10e6427)) |
| 61 | +- Setup coverage report ([23fc41f](https://github.com/unjs/crossws/commit/23fc41f)) |
| 62 | +- Rename websocket native dist entry ([97c818e](https://github.com/unjs/crossws/commit/97c818e)) |
| 63 | +- Update play scripts ([4c6e8b3](https://github.com/unjs/crossws/commit/4c6e8b3)) |
| 64 | +- Update deps ([078b51d](https://github.com/unjs/crossws/commit/078b51d)) |
| 65 | +- Update docs lockfile ([dbf4f66](https://github.com/unjs/crossws/commit/dbf4f66)) |
| 66 | +- Update undocs ([440aabd](https://github.com/unjs/crossws/commit/440aabd)) |
| 67 | +- Update undocs ([13f8f7a](https://github.com/unjs/crossws/commit/13f8f7a)) |
| 68 | + |
| 69 | +### ✅ Tests |
| 70 | + |
| 71 | +- Add adater tests ([#56](https://github.com/unjs/crossws/pull/56)) |
| 72 | +- **cloudflare:** Use random port for wrangler inspector ([a46265c](https://github.com/unjs/crossws/commit/a46265c)) |
| 73 | +- Run tests with web standard `WebSocket` and `EventSource` ([#67](https://github.com/unjs/crossws/pull/67)) |
| 74 | + |
| 75 | +#### ⚠️ Breaking Changes |
| 76 | + |
| 77 | +- ⚠️ Overhaul peer and message interface ([#70](https://github.com/unjs/crossws/pull/70)) |
| 78 | +- ⚠️ Overhaul internal impl ([#55](https://github.com/unjs/crossws/pull/55)) |
| 79 | +- ⚠️ Move `peer.ctx` to `peer._internal` ([#59](https://github.com/unjs/crossws/pull/59)) |
| 80 | +- ⚠️ Remove adapter hooks ([#72](https://github.com/unjs/crossws/pull/72)) |
| 81 | +- ⚠️ Esm-only build ([#63](https://github.com/unjs/crossws/pull/63)) |
| 82 | + |
| 83 | +### ❤️ Contributors |
| 84 | + |
| 85 | +- Pooya Parsa ([@pi0](http://github.com/pi0)) |
| 86 | +- Eduardo San Martin Morote ([@posva](http://github.com/posva)) |
| 87 | +- Alex ([@alexzhang1030](http://github.com/alexzhang1030)) |
| 88 | +- 39sho ([@39sho](http://github.com/39sho)) |
| 89 | +- @beer ([@iiio2](http://github.com/iiio2)) |
| 90 | +- Sébastien Chopin ([@atinux](http://github.com/atinux)) |
| 91 | +- Pierre Golfier <[email protected]> |
| 92 | + |
4 | 93 | ## v0.2.4
|
5 | 94 |
|
6 | 95 | [compare changes](https://github.com/unjs/crossws/compare/v0.2.3...v0.2.4)
|
|
0 commit comments