> ## Documentation Index
> Fetch the complete documentation index at: https://docs.formal.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Go SDK

> Release notes for the Formal Go SDK

**December 2, 2026**

## 3.33.0

### New

* Add `forward_client_ip_headers` and `forward_username_header` to `Resource`, `CreateResourceRequest` and `UpdateResourceRequest`. They control whether the Connector sends the client IP headers and the Formal user identity headers to the Resource. Both default to `true`.

**December 1, 2026**

## 3.32.0

### New

* Add `provider_audience` to `IntegrationOIDC` and `CreateIntegrationOIDCRequest`. When set, a token that selects the integration with the `X-Formal-OIDC-Integration-Id` header must carry this audience.
* Add identity provider connections for directories: `GetDirectoryIdpConnection`, `CreateDirectoryIdpConnection`, `UpdateDirectoryIdpConnection`, `DeleteDirectoryIdpConnection`, `ListDirectoryIdpGroups` and `CreateDirectoryReconciliation` on `DirectorySyncService`, with Okta and Google Workspace configurations.
* Add `ListDirectories` and `UpdateDirectory`, the `DirectoryProvider` enum, and `display_name`, `provider`, `idp_connection_supported` and `scim_supported` to `Directory`.
* Add `allow_native_user_credentials` to `Hook` and `CreateHookRequest`.
* Add `deactivated` to `User`.

### Changed

* An organization can have several directories: `GetDirectoryRequest` and `DeleteDirectoryRequest` take an `id`, `CreateDirectoryRequest` takes a `display_name` and `provider`, and `CreateSCIMTokenRequest` takes a `directory_id`.

**November 19, 2026**

## 3.31.0

### New

* Add a Google Cloud Pub/Sub destination to log integrations: `gcp_pubsub` on `CreateIntegrationLogRequest` and `IntegrationLog`.
* Add `allow_pubsub_access` and `pubsub_topics` to GCP cloud integration create and update requests, `gcp_allow_pubsub_access` and `gcp_pubsub_topics` to `GCP`, and `pubsub_topics` to the GCP setup response.
* Add `managed_by_directory` to `User` and `Group`.
* Add `vpn_status` to `DesktopDevice`.
* Add `numeric_ranges` to `ListLogsResponse`.

### Removed

* Remove the `socket` technology.

**November 18, 2026**

## 3.30.0

### New

* Add `status` (`active` or `draft`) to `Form`, `CreateFormRequest` and `UpdateFormRequest`.
* Add `IntegrationSocketService` to create, read and delete Socket integrations.
* Add `DirectorySyncService` to manage SCIM directories and SCIM tokens.
* Add `allowed_regions` to connector VPN settings to limit where VPN traffic is routed.
* Add `folder_path` to `Policy`.
* Add more aggregation options to `GetGroupByAggregation`.

**November 13, 2026**

## 3.29.0

### New

* Support secret manager references for native users.

**November 11, 2026**

## 3.28.0

### New

* Add `DashboardService` to create, read, list, update and delete saved dashboards.
* Add `UpdateMachineUserPasswords` to `UserService` to rotate every machine user's password at once.
* Add `GetHumanSignInSettings` and `UpdateHumanSignInSettings` to `UserService` to suspend new human sign-ins org-wide.
* Add `PassthroughNativeUserV3` for Postgres native users.

**November 2, 2026**

## 3.27.0

### New

* Add `OrgThemeService` to manage the organization's display name and logo in the employee Catalog.

**October 31, 2026**

## 3.26.0

### New

* Add `linked_http_basic` and `linked_http_bearer` native user credentials, which send the requesting user's linked account token as an HTTP Basic password or Bearer token

**October 30, 2026**

## 3.25.0

### New

* Add `WorkflowService` RPCs to list, create, update, and delete workflow secrets

**October 22, 2026**

## 3.24.0

### New

* Add the `oidc/spiffe` package to authenticate with JWT-SVIDs from the SPIFFE Workload API

**October 19, 2026**

## 3.23.0

### New

* Add `ResourceService.UpdateResourceOAuthSettings` to change requested scopes and the client secret without replacing the settings. The mode, client ID, and issuer stay fixed. An empty client secret makes the client public

### Changed

