Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.110.0"
".": "0.111.0"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [0.111.0](https://github.com/kernel/kernel-go-sdk/compare/v0.110.0...v0.111.0) (2026-09-18)


### Features

* Publish restricted_route_unavailable and unknown proxy_error codes ([6e379e6](https://github.com/kernel/kernel-go-sdk/commit/6e379e6df7b9727b412e028352c25023439fefd8))

## [0.110.0](https://github.com/kernel/kernel-go-sdk/compare/v0.109.0...v0.110.0) (2026-09-18)


Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/kernel/kernel-go-sdk@v0.110.0'
go get -u 'github.com/kernel/kernel-go-sdk@v0.111.0'
```

<!-- x-release-please-end -->
Expand Down
22 changes: 17 additions & 5 deletions browsertelemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -5110,20 +5110,28 @@ type BrowserProxyErrorEventData struct {
// Proxy-layer error code: the X-Kernel-Proxy-Error response header value from a
// branded 5xx error page served by the metro egress host-proxy. Values mirror what
// the proxy emits: destination_blocked, provider_blacklisted,
// provider_unreachable, provider_rejected, origin_tls_timeout, proxy_unavailable,
// upstream_timeout, upstream_dns_failure, upstream_connect_failed. Unknown header
// values are dropped.
// provider_unreachable, provider_rejected, origin_tls_timeout,
// origin_response_incomplete, proxy_unavailable, restricted_route_unavailable,
// upstream_timeout, upstream_dns_failure, upstream_connect_failed. A header value
// the browser image does not recognize is reported as unknown, with the header
// value in raw_code.
//
// Any of "destination_blocked", "provider_blacklisted", "provider_unreachable",
// "provider_rejected", "origin_tls_timeout", "proxy_unavailable",
// "upstream_timeout", "upstream_dns_failure", "upstream_connect_failed".
// "provider_rejected", "origin_tls_timeout", "origin_response_incomplete",
// "proxy_unavailable", "restricted_route_unavailable", "upstream_timeout",
// "upstream_dns_failure", "upstream_connect_failed", "unknown".
Code string `json:"code" api:"required"`
// CDP request identifier matching the originating request.
RequestID string `json:"request_id" api:"required"`
// HTTP response status of the branded error page (502).
Status int64 `json:"status" api:"required"`
// HTTP method of the failed request, when known.
Method string `json:"method"`
// Sanitized X-Kernel-Proxy-Error header value, present only when code is unknown.
// Surrounding whitespace is removed, the value is lowercased, characters outside
// [a-z0-9_] are replaced with \_, and the result is truncated to at most 64
// characters.
RawCode string `json:"raw_code"`
// CDP Network.ResourceType for the request, when known.
ResourceType string `json:"resource_type"`
// JSON contains metadata for fields, check presence with [respjson.Field.Valid].
Expand All @@ -5132,6 +5140,7 @@ type BrowserProxyErrorEventData struct {
RequestID respjson.Field
Status respjson.Field
Method respjson.Field
RawCode respjson.Field
ResourceType respjson.Field
ExtraFields map[string]respjson.Field
raw string
Expand Down Expand Up @@ -6102,6 +6111,8 @@ type BrowserTelemetryEventUnionData struct {
// This field is from variant [BrowserNetworkLoadingFailedEventData].
ErrorText string `json:"error_text"`
Code string `json:"code"`
// This field is from variant [BrowserProxyErrorEventData].
RawCode string `json:"raw_code"`
// This field is from variant [BrowserPageNavigationEventData].
ParentFrameID string `json:"parent_frame_id"`
CdpTimestamp float64 `json:"cdp_timestamp"`
Expand Down Expand Up @@ -6415,6 +6426,7 @@ type BrowserTelemetryEventUnionData struct {
Canceled respjson.Field
ErrorText respjson.Field
Code respjson.Field
RawCode respjson.Field
ParentFrameID respjson.Field
CdpTimestamp respjson.Field
OpenerID respjson.Field
Expand Down
2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "0.110.0" // x-release-please-version
const PackageVersion = "0.111.0" // x-release-please-version
Loading