Cdp Versions Save

Package cdp provides type-safe bindings for the Chrome DevTools Protocol (CDP), written in the Go programming language.

v0.28.0

4 years ago
  • Implement io.StreamReader (#96, f907c7bf295396cb01de1a831eacb6cb4b12b6fa)
  • rpcc, session: Fix isClosing check in session manager watcher (#112, be3a6188f37a393debe12fe53418f95b6b108945)
  • travis: Drop Go 1.10, 1.11 and add Go 1.13, 1.14 (975cbbee71e458a6e05bcbc91d6c80509ccfe2c3)

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

v0.26.0

4 years ago
  • session: Explicitly use non-flat session mode for the time being (#106) (6f2377abe27b14c7d3fa430b7f2e42809cb41bf5)
  • cmd/cdpgen: Handle new circular types, cleanup (2f3c35caebcc9766b04147a237e10fd1276ebece)
  • session: Return wrapped error on detach failure (#104) (158b1d3eb5ec0e6523b25f660b82ec4dc5316d62)
  • Add support for Go modules (#118) (0e90f5934dd1d21c457d1dc0d61daa72ed3b5f41)
  • Update to latest protocol definitions (0700f4b675682d03b2ba4300cf5a8176f85703d3, 64172c483a364d586d94edc08ae264822e29a150)
  • Update CreateBrowserContext arguments for incognito test (732606ab494f223e8228923c477ac844ab905a67)

https://github.com/mafredri/cdp/compare/v0.24.2...v0.26.0

v0.24.2

4 years ago
  • rpcc: Fix error propagation during Invoke/Close race (2a28a12ac3f505882ed2648f5a1499ff42d0141b)

https://github.com/mafredri/cdp/compare/v0.24.1...v0.24.2

v0.24.1

4 years ago
  • rpcc: Repeat the error that closed the connection (#74, 15d95f6)
  • Update to latest protocol definitions

https://github.com/mafredri/cdp/compare/v0.22.0...v0.24.1

v0.22.0

5 years ago

Changes

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

https://github.com/mafredri/cdp/compare/v0.21.0...v0.22.0

v0.21.0

5 years ago

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

https://github.com/mafredri/cdp/compare/v0.20.0...v0.21.0

v0.20.0

5 years ago

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 ❤️!

https://github.com/mafredri/cdp/compare/v0.19.0...v0.20.0

v0.19.0

5 years ago

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)

https://github.com/mafredri/cdp/compare/v0.15.1...v0.19.0

v0.15.0

6 years ago
  • Fix bug in cdp.Sync which did not accept event clients due to the wrong type being handed to rpcc.Sync (84242e9a08b593eba9555d6c575d812fd57c6c44, f6e0e4bd74d660d4fca384e5a637e2256ff5806c, 95bf065037f2d6ebf7fe59e15361d1e3f4c4ff9e)
  • Messages in the Target domain now use json.RawMessage instead of string since byte-slices are a better fit for Go (and causes less copying)
  • Protocol updates

https://github.com/mafredri/cdp/compare/v0.14.0...v0.15.0

v0.15.1

6 years ago
  • 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

https://github.com/mafredri/cdp/compare/v0.15.0...v0.15.1