Skip to content
Merged
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.46.0"
".": "0.47.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 104
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-f7024f4171c7c4ec558de1c27f338b1089ffddd0d2dbfdb9bb9f9c2abe8f47bf.yml
openapi_spec_hash: ced43682b49e73a2862f99b49abb4fcd
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fkernel-ac10847d991ef8ed89124b5550922cb5726af2b4a4c3396ee6ff82938302fc25.yml
openapi_spec_hash: 0d902563108fe2461708c05336eab40a
config_hash: 16e4457a0bb26e98a335a1c2a572290a
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 0.47.0 (2026-04-07)

Full Changelog: [v0.46.0...v0.47.0](https://github.com/kernel/kernel-go-sdk/compare/v0.46.0...v0.47.0)

### Features

* Include login_url in managed auth connection response ([795989c](https://github.com/kernel/kernel-go-sdk/commit/795989c703df9fc5bd740eeb69538a4a4cec7cee))

## 0.46.0 (2026-04-06)

Full Changelog: [v0.45.0...v0.46.0](https://github.com/kernel/kernel-go-sdk/compare/v0.45.0...v0.46.0)
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.46.0'
go get -u 'github.com/kernel/kernel-go-sdk@v0.47.0'
```

<!-- x-release-please-end -->
Expand Down
11 changes: 8 additions & 3 deletions authconnection.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ func NewAuthConnectionService(opts ...option.RequestOption) (r AuthConnectionSer
return
}

// Creates an auth connection for a profile and domain combination. Returns 409
// Conflict if an auth connection already exists for the given profile and domain.
// Creates an auth connection for a profile and domain combination. If the provided
// profile_name does not exist, it is created automatically. Returns 409 Conflict
// if an auth connection already exists for the given profile and domain.
func (r *AuthConnectionService) New(ctx context.Context, body AuthConnectionNewParams, opts ...option.RequestOption) (res *ManagedAuth, err error) {
opts = slices.Concat(r.Options, opts)
path := "auth/connections"
Expand Down Expand Up @@ -292,6 +293,8 @@ type ManagedAuth struct {
LastAuthAt time.Time `json:"last_auth_at" format:"date-time"`
// Browser live view URL for debugging (present when flow in progress)
LiveViewURL string `json:"live_view_url" api:"nullable" format:"uri"`
// Optional login page URL to skip discovery
LoginURL string `json:"login_url" format:"uri"`
// MFA method options (present when flow_step=awaiting_input and MFA selection
// required)
MfaOptions []ManagedAuthMfaOption `json:"mfa_options" api:"nullable"`
Expand Down Expand Up @@ -332,6 +335,7 @@ type ManagedAuth struct {
HostedURL respjson.Field
LastAuthAt respjson.Field
LiveViewURL respjson.Field
LoginURL respjson.Field
MfaOptions respjson.Field
PendingSSOButtons respjson.Field
PostLoginURL respjson.Field
Expand Down Expand Up @@ -544,7 +548,8 @@ func (r *ManagedAuthSignInOption) UnmarshalJSON(data []byte) error {
type ManagedAuthCreateRequestParam struct {
// Domain for authentication
Domain string `json:"domain" api:"required"`
// Name of the profile to manage authentication for
// Name of the profile to manage authentication for. If the profile does not exist,
// it is created automatically.
ProfileName string `json:"profile_name" api:"required"`
// Interval in seconds between automatic health checks. When set, the system
// periodically verifies the authentication status and triggers re-authentication
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.46.0" // x-release-please-version
const PackageVersion = "0.47.0" // x-release-please-version
Loading