Skip to content

Releases: mafredri/cdp

0.29.0

24 Jun 13:48
Compare
Choose a tag to compare
  • Update modules (add412e)
  • cmd/cdpgen: Set initialism for RGB and HSL (71ca319)
  • Update to latest protocol definitions (c50077a)

0.28.0

06 Apr 18:22
f907c7b
Compare
Choose a tag to compare
  • Implement io.StreamReader (#96, f907c7b)
  • rpcc, session: Fix isClosing check in session manager watcher (#112, be3a618)
  • travis: Drop Go 1.10, 1.11 and add Go 1.13, 1.14 (975cbbe)

If you're wondering what happened to v0.27.0, it was tagged incorrectly, deleted and no longer allowed to play.

0.26.0

31 Mar 08:48
Compare
Choose a tag to compare
  • session: Explicitly use non-flat session mode for the time being (#106) (6f2377a)
  • cmd/cdpgen: Handle new circular types, cleanup (2f3c35c)
  • session: Return wrapped error on detach failure (#104) (158b1d3)
  • Add support for Go modules (#118) (0e90f59)
  • Update to latest protocol definitions (0700f4b, 64172c4)
  • Update CreateBrowserContext arguments for incognito test (732606a)

v0.24.2...v0.26.0

0.24.2

10 Jul 09:18
Compare
Choose a tag to compare
  • rpcc: Fix error propagation during Invoke/Close race (2a28a12)

v0.24.1...v0.24.2

0.24.1

10 Jul 08:53
Compare
Choose a tag to compare
  • rpcc: Repeat the error that closed the connection (#74, 15d95f6)
  • Update to latest protocol definitions

v0.22.0...v0.24.1

0.22.0

16 Mar 11:48
a32ee05
Compare
Choose a tag to compare

Changes

  • devtool: Fix JSON tag in Version.WebSocketDebuggerURL (#84)
  • rpcc: Fix stream sync deadlock (#91, #90)
  • Update to latest protocol definitions

v0.21.0...v0.22.0

0.21.0

10 Jan 17:28
Compare
Choose a tag to compare

Changes

  • rpcc: Add the WithTLSClientConfig dial option (3083b7c)
  • devtool: Resolve hostname to IP address (#78) (019784f)
  • devtool: Avoid fallback websocket during Create if Chrome is too new (#77) (f594634)
  • Update to latest protocol definitions

v0.20.0...v0.21.0

0.20.0

02 Nov 21:24
0b30a3d
Compare
Choose a tag to compare

Changes

  • Drops Go 1.8 support (#76)
  • devtool: CreateURL now allows opening non-HTTP(S) URLs (#71)
  • protocol/runtime: Timestamp was incorrectly parsed as seconds, now in milliseconds (#69)
  • Protocol updates

Thanks to @nya3jp for contributing to this release ❤️!

v0.19.0...v0.20.0

0.19.0

07 Sep 19:16
Compare
Choose a tag to compare

It's been a long time since publishing release notes. Not a whole lot has changed except for the addition of a new session package and updated protocol definitions.

There is one backwards-incompatible change, the page.ResourceType (or protocol.PageResourceType) no longer exists as it was moved to the network domain (by Chrome).

So, what's new since last published release?

Highlights

  • Generated protocol definitions have been kept in sync with Chrome
  • Improved styling of comments in generated code (split @ 80, etc)
  • Return original cause in ErrorCause instead of the next error (7c087c5)
  • rpcc: Simplify net.Conn to io.ReadWriteCloser (#17) (13ae9a6)
  • rpcc: Expose connection context (b26658b)
  • New session package for managing multiple tabs via a single websocket connection
  • cmd/cdpgen: Transform Ssl and Mac to uppercase (9b11b87)
  • Important! Remove PageResourceType as page.ResourceType was moved to network (5ff6ce4)
  • Remove workarounds for edge-diagnostics-adapter (b87d542)

v0.15.1...v0.19.0

0.15.1

29 Nov 18:00
Compare
Choose a tag to compare
  • Revert: Messages in the Target domain now use json.RawMessage instead of string
    • This caused a bug in #33 where events were not being delivered

v0.15.0...v0.15.1