* `ListPermissions` returns `permission_count` and `max_permissions`
* `GetPolicyCodeValidity` accepts `ignore_missing_hooks`, so a plan can reference hooks created in the same apply
* Form fields can be optional, hidden with `visible_if`, and checked with a CEL validation rule. Options can set `visible_if`, and a dynamic options source can read an earlier answer with `${{ field_<id> }}`

**October 15, 2026**

## 3.22.0

### New

* Add `AzureActions` and `AzureDataActions` to Azure Cloud Integrations and their setup parameters: the exact permissions Formal's custom role grants, derived from the enabled capabilities

### Changed

* `AzureRoleDefinitions` is deprecated in favor of `AzureActions` and `AzureDataActions`

## 3.21.0

### New

* Add `OAuthService` to register OAuth clients with a static client ID. Client secrets are only returned on creation
* Extend Resource OAuth settings to HTTP, gRPC, and LLM Resources, with an optional `issuer`

### Changed

* `upstream_oauth_mode` now defaults to `"formal"`, and no longer accepts `"auto"` or `"cimd"`
* Drop the dependency on `github.com/formalco/typeid`

**October 8, 2026**

## 3.20.0

### New

* Add `AIAssessmentService` to manage AI assessment settings, labels, and criteria
* Add `oidc.File`, a token source that rereads a JWT file on every call, so rotated Kubernetes service account tokens are picked up
* Assign MCP servers to a Space with `space_id`
* Support the `gcp_connectgateway` dial method

### Changed

* The `oidc/aws` token source now leaves the token lifetime to AWS STS

**September 29, 2026**

## 3.19.0

### New

* Add the `oidc/gcp` package to authenticate with Google Cloud ambient credentials
* Add `ApprovalService.CreateAccessRequest` and `ListAccessRequests`
* Support the `pre_registered` and `none` upstream OAuth modes

### Removed

* Remove `ResourceService.UpdateResourceOAuthSettings`. Resource OAuth settings are now set at creation

**September 23, 2026**

## 3.18.1

### New

* Manage Resource OAuth settings from `ResourceService`
* Publish the SDK under the Apache-2.0 license

### Removed

* Remove `ApprovalService.CreateApprovalRequest` and the `scope` filter of `ListApprovalRequests`. Upgrade to this version or later before calling `ListApprovalRequests`

**September 21, 2026**

## 3.18.0

### Changed

* Rename log rewrites to log schemas: `CreateLogSchema`, `GetLogSchema`, `ListLogSchemas`, `UpdateLogSchema`, and `DeleteLogSchema`

**September 20, 2026**

## 3.17.0

### New

* Add `ApprovalService` to create, list, and review approval requests for new MCP servers, policy suspensions, MCP registry access, and custom policy access
* Add the Mosyle MDM integration
* Add `azure.NewDefaultTokenSourceWithHTTPClient`

### Changed

* `ListSessionsV2` now requires start and end timestamps, and `CreateUser` requires a user type

### Removed

* Remove `McpService.CreateMcpRequest` in favor of `ApprovalService`

**September 17, 2026**

## 3.16.0

### New

* Add `GroupService.GetUserGroupLink`

**September 16, 2026**

## 3.15.0

### New

* Add the `oidc/cursor` and `oidc/devin` token sources for Cursor and Devin cloud agents
* Tag Policies, and filter them by tag

### Removed

* Remove `CreateRegoCodeFromNaturalLanguage` and `CreateWorkflowCodeFromNaturalLanguage`
* Remove the `ast` and `managed` fields from `Policy`

**September 8, 2026**

## 3.14.1

### Changed

* Update `connectrpc.com/connect` to v1.21.0

## 3.14.0

### New

* Add `McpService.CreateMcpRequest` to request a new MCP server


## Related topics

- [Go SDK](https://docs.formal.ai/docs/guides/configuration/sdks/go.md)
- [Overview](https://docs.formal.ai/docs/changelog/index.md)
- [Formal API](https://docs.formal.ai/docs/api/introduction.md)
- [Terraform Provider](https://docs.formal.ai/docs/changelog/terraform-provider.md)
- [Formal Control Plane](https://docs.formal.ai/docs/guides/control-plane/overview.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.