Skip to content

Releases: nhooyr/websocket

v1.8.11

07 Apr 16:35
bd07a64
Compare
Choose a tag to compare

v1.8.10

25 Oct 12:48
e2016ac
Compare
Choose a tag to compare

v1.8.9

20 Oct 16:19
b4e4f4f
Compare
Choose a tag to compare
  • b4e4f4f Don't embed noCopy...
    • Whoops, we don't want noCopy's Lock method to be public. Harmless as noCopy only exists to hint go vet but not appropriate.

v1.8.8

20 Oct 15:57
c8f8d29
Compare
Choose a tag to compare

My sincerest apologies for the 3 year delay. The last few years have been an extraordinarily challenging time for me personally and professionally. I've been experimenting nonstop to better understand what I need from my life and precisely how to attain it.

I moved across Canada from Ontario to British Columbia, taught myself photography, started working a new job at @terrastruct where I designed and wrote https://github.com/terrastruct/d2, taught myself to cook, taught myself to exercise, bought a house on a 20 acre property in the Canadian rockies, became a volunteer firefighter and now I'm working on becoming a paramedic and search and rescue volunteer. My house burnt up in a chimney fire just 1 year after moving in. My vehicle was taken by the fire too...

It's been up and down and round and round these last few years.

Anyway, I am now thankfully working on websocket full time for the foreseeable future. See #402. I'm working on v1.9.0 next. After which I need to finish some inventory work for my house fire insurance claim. Following that I'll be back full time until v2.0.0 is released :)

Thank you to everyone who contributed by reporting issues and opening pull requests.

Special thanks to my sponsors @alixander, @scsmithr, @tailscale and @coder.

note: If anyone is good with amd64 and arm64 assembly please give me a hand with reviewing #326.
I'm trying to confirm that it's correctly implemented in the most efficient way possible and that there is no unnecessary code.

Changelog

This release packs a ton of fixes and improvements. Please upgrade as soon as you can.

Breaking changes are prefixed with BREAKING.

API additions are prefixed with API.

v1.8.7

07 Apr 16:06
3604edc
Compare
Choose a tag to compare
  • Fixes an easily exploitable DOS vulnerability #291 🔴
    • Please update ASAP!!!

v1.8.6

18 May 04:54
02861b4
Compare
Choose a tag to compare
  • Fix deadlock introduced in v1.8.5 #231
    • Occured when you'd write at the same time as close
  • Add support for gin-gonic/gin
  • wsjson does not require that the message type read is text anymore #233
  • Add automated test to echo example #224
  • Undeprecate InsecureSkipVerify #225
    • It's more clear than * as an origin pattern.

In light of #231 and #205, I've opened #239 which will track a complete review to ensure there are no more such bugs from my rewrite in #163.

v1.8.5

14 Apr 03:02
4edcada
Compare
Choose a tag to compare
  • Improve cross origin API and add example #194 #198
  • Add automated test for chat example #201
  • You can now pass http:// and https:// URLs to Dial
  • Documentation fixes #212 #208
  • Prevent all writes after close frame is written #213
  • Ensure writes on a closed connection return the close error #215
  • Disable compression for Safari due to bugs in its implementation #218

v1.8.4

28 Feb 02:11
ff876f6
Compare
Choose a tag to compare

v1.8.3

21 Feb 00:17
c62c0dc
Compare
Choose a tag to compare
  • Add chat example #174
  • Ensure connection closes correctly on any error #193

v1.8.2

16 Feb 23:51
7eb5119
Compare
Choose a tag to compare
  • Fixed a bug in accept code with multiple tokens in a header #189