andersfylling / disgord

Go module for interacting with the documented Discord's bot interface; Gateway, REST requests and voice
BSD 3-Clause "New" or "Revised" License
502 stars 71 forks source link

chore: Update module nhooyr.io/websocket to v1.8.10 - autoclosed #532

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
nhooyr.io/websocket v1.8.7 -> v1.8.10 age adoption passing confidence

Release Notes

nhooyr/websocket (nhooyr.io/websocket) ### [`v1.8.10`](https://togithub.com/nhooyr/websocket/releases/tag/v1.8.10) [Compare Source](https://togithub.com/nhooyr/websocket/compare/v1.8.9...v1.8.10) - [`454aee8`](https://togithub.com/nhooyr/websocket/commit/454aee8) ws_js.go: Disable read limit on `-1` [#​410](https://togithub.com/nhooyr/websocket/issues/410) (thanks [@​oderwat](https://togithub.com/oderwat)) - Forgot to add [#​254](https://togithub.com/nhooyr/websocket/issues/254) to WASM code earlier. ### [`v1.8.9`](https://togithub.com/nhooyr/websocket/releases/tag/v1.8.9) [Compare Source](https://togithub.com/nhooyr/websocket/compare/v1.8.8...v1.8.9) - [`b4e4f4f`](https://togithub.com/nhooyr/websocket/commit/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`](https://togithub.com/nhooyr/websocket/releases/tag/v1.8.8) [Compare Source](https://togithub.com/nhooyr/websocket/compare/v1.8.7...v1.8.8) 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](https://togithub.com/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](https://togithub.com/nhooyr/websocket/issues/402). I'm working on [v1.9.0](https://togithub.com/nhooyr/websocket/milestone/10) 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](https://togithub.com/nhooyr/websocket/milestone/14) is released :) Thank you to everyone who contributed by reporting issues and opening pull requests. Special thanks to my sponsors [@​alixander](https://togithub.com/alixander), [@​scsmithr](https://togithub.com/scsmithr), [@​tailscale](https://togithub.com/tailscale) and [@​coder](https://togithub.com/coder). note: If anyone is good with amd64 and arm64 assembly please give me a hand with reviewing [#​326](https://togithub.com/nhooyr/websocket/issues/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***. - [`d7a55cf`](https://togithub.com/nhooyr/websocket/commit/d7a55cf) Ensure no goroutines leak after Close [#​330](https://togithub.com/nhooyr/websocket/issues/330) - [`25a5ca4`](https://togithub.com/nhooyr/websocket/commit/25a5ca4) netconn.go: Fix panic on zero or negative deadline durations - [`50952d7`](https://togithub.com/nhooyr/websocket/commit/50952d7) compress.go: Rewrite compression docs - [`5fe95bb`](https://togithub.com/nhooyr/websocket/commit/5fe95bb) write.go: Fix potential writeFrame deadlock [#​405](https://togithub.com/nhooyr/websocket/issues/405) - [`6cec2ca`](https://togithub.com/nhooyr/websocket/commit/6cec2ca) close.go: Fix mid read close [#​355](https://togithub.com/nhooyr/websocket/issues/355) - [`28c6709`](https://togithub.com/nhooyr/websocket/commit/28c6709) conn_test: Add TestConcurrentClosePing [#​298](https://togithub.com/nhooyr/websocket/issues/298) [#​394](https://togithub.com/nhooyr/websocket/issues/394) [@​univerio](https://togithub.com/univerio) @​[@​bhallionOhbibi](https://togithub.com/bhallionOhbibi) - [`e361137`](https://togithub.com/nhooyr/websocket/commit/e361137) wsjs: Register OnError [#​400](https://togithub.com/nhooyr/websocket/issues/400) - [`1a344a4`](https://togithub.com/nhooyr/websocket/commit/1a344a4) Reject invalid "Sec-WebSocket-Key" headers from clients [#​360](https://togithub.com/nhooyr/websocket/issues/360) [@​Emyrk](https://togithub.com/Emyrk) - [`20b8838`](https://togithub.com/nhooyr/websocket/commit/20b8838) Run autobahn-testsuite on dev daily - [`818579b`](https://togithub.com/nhooyr/websocket/commit/818579b) Add TestDialViaProxy [#​395](https://togithub.com/nhooyr/websocket/issues/395) - [`e314da6`](https://togithub.com/nhooyr/websocket/commit/e314da6) Redirect wss/ws correctly by modifying the http client [#​333](https://togithub.com/nhooyr/websocket/issues/333) - [`a94999f`](https://togithub.com/nhooyr/websocket/commit/a94999f) ***API*** Add CloseNow [#​384](https://togithub.com/nhooyr/websocket/issues/384) - [`1dbc141`](https://togithub.com/nhooyr/websocket/commit/1dbc141) Ensure Writer does zero alloc writes [#​354](https://togithub.com/nhooyr/websocket/issues/354) - [`97d7f90`](https://togithub.com/nhooyr/websocket/commit/97d7f90) Make compression negotiation more lenient [#​258](https://togithub.com/nhooyr/websocket/issues/258) [@​abursavich](https://togithub.com/abursavich) - [`81afa8a`](https://togithub.com/nhooyr/websocket/commit/81afa8a) Avoid returning 0, nil in NetConn.Read [#​367](https://togithub.com/nhooyr/websocket/issues/367) - [`4e15d75`](https://togithub.com/nhooyr/websocket/commit/4e15d75) Add ci/bench.sh - [`a6b9464`](https://togithub.com/nhooyr/websocket/commit/a6b9464) Add noCopy to Conn [#​349](https://togithub.com/nhooyr/websocket/issues/349) - [`b4b86b9`](https://togithub.com/nhooyr/websocket/commit/b4b86b9) dial.go: Use timeout on HTTPClient properly [#​341](https://togithub.com/nhooyr/websocket/issues/341) - [`2598ea2`](https://togithub.com/nhooyr/websocket/commit/2598ea2) Remove all third party dependencies from go.mod and go.sum [#​297](https://togithub.com/nhooyr/websocket/issues/297) - [`fecf26c`](https://togithub.com/nhooyr/websocket/commit/fecf26c) netconn.go: Return real remote and local address where possible [#​299](https://togithub.com/nhooyr/websocket/issues/299) [@​photostorm](https://togithub.com/photostorm) - [`f7bed7c`](https://togithub.com/nhooyr/websocket/commit/f7bed7c) ***API*** Extend DialOptions to allow Host header override [#​336](https://togithub.com/nhooyr/websocket/issues/336) [@​bendiscz](https://togithub.com/bendiscz) - [`3f26c9f`](https://togithub.com/nhooyr/websocket/commit/3f26c9f) wsjson: Write messages in a single frame always [#​315](https://togithub.com/nhooyr/websocket/issues/315) - [`ac38512`](https://togithub.com/nhooyr/websocket/commit/ac38512) ***BREAKING*** Remove wspb [#​311](https://togithub.com/nhooyr/websocket/issues/311) [#​297](https://togithub.com/nhooyr/websocket/issues/297) - See [https://github.com/nhooyr/websocket/issues/420#issuecomment-1807226502](https://togithub.com/nhooyr/websocket/issues/420#issuecomment-1807226502) for a standalone wspb copy. - [`e9d0881`](https://togithub.com/nhooyr/websocket/commit/e9d0881) Use net.ErrClosed where possible [#​286](https://togithub.com/nhooyr/websocket/issues/286) [@​emersion](https://togithub.com/emersion) - [`e1e65ad`](https://togithub.com/nhooyr/websocket/commit/e1e65ad) Run AUTOBAHN tests daily - [`2a5a566`](https://togithub.com/nhooyr/websocket/commit/2a5a566) Update Go module version to 1.19 [#​359](https://togithub.com/nhooyr/websocket/issues/359) [@​Jacalz](https://togithub.com/Jacalz) - [`118ea68`](https://togithub.com/nhooyr/websocket/commit/118ea68) Add staticcheck and simplify and refactor CI - [`b9a4d42`](https://togithub.com/nhooyr/websocket/commit/b9a4d42) Switch to OpenBSD's license - [`6ead6aa`](https://togithub.com/nhooyr/websocket/commit/6ead6aa) Run the autobahn-testsuite in docker to avoid issues with python2 EOL [#​334](https://togithub.com/nhooyr/websocket/issues/334) - [`e2bb5be`](https://togithub.com/nhooyr/websocket/commit/e2bb5be) Migrate from deprecated io/ioutil [#​371](https://togithub.com/nhooyr/websocket/issues/371) [@​keystroke3](https://togithub.com/keystroke3) - [`7fd6136`](https://togithub.com/nhooyr/websocket/commit/7fd6136) Fix dial panic when ctx is nil [#​365](https://togithub.com/nhooyr/websocket/issues/365) [@​guseggert](https://togithub.com/guseggert) - [`65dfbdd`](https://togithub.com/nhooyr/websocket/commit/65dfbdd) Add wasm dial timeout test - [`29251d0`](https://togithub.com/nhooyr/websocket/commit/29251d0) Improve unauthorized origin error message [#​247](https://togithub.com/nhooyr/websocket/issues/247) - [`482f584`](https://togithub.com/nhooyr/websocket/commit/482f584) Cleanup net.Conn context's on close [#​255](https://togithub.com/nhooyr/websocket/issues/255) - [`ea87744`](https://togithub.com/nhooyr/websocket/commit/ea87744) ***BREAKING*** Disable read limit on net.Conn [#​254](https://togithub.com/nhooyr/websocket/issues/254) [#​245](https://togithub.com/nhooyr/websocket/issues/245) - This commit also allows passing -1 to disable the read limit generally. [#​322](https://togithub.com/nhooyr/websocket/issues/322) - [`085d46c`](https://togithub.com/nhooyr/websocket/commit/085d46c) Document context expirations wart [#​242](https://togithub.com/nhooyr/websocket/issues/242) - [`3b20a49`](https://togithub.com/nhooyr/websocket/commit/3b20a49) Document separate idle and read timeout [#​87](https://togithub.com/nhooyr/websocket/issues/87) - [`fdc4079`](https://togithub.com/nhooyr/websocket/commit/fdc4079) Clone options correctly [#​259](https://togithub.com/nhooyr/websocket/issues/259) [@​abursavich](https://togithub.com/abursavich) - [`897a573`](https://togithub.com/nhooyr/websocket/commit/897a573) Fix deadlock in writeFrame [#​253](https://togithub.com/nhooyr/websocket/issues/253) [#​248](https://togithub.com/nhooyr/websocket/issues/248) - [`493ebbe`](https://togithub.com/nhooyr/websocket/commit/493ebbe) Prevent net.Conn timer leakage [#​255](https://togithub.com/nhooyr/websocket/issues/255) [#​243](https://togithub.com/nhooyr/websocket/issues/243) - [`0a61ffe`](https://togithub.com/nhooyr/websocket/commit/0a61ffe) Make SetDeadline on NetConn not always close Conn [#​228](https://togithub.com/nhooyr/websocket/issues/228) [#​350](https://togithub.com/nhooyr/websocket/issues/350) - [`1695216`](https://togithub.com/nhooyr/websocket/commit/1695216) Add ping example [#​227](https://togithub.com/nhooyr/websocket/issues/227) - [`17cf0fe`](https://togithub.com/nhooyr/websocket/commit/17cf0fe) ***BREAKING*** The dependency on klauspost/compress has been removed and compression is disabled by default [#​220](https://togithub.com/nhooyr/websocket/issues/220) [#​230](https://togithub.com/nhooyr/websocket/issues/230) [#​218](https://togithub.com/nhooyr/websocket/issues/218) [#​315](https://togithub.com/nhooyr/websocket/issues/315) - More reliable and idiomatic. See updated docs in compress.go - [`b453d3e`](https://togithub.com/nhooyr/websocket/commit/b453d3e) All Wasm code now lives in ws_js.go to avoid polluting the directory tree

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.