8000 Releases · igrigorik/http-2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: igrigorik/http-2

v1.1.1

16 Apr 00:10
Compare
Choose a tag to compare

What's Changed

Bugfixes

  • frame buffer was accidentally changing encoding before header packing, which raise invalid compatible encoding errors, due to usage of "String#". this was fixed by using internal append_str´, which does not touch encoding, and calling String.force_encoding` in case the buffer is a mutable string passed by the user.
  • dup PING frame payload passed by the user; while not really resulting in invalid encoding, the change of the input string could surprise the caller, since this would be expected to be stored somewhere so the peer PING frame can be matched on receive.

Improvements

Simplified String#transition, making sure it only does state machine transitions (the rest is handled outside of it).

Full Changelog: v1.1.0...v1.1.1

v1.1.0

10 Apr 07:49
Compare
Choose a tag to compare

What's Changed

  • Several changes which improved performance for the common cases. A few highlights:
    • Opting into ruby 3.4 features when possible (such as String#append_as_bytes instead of String#<<)
    • reducing string and array allocations on several places (connection management, frame generation, hpack header compression, etc)
    • "streams recently closed" not having to regenerate the list when not necessary
  • adding release workflow for github actions to enable trusted publishing

Full Changelog: v1.0.2...v1.1.0

v1.0.2

05 Nov 18:16
Compare
Choose a tag to compare