Skip to content

core: rename the core API to GraphQL casing - #14895

Merged
vito merged 31 commits into
naming/module-naming-graphql-casingfrom
naming/core-renames-graphql-casing
Nov 5, 2026
Merged

vito merged 31 commits into
naming/module-naming-graphql-casingfrom
naming/core-renames-graphql-casing

Conversation

@vito

@vito vito commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Part of the identifier-casing epic, #13668. Core fields, arguments and enum values adopt consistent GraphQL casing from v1.0.0-beta.26 (engine.IdentifierCasingVersion). Views before the cut—including beta.25—retain their existing schema names.

Convention

The core schema follows the prevailing GraphQL convention from the cut on:

position casing examples
type names PascalCase, acronyms in capitals JSONValue, HTTPState, LLM
fields, arguments, input fields camelCase, acronyms capitalized like words asJson, withGpu, commitSha, htmlUrl
enum values SCREAMING_SNAKE_CASE NEVER, PER_SESSION, OCI

Renames

Renamed fields and arguments are exposed only in their respective views: old spellings before the cut, new spellings from the cut onward, preserving any earlier availability gates. No deprecated alias fields are added. Enum schema/output spellings also change as shown below; input decoding remains compatible with both spellings.

type before the cut from the cut on
Cloud traceURL traceUrl
Container from(insecureSkipTLSVerify:), publish(insecureSkipTLSVerify:) insecureSkipTlsVerify
Container withGPU, experimentalWithGPU, experimentalWithAllGPUs withGpu, experimentalWithGpu, experimentalWithAllGpus
File asJSON asJson
GeneratedCode withVCSGeneratedPaths, withVCSIgnoredPaths withVcsGeneratedPaths, withVcsIgnoredPaths
GitBundle prerequisiteSHAs prerequisiteShas
GitCommit treeSHA treeSha
GitPushResult previousSHA previousSha
GitRef commitSHA, push(expectedRemoteSHA:) commitSha, expectedRemoteSha
LLM withMCPServer withMcpServer
Module introspectionSchemaJSON introspectionSchemaJson
ModuleSource withSDK, introspectionSchemaJSON, clientSchemaIntrospectionJSON, htmlURL, htmlRepoURL withSdk, introspectionSchemaJson, clientSchemaIntrospectionJson, htmlUrl, htmlRepoUrl
Workspace withSDK, withoutSDK withSdk, withoutSdk
FunctionCachePolicy Default, PerSession, Never DEFAULT, PER_SESSION, NEVER
ImageLayerCompression Gzip, Zstd, EStarGZ, Uncompressed (and GZIP, ... as aliases) GZIP, ZSTD, ESTARGZ, UNCOMPRESSED only
ImageMediaTypes OCIMediaTypes, DockerMediaTypes (and OCI, DOCKER as aliases) OCI, DOCKER only

The audit found no type names to change, and no input fields. Names that already follow the convention (shortSha, filterUri, callId, pushUrl, ...) are unchanged. The legacy load<Type>FromID loaders, which only exist before v0.22.0, are left as they are.

Implementation

  • Fields and arguments: core/schema/renamed_names.go installs canonical definitions under view-gated old/new names, preserving any earlier availability gates. GitBundle.prerequisiteShas and GitPushResult.previousSha are explicitly installed rather than reflected fields.
  • Ungated container calls: Container.from and publish still record calls in view "". Their legacy insecureSkipTLSVerify argument remains accepted internally, so a pre-cut caller's argument survives selection; the resolver accepts either spelling.
  • Enums: canonical SCREAMING_SNAKE values are stored in core code and IDs. All spellings decode in every view; introspection exposes the appropriate primary names/aliases for that view. Defaults, query-result enum leaves (including typed lists/nulls), and arguments passed into modules are rendered for the receiving view. Previously persisted enum spellings are normalized on decode.
  • Internal callers: use canonical latest-view names. Compatibility decoding retains old GPU and MCP spellings where required.
  • Go codegen: pre-cut identifier formatting retains the legacy rules; post-cut formatting uses engine/naming. Wire selections and enum-alias targets retain raw schema/declaration names rather than being reformatted.

Client compatibility

Clients must use the field and argument names for their selected API view. An older binding querying a post-cut view can fail on renamed fields or arguments, but upgrading the CLI does not by itself imply that view change: SDKs can declare their own client version, and pre-cut views retain the old schema names.

Enum input decoding accepts both old and canonical spellings in every view. Enum results are rendered for the receiving client's view; this is distinct from field/argument name lookup.

Generated clients

The SDL snapshot and in-repo Go, Python, TypeScript, PHP, Rust and Elixir clients are regenerated.

  • Go: post-cut identifiers use engine/naming with uppercase acronyms (commitSha → CommitSHA, withGpu → WithGPU). Notable identifier changes include ShortSHA, ParentSHAs, VCSGeneratedPaths, Workspace.SDKs, and SSHFSVolume. Dependency identifiers can also change (Github → GitHub, Ids → IDs), without deprecated Go aliases. Wire selections retain the exact schema spelling.
  • TypeScript/PHP: methods follow wire names, such as commitSha() and withGpu().
  • Python/Rust: updated names include experimental_with_all_gpus and prerequisite_shas.
  • Enums: generated members follow the schema; obsolete Go constants are removed. The migration guide records the Go identifier changes.

Validation

Coverage in the tree includes:

  • TestCoreSchemaGraphQLCasing, TestCoreSchemaConventional and TestCoreRenamedNamesViews: schema-wide casing and old/new view gates.
  • TestRenamedEnumPreCutSchema and TestRenamedEnumValueSpellings: pre-cut enum schema preservation and accepted input spellings.
  • Integration coverage for renamed Git/container/workspace operations, GPU calls, module enum inputs, entrypoint cache policies and generated client schemas.
  • TestLLM/TestMCPServerSessionAcrossSteps: exercises the renamed MCP API through the generated Go client.
  • TestClient/TestCoreEnumResultViews: real pre-cut/post-cut clients receive all three renamed core enums, including nullable and nested-list results, from a fixed-version module. It checks raw response strings and each caller's schema version while alternating clients.

Earlier revisions ran the relevant unit packages and targeted integrations. The beta.26 restack checked build/vet (with pre-existing lostcancel warnings disabled) and regenerated the SDL and six clients without drift. These are historical results, not a claim that all suites were rerun on the current head.

Fresh targeted checks during this audit passed:

  • core/schema: TestCoreRenamedNamesViews, TestRenamedEnumValueSpellings, TestRenamedEnumPreCutSchema.

  • Go templates: TestGoNamer, TestIdentifierCasingVersion.

  • Source-engine integration: TestClient/TestCoreEnumResultViews passed. Disabling scalar view conversion or dropping the view during nested-list conversion made the expected pre-cut assertions fail; restoring production code passed again. No full integration suite or regeneration was run for this cleanup.

Remaining validation limits:

  • The full integration suite and regenerated PHP/Rust/Elixir client suites have not been run; SDK runtime coverage was limited to Go, Python, TypeScript and Dang.
  • The enum-result integration exercises ordinary module returns, including their serial list path. It does not cover the valueEnumerable fast path for renamed enums: no public core result field exposes these three enums through that path.

Trade-offs

  • Some pre-cut recordings cannot be replayed. A recorded renamed-field call can fail if it used an ungated view (""), or the old pre-prerelease-view v1.0.0 view, which is now past the cut. This can affect stored recipe IDs, agent checkpoints and trace restores. There are no load-time field aliases; this compatibility break is accepted.
  • Call identity/cache reuse changes. Previously ungated renamed fields now record the caller's view. Enum literals also use canonical spellings in IDs (Gzip → GZIP, Never → NEVER). These changes can cause cache misses; old enum input spellings remain decodable.
  • Core enum arguments to modules are rendered for the module's effective view, capped at the engine's view. This conversion happens before a runtime client connects, so it does not follow a different client version declared by that runtime. All spellings remain decodable in every view.

API changes

go -C hack/sdl-diff run . 70f3dd6e9f4c9b8597660ec74ddda3415b941997:docs/docs-graphql/schema.graphqls 3f7f7fa2f515812cc011ff73e41ae06550cd92f2:docs/docs-graphql/schema.graphqls

extend type Cloud {
  # Added
  """
  The trace URL for the current session
  """
  traceUrl: String!
  # Removed: traceURL: String!
}

extend type Container {
  # Changed: previously from(address: String!, version: String = "", registryService: ID @expectedType(name: "Service"), protocol: RegistryProtocol, insecureSkipTLSVerify: Boolean = false, noLock: Boolean = false): Container!
  """
  Download a container image, and apply it to the container state. All previous state will be lost.
  """
  from(
    """
    Address of the container image to download, in standard OCI ref format. Example: "registry.dagger.io/engine:latest".
    
    An address without a tag or digest selects the greatest stable release tag,
    falling back to the literal "latest" tag when no eligible release exists.
    """
    address: String!

    """
    Version query used to select an image tag. The address must not contain a tag or digest.
    """
    version: String = ""

    """
    Service to use as the registry endpoint for the image address.
    
    The service will be started only for this pull.
    """
    registryService: ID @expectedType(name: "Service")

    """
    Protocol to use for registry communication.
    
    Defaults to "HTTPS". Use "HTTP" only for plain HTTP registries.
    """
    protocol: RegistryProtocol

    """
    Allow HTTPS registry communication without verifying the server certificate.
    """
    insecureSkipTlsVerify: Boolean = false

    """
    Ignore the workspace lockfile for this lookup.
    """
    noLock: Boolean = false
  ): Container!
  # Changed: previously publish(address: String!, platformVariants: [ID!] = [] @expectedType(name: "Container"), forcedCompression: ImageLayerCompression, mediaTypes: ImageMediaTypes = OCIMediaTypes, registryService: ID @expectedType(name: "Service"), protocol: RegistryProtocol, insecureSkipTLSVerify: Boolean = false, sourceDateEpoch: Int): String! @reevaluate
  """
  Package the container state as an OCI image, and publish it to a registry

  Returns the fully qualified address of the published image, with digest
  """
  publish(
    """
    The OCI address to publish to
    
    Same format as "docker push". Example: "registry.example.com/user/repo:tag"
    """
    address: String!

    """
    Identifiers for other platform specific containers.
    
    Used for multi-platform image.
    """
    platformVariants: [ID!] = [] @expectedType(name: "Container")

    """
    Force each layer of the published image to use the specified compression algorithm.
    
    If this is unset, then if a layer already has a compressed blob in the
    engine's cache, that will be used (this can result in a mix of compression
    algorithms for different layers). If this is unset and a layer has no
    compressed blob in the engine's cache, then it will be compressed using
    Gzip.
    """
    forcedCompression: ImageLayerCompression

    """
    Use the specified media types for the published image's layers.
    
    Defaults to "OCI", which is compatible with most recent registries, but
    "Docker" may be needed for older registries without OCI support.
    """
    mediaTypes: ImageMediaTypes = OCI

    """
    Service to use as the registry endpoint for the image address.
    
    The service will be started only for this push.
    """
    registryService: ID @expectedType(name: "Service")

    """
    Protocol to use for registry communication.
    
    Defaults to "HTTPS". Use "HTTP" only for plain HTTP registries.
    """
    protocol: RegistryProtocol

    """
    Allow HTTPS registry communication without verifying the server certificate.
    """
    insecureSkipTlsVerify: Boolean = false

    """
    Clamp the image's timestamps to this time, so that rebuilding unchanged files produces identical layers.
    
    Formatted in seconds following Unix epoch (e.g., 1672531199). File
    timestamps in every layer and the image's creation times that are later than
    this are set to it, as with BuildKit's rewrite-timestamp and
    SOURCE_DATE_EPOCH. Every layer is rewritten, so this costs time on each
    export.
    """
    sourceDateEpoch: Int
  ): String! @reevaluate
  # Changed: previously export(path: String!, platformVariants: [ID!] = [] @expectedType(name: "Container"), forcedCompression: ImageLayerCompression, mediaTypes: ImageMediaTypes = OCIMediaTypes, expand: Boolean = false, sourceDateEpoch: Int): String! @reevaluate
  """
  Writes the container as an OCI tarball to the destination file path on the host.

  It can also export platform variants.
  """
  export(
    """
    Host's destination path (e.g., "./tarball").
    
    Path can be relative to the engine's workdir or absolute.
    """
    path: String!

    """
    Identifiers for other platform specific containers.
    
    Used for multi-platform image.
    """
    platformVariants: [ID!] = [] @expectedType(name: "Container")

    """
    Force each layer of the exported image to use the specified compression algorithm.
    
    If this is unset, then if a layer already has a compressed blob in the
    engine's cache, that will be used (this can result in a mix of compression
    algorithms for different layers). If this is unset and a layer has no
    compressed blob in the engine's cache, then it will be compressed using
    Gzip.
    """
    forcedCompression: ImageLayerCompression

    """
    Use the specified media types for the exported image's layers.
    
    Defaults to OCI, which is largely compatible with most recent container
    runtimes, but Docker may be needed for older runtimes without OCI support.
    """
    mediaTypes: ImageMediaTypes = OCI

    """
    Replace "${VAR}" or "$VAR" in the value of path according to the current
    environment variables defined in the container (e.g. "/$VAR/foo").
    """
    expand: Boolean = false

    """
    Clamp the image's timestamps to this time, so that rebuilding unchanged files produces identical layers.
    
    Formatted in seconds following Unix epoch (e.g., 1672531199). File
    timestamps in every layer and the image's creation times that are later than
    this are set to it, as with BuildKit's rewrite-timestamp and
    SOURCE_DATE_EPOCH. Every layer is rewritten, so this costs time on each
    export.
    """
    sourceDateEpoch: Int
  ): String! @reevaluate
  # Changed: previously exportImage(name: String!, platformVariants: [ID!] = [] @expectedType(name: "Container"), forcedCompression: ImageLayerCompression, mediaTypes: ImageMediaTypes = OCIMediaTypes, sourceDateEpoch: Int): Void!
  """
  Exports the container as an image to the host's container image store.
  """
  exportImage(
    """
    Name of image to export to in the host's store
    """
    name: String!

    """
    Identifiers for other platform specific containers.
    
    Used for multi-platform image.
    """
    platformVariants: [ID!] = [] @expectedType(name: "Container")

    """
    Force each layer of the exported image to use the specified compression algorithm.
    
    If this is unset, then if a layer already has a compressed blob in the
    engine's cache, that will be used (this can result in a mix of compression
    algorithms for different layers). If this is unset and a layer has no
    compressed blob in the engine's cache, then it will be compressed using
    Gzip.
    """
    forcedCompression: ImageLayerCompression

    """
    Use the specified media types for the exported image's layers.
    
    Defaults to OCI, which is largely compatible with most recent container
    runtimes, but Docker may be needed for older runtimes without OCI support.
    """
    mediaTypes: ImageMediaTypes = OCI

    """
    Clamp the image's timestamps to this time, so that rebuilding unchanged files produces identical layers.
    
    Formatted in seconds following Unix epoch (e.g., 1672531199). File
    timestamps in every layer and the image's creation times that are later than
    this are set to it, as with BuildKit's rewrite-timestamp and
    SOURCE_DATE_EPOCH. Every layer is rewritten, so this costs time on each
    export.
    """
    sourceDateEpoch: Int
  ): Void!
  # Changed: previously asTarball(platformVariants: [ID!] = [] @expectedType(name: "Container"), forcedCompression: ImageLayerCompression, mediaTypes: ImageMediaTypes = OCIMediaTypes, sourceDateEpoch: Int): File!
  """
  Package the container state as an OCI image, and return it as a tar archive
  """
  asTarball(
    """
    Identifiers for other platform specific containers.
    
    Used for multi-platform images.
    """
    platformVariants: [ID!] = [] @expectedType(name: "Container")

    """
    Force each layer of the image to use the specified compression algorithm.
    
    If this is unset, then if a layer already has a compressed blob in the
    engine's cache, that will be used (this can result in a mix of compression
    algorithms for different layers). If this is unset and a layer has no
    compressed blob in the engine's cache, then it will be compressed using
    Gzip.
    """
    forcedCompression: ImageLayerCompression

    """
    Use the specified media types for the image's layers.
    
    Defaults to OCI, which is largely compatible with most recent container
    runtimes, but Docker may be needed for older runtimes without OCI support.
    """
    mediaTypes: ImageMediaTypes = OCI

    """
    Clamp the image's timestamps to this time, so that rebuilding unchanged files produces identical layers.
    
    Formatted in seconds following Unix epoch (e.g., 1672531199). File
    timestamps in every layer and the image's creation times that are later than
    this are set to it, as with BuildKit's rewrite-timestamp and
    SOURCE_DATE_EPOCH. Every layer is rewritten, so this costs time on each
    export.
    """
    sourceDateEpoch: Int
  ): File!
  # Changed: previously manifest(forcedCompression: ImageLayerCompression, mediaTypes: ImageMediaTypes = OCIMediaTypes): File!
  """
  Computes and returns the manifest for this container as a File.
  """
  manifest(
    """
    Force each layer of the image to use the specified compression algorithm.
    
    If this is unset, then if a layer already has a compressed blob in the
    engine's cache, that will be used (this can result in a mix of compression
    algorithms for different layers). If this is unset and a layer has no
    compressed blob in the engine's cache, then it will be compressed using
    Gzip.
    """
    forcedCompression: ImageLayerCompression

    """
    Media types to use for image layers. Defaults to OCI.
    """
    mediaTypes: ImageMediaTypes = OCI
  ): File!
  # Changed: previously layer(id: String!, forcedCompression: ImageLayerCompression, mediaTypes: ImageMediaTypes = OCIMediaTypes): File!
  """
  Returns the image layer or configuration blob with the given digest as a File.
  """
  layer(
    """
    Digest of the layer or configuration blob (e.g. "sha256:abc123...").
    """
    id: String!

    """
    Force each layer of the image to use the specified compression algorithm.
    
    If this is unset, then if a layer already has a compressed blob in the
    engine's cache, that will be used (this can result in a mix of compression
    algorithms for different layers). If this is unset and a layer has no
    compressed blob in the engine's cache, then it will be compressed using
    Gzip.
    """
    forcedCompression: ImageLayerCompression

    """
    Media types to use for image layers. Defaults to OCI.
    """
    mediaTypes: ImageMediaTypes = OCI
  ): File!
  # Added
  """
  Configures all GPUs available on the host to be accessible to this container.

  This currently works with NVIDIA devices only, and requires the engine to run with GPU support enabled.
  """
  withGpu: Container!
  # Added
  """
  Configures the provided list of devices to be accessible to this container.

  This currently works for Nvidia devices only.
  """
  experimentalWithGpu(
    """
    List of devices to be accessible to this container.
    """
    devices: [String!]!
  ): Container! @deprecated(reason: "Use \"withGpu\" instead, which exposes all GPUs available on the host.")
  # Added
  """
  Configures all available GPUs on the host to be accessible to this container.

  This currently works for Nvidia devices only.
  """
  experimentalWithAllGpus: Container! @deprecated(reason: "Use \"withGpu\" instead.")
  # Removed: withGPU: Container!
  # Removed: experimentalWithGPU(devices: [String!]!): Container! @deprecated(reason: "Use \"withGPU\" instead, which exposes all GPUs available on the host.")
  # Removed: experimentalWithAllGPUs: Container! @deprecated(reason: "Use \"withGPU\" instead.")
}

extend type File {
  # Added
  """
  Parse the file contents as JSON.
  """
  asJson: JSONValue!
  # Removed: asJSON: JSONValue!
}

extend enum FunctionCachePolicy {
  # Added
  DEFAULT
  # Added
  PER_SESSION
  # Added
  NEVER
  # Removed: Default
  # Removed: PerSession
  # Removed: Never
}

extend type GeneratedCode {
  # Added
  """
  Set the list of paths to mark generated in version control.
  """
  withVcsGeneratedPaths(paths: [String!]!): GeneratedCode!
  # Added
  """
  Set the list of paths to ignore in version control.
  """
  withVcsIgnoredPaths(paths: [String!]!): GeneratedCode!
  # Removed: withVCSGeneratedPaths(paths: [String!]!): GeneratedCode!
  # Removed: withVCSIgnoredPaths(paths: [String!]!): GeneratedCode!
}

extend type GitBundle {
  # Added
  """
  Commits that must already exist wherever this bundle is applied.
  """
  prerequisiteShas: [String!]!
  # Removed: prerequisiteSHAs: [String!]!
}

extend type GitCommit {
  # Added
  """
  The ID of the commit's Git tree object.

  Commits with identical trees have identical contents and file modes.
  """
  treeSha: String!
  # Removed: treeSHA: String!
}

extend type GitPushResult {
  # Added
  """
  The previous remote object ID; empty when the ref was created.
  """
  previousSha: String!
  # Removed: previousSHA: String!
}

extend type GitRef {
  # Changed: previously push(to: ID @expectedType(name: "GitRepository"), remote: String = "", branch: String = "", expectedRemoteSHA: String = ""): GitPushResult! @reevaluate
  """
  Push this ref's commit and history to a remote repository using the destination's credentials.

  The source can come from a remote repository or an engine-side Git repository.
  To publish a workspace's commits, use Workspace.git.head.push. Pushing does
  not modify the calling client's checkout, and checkout hooks do not run.

  A missing remote ref is created. Without a lease, Git's normal non-force rules
  apply. Each invocation performs a push; loading the returned receipt does not
  push again.
  """
  push(
    """
    Destination remote repository. Defaults to the origin remote's push routing,
    or the source's repository URL when none is registered. Required when the
    source has no remote URL.
    """
    to: ID @expectedType(name: "GitRepository")

    """
    Name of a registered remote to push to (see GitRepository.withRemote).
    Defaults to origin. The remote's push URLs, or its URL, become the
    destination; more than one push URL requires an explicit to instead.
    """
    remote: String = ""

    """
    Destination branch; a refs/ prefix is used verbatim. Defaults to this ref's
    branch name. Required for detached and non-branch refs.
    """
    branch: String = ""

    """
    Optional lease: a full lowercase object ID allows replacement only if the
    remote ref still has that value. Checked even for up-to-date pushes. Empty
    or omitted uses normal non-force rules, creating the ref if it does not
    exist.
    """
    expectedRemoteSha: String = ""
  ): GitPushResult! @reevaluate
  # Added
  """
  The resolved commit SHA at this ref.
  """
  commitSha: String!
  # Changed: previously commit: String! @deprecated(reason: "Use \"commitSHA\" instead.")
  """
  The resolved commit id at this ref.
  """
  commit: String! @deprecated(reason: "Use \"commitSha\" instead.")
  # Removed: commitSHA: String!
}

extend enum ImageLayerCompression {
  # Changed: previously GZIP @enumValue(value: "Gzip")
  GZIP
  # Changed: previously ZSTD @enumValue(value: "Zstd")
  ZSTD
  # Changed: previously ESTARGZ @enumValue(value: "EStarGZ")
  ESTARGZ
  # Changed: previously UNCOMPRESSED @enumValue(value: "Uncompressed")
  UNCOMPRESSED
  # Removed: Gzip
  # Removed: Zstd
  # Removed: EStarGZ
  # Removed: Uncompressed
}

extend enum ImageMediaTypes {
  # Changed: previously OCI @enumValue(value: "OCIMediaTypes")
  OCI
  # Changed: previously DOCKER @enumValue(value: "DockerMediaTypes")
  DOCKER
  # Removed: OCIMediaTypes
  # Removed: DockerMediaTypes
}

extend type LLM {
  # Added
  """
  Add an external MCP server to the LLM
  """
  withMcpServer(
    """
    The name of the MCP server
    """
    name: String!

    """
    The MCP service to run and communicate with over stdio
    """
    service: ID! @expectedType(name: "Service")
  ): LLM!
  # Removed: withMCPServer(name: String!, service: ID! @expectedType(name: "Service")): LLM!
}

extend type Module {
  # Added
  """
  The introspection schema JSON file for this module.

  This file represents the schema visible to the module's source code, including
  all core types and those from the dependencies.

  Note: this is in the context of a module, so some core types may be hidden.
  """
  introspectionSchemaJson: File!
  # Removed: introspectionSchemaJSON: File!
}

extend type ModuleSource {
  # Added
  """
  Update the module source with a new SDK.
  """
  withSdk(
    """
    The SDK source to set.
    """
    source: String!
  ): ModuleSource!
  # Added
  """
  The introspection schema JSON file for this module source.

  This file represents the schema visible to the module's source code, including
  all core types and those from the dependencies.

  Note: this is in the context of a module, so some core types may be hidden.
  """
  introspectionSchemaJson: File!
  # Added
  """
  The client-facing introspection schema JSON file for this module source.

  This is the schema consumed by client codegen: unlike introspectionSchemaJson
  (the module-facing schema), it hides no core types and installs this module
  (reached via dag.<moduleName>) so a generated client can bind it. The module's
  dependencies are excluded: a client is generated for a single module plus
  core, not its dependency graph.
  """
  clientSchemaIntrospectionJson: File!
  # Added
  """
  The URL to the source's git repo in a web browser. Only valid for git sources.
  """
  htmlUrl: String!
  # Added
  """
  The URL to access the web view of the repository (e.g., GitHub, GitLab, Bitbucket).
  """
  htmlRepoUrl: String!
  # Removed: withSDK(source: String!): ModuleSource!
  # Removed: introspectionSchemaJSON: File!
  # Removed: clientSchemaIntrospectionJSON: File!
  # Removed: htmlURL: String!
  # Removed: htmlRepoURL: String!
}

extend type Workspace {
  # Added
  """
  Return this workspace with an SDK installed in its config.
  """
  withSdk(
    """
    SDK module reference to install.
    """
    ref: String!

    """
    Override name for the installed SDK entry.
    """
    name: String = ""

    """
    Write to the workspace config directory at the workspace cwd.
    """
    here: Boolean = false

    """
    Optional override for the SDK name conventionally derived from the installed module name.
    """
    asSdkName: String = ""
  ): Workspace!
  # Added
  """
  Return this workspace with an SDK removed from its config.
  """
  withoutSdk(
    """
    Name of the installed SDK entry to remove.
    """
    name: String!

    """
    Write to the workspace config directory at the workspace cwd.
    """
    here: Boolean = false
  ): Workspace!
  # Removed: withSDK(ref: String!, name: String = "", here: Boolean = false, asSdkName: String = ""): Workspace!
  # Removed: withoutSDK(name: String!, here: Boolean = false): Workspace!
}
Detailed diff
 extend type Cloud {
   """
   The trace URL for the current session
   """
-  traceURL: String!
+  traceUrl: String!
 }

 extend type Container {
   """
   Package the container state as an OCI image, and return it as a tar archive
   """
   asTarball(
     """
     Force each layer of the image to use the specified compression algorithm.
     
     If this is unset, then if a layer already has a compressed blob in the
     engine's cache, that will be used (this can result in a mix of compression
     algorithms for different layers). If this is unset and a layer has no
     compressed blob in the engine's cache, then it will be compressed using
     Gzip.
     """
     forcedCompression: ImageLayerCompression
 
     """
     Use the specified media types for the image's layers.
     
     Defaults to OCI, which is largely compatible with most recent container
     runtimes, but Docker may be needed for older runtimes without OCI support.
     """
-    mediaTypes: ImageMediaTypes = OCIMediaTypes
+    mediaTypes: ImageMediaTypes = OCI
 
     """
     Identifiers for other platform specific containers.
     
     Used for multi-platform images.
     """
     platformVariants: [ID!] = [] @expectedType(name: "Container")
 
     """
     Clamp the image's timestamps to this time, so that rebuilding unchanged files produces identical layers.
     
     Formatted in seconds following Unix epoch (e.g., 1672531199). File
     timestamps in every layer and the image's creation times that are later than
     this are set to it, as with BuildKit's rewrite-timestamp and
     SOURCE_DATE_EPOCH. Every layer is rewritten, so this costs time on each
     export.
     """
     sourceDateEpoch: Int
   ): File!
   """
   Configures all available GPUs on the host to be accessible to this container.
   
   This currently works for Nvidia devices only.
   """
-  experimentalWithAllGPUs: Container! @deprecated(reason: "Use \"withGPU\" instead.")
+  experimentalWithAllGpus: Container! @deprecated(reason: "Use \"withGpu\" instead.")
   """
   Configures the provided list of devices to be accessible to this container.
   
   This currently works for Nvidia devices only.
   """
-  experimentalWithGPU(
+  experimentalWithGpu(
     """
     List of devices to be accessible to this container.
     """
     devices: [String!]!
-  ): Container! @deprecated(reason: "Use \"withGPU\" instead, which exposes all GPUs available on the host.")
+  ): Container! @deprecated(reason: "Use \"withGpu\" instead, which exposes all GPUs available on the host.")
   """
   Writes the container as an OCI tarball to the destination file path on the host.
   
   It can also export platform variants.
   """
   export(
     """
     Replace "${VAR}" or "$VAR" in the value of path according to the current
     environment variables defined in the container (e.g. "/$VAR/foo").
     """
     expand: Boolean = false
 
     """
     Force each layer of the exported image to use the specified compression algorithm.
     
     If this is unset, then if a layer already has a compressed blob in the
     engine's cache, that will be used (this can result in a mix of compression
     algorithms for different layers). If this is unset and a layer has no
     compressed blob in the engine's cache, then it will be compressed using
     Gzip.
     """
     forcedCompression: ImageLayerCompression
 
     """
     Use the specified media types for the exported image's layers.
     
     Defaults to OCI, which is largely compatible with most recent container
     runtimes, but Docker may be needed for older runtimes without OCI support.
     """
-    mediaTypes: ImageMediaTypes = OCIMediaTypes
+    mediaTypes: ImageMediaTypes = OCI
 
     """
     Host's destination path (e.g., "./tarball").
     
     Path can be relative to the engine's workdir or absolute.
     """
     path: String!
 
     """
     Identifiers for other platform specific containers.
     
     Used for multi-platform image.
     """
     platformVariants: [ID!] = [] @expectedType(name: "Container")
 
     """
     Clamp the image's timestamps to this time, so that rebuilding unchanged files produces identical layers.
     
     Formatted in seconds following Unix epoch (e.g., 1672531199). File
     timestamps in every layer and the image's creation times that are later than
     this are set to it, as with BuildKit's rewrite-timestamp and
     SOURCE_DATE_EPOCH. Every layer is rewritten, so this costs time on each
     export.
     """
     sourceDateEpoch: Int
   ): String! @reevaluate
   """
   Exports the container as an image to the host's container image store.
   """
   exportImage(
     """
     Force each layer of the exported image to use the specified compression algorithm.
     
     If this is unset, then if a layer already has a compressed blob in the
     engine's cache, that will be used (this can result in a mix of compression
     algorithms for different layers). If this is unset and a layer has no
     compressed blob in the engine's cache, then it will be compressed using
     Gzip.
     """
     forcedCompression: ImageLayerCompression
 
     """
     Use the specified media types for the exported image's layers.
     
     Defaults to OCI, which is largely compatible with most recent container
     runtimes, but Docker may be needed for older runtimes without OCI support.
     """
-    mediaTypes: ImageMediaTypes = OCIMediaTypes
+    mediaTypes: ImageMediaTypes = OCI
 
     """
     Name of image to export to in the host's store
     """
     name: String!
 
     """
     Identifiers for other platform specific containers.
     
     Used for multi-platform image.
     """
     platformVariants: [ID!] = [] @expectedType(name: "Container")
 
     """
     Clamp the image's timestamps to this time, so that rebuilding unchanged files produces identical layers.
     
     Formatted in seconds following Unix epoch (e.g., 1672531199). File
     timestamps in every layer and the image's creation times that are later than
     this are set to it, as with BuildKit's rewrite-timestamp and
     SOURCE_DATE_EPOCH. Every layer is rewritten, so this costs time on each
     export.
     """
     sourceDateEpoch: Int
   ): Void!
   """
   Download a container image, and apply it to the container state. All previous state will be lost.
   """
   from(
     """
     Address of the container image to download, in standard OCI ref format. Example: "registry.dagger.io/engine:latest".
     
     An address without a tag or digest selects the greatest stable release tag,
     falling back to the literal "latest" tag when no eligible release exists.
     """
     address: String!
 
     """
     Allow HTTPS registry communication without verifying the server certificate.
     """
-    insecureSkipTLSVerify: Boolean = false
+    insecureSkipTlsVerify: Boolean = false
 
     """
     Ignore the workspace lockfile for this lookup.
     """
     noLock: Boolean = false
 
     """
     Protocol to use for registry communication.
     
     Defaults to "HTTPS". Use "HTTP" only for plain HTTP registries.
     """
     protocol: RegistryProtocol
 
     """
     Service to use as the registry endpoint for the image address.
     
     The service will be started only for this pull.
     """
     registryService: ID @expectedType(name: "Service")
 
     """
     Version query used to select an image tag. The address must not contain a tag or digest.
     """
     version: String = ""
   ): Container!
   """
   Returns the image layer or configuration blob with the given digest as a File.
   """
   layer(
     """
     Force each layer of the image to use the specified compression algorithm.
     
     If this is unset, then if a layer already has a compressed blob in the
     engine's cache, that will be used (this can result in a mix of compression
     algorithms for different layers). If this is unset and a layer has no
     compressed blob in the engine's cache, then it will be compressed using
     Gzip.
     """
     forcedCompression: ImageLayerCompression
 
     """
     Digest of the layer or configuration blob (e.g. "sha256:abc123...").
     """
     id: String!
 
     """
     Media types to use for image layers. Defaults to OCI.
     """
-    mediaTypes: ImageMediaTypes = OCIMediaTypes
+    mediaTypes: ImageMediaTypes = OCI
   ): File!
   """
   Computes and returns the manifest for this container as a File.
   """
   manifest(
     """
     Force each layer of the image to use the specified compression algorithm.
     
     If this is unset, then if a layer already has a compressed blob in the
     engine's cache, that will be used (this can result in a mix of compression
     algorithms for different layers). If this is unset and a layer has no
     compressed blob in the engine's cache, then it will be compressed using
     Gzip.
     """
     forcedCompression: ImageLayerCompression
 
     """
     Media types to use for image layers. Defaults to OCI.
     """
-    mediaTypes: ImageMediaTypes = OCIMediaTypes
+    mediaTypes: ImageMediaTypes = OCI
   ): File!
   """
   Package the container state as an OCI image, and publish it to a registry
   
   Returns the fully qualified address of the published image, with digest
   """
   publish(
     """
     The OCI address to publish to
     
     Same format as "docker push". Example: "registry.example.com/user/repo:tag"
     """
     address: String!
 
     """
     Force each layer of the published image to use the specified compression algorithm.
     
     If this is unset, then if a layer already has a compressed blob in the
     engine's cache, that will be used (this can result in a mix of compression
     algorithms for different layers). If this is unset and a layer has no
     compressed blob in the engine's cache, then it will be compressed using
     Gzip.
     """
     forcedCompression: ImageLayerCompression
 
     """
     Allow HTTPS registry communication without verifying the server certificate.
     """
-    insecureSkipTLSVerify: Boolean = false
+    insecureSkipTlsVerify: Boolean = false
 
     """
     Use the specified media types for the published image's layers.
     
     Defaults to "OCI", which is compatible with most recent registries, but
     "Docker" may be needed for older registries without OCI support.
     """
-    mediaTypes: ImageMediaTypes = OCIMediaTypes
+    mediaTypes: ImageMediaTypes = OCI
 
     """
     Identifiers for other platform specific containers.
     
     Used for multi-platform image.
     """
     platformVariants: [ID!] = [] @expectedType(name: "Container")
 
     """
     Protocol to use for registry communication.
     
     Defaults to "HTTPS". Use "HTTP" only for plain HTTP registries.
     """
     protocol: RegistryProtocol
 
     """
     Service to use as the registry endpoint for the image address.
     
     The service will be started only for this push.
     """
     registryService: ID @expectedType(name: "Service")
 
     """
     Clamp the image's timestamps to this time, so that rebuilding unchanged files produces identical layers.
     
     Formatted in seconds following Unix epoch (e.g., 1672531199). File
     timestamps in every layer and the image's creation times that are later than
     this are set to it, as with BuildKit's rewrite-timestamp and
     SOURCE_DATE_EPOCH. Every layer is rewritten, so this costs time on each
     export.
     """
     sourceDateEpoch: Int
   ): String! @reevaluate
   """
   Configures all GPUs available on the host to be accessible to this container.
   
   This currently works with NVIDIA devices only, and requires the engine to run with GPU support enabled.
   """
-  withGPU: Container!
+  withGpu: Container!
 }

 extend type File {
   """
   Parse the file contents as JSON.
   """
-  asJSON: JSONValue!
+  asJson: JSONValue!
 }

 extend enum FunctionCachePolicy {
-  Default
-  Never
-  PerSession
+  DEFAULT
+  NEVER
+  PER_SESSION
 }

 extend type GeneratedCode {
   """
   Set the list of paths to mark generated in version control.
   """
-  withVCSGeneratedPaths(paths: [String!]!): GeneratedCode!
+  withVcsGeneratedPaths(paths: [String!]!): GeneratedCode!
   """
   Set the list of paths to ignore in version control.
   """
-  withVCSIgnoredPaths(paths: [String!]!): GeneratedCode!
+  withVcsIgnoredPaths(paths: [String!]!): GeneratedCode!
 }

 extend type GitBundle {
   """
   Commits that must already exist wherever this bundle is applied.
   """
-  prerequisiteSHAs: [String!]!
+  prerequisiteShas: [String!]!
 }

 extend type GitCommit {
   """
   The ID of the commit's Git tree object.
   
   Commits with identical trees have identical contents and file modes.
   """
-  treeSHA: String!
+  treeSha: String!
 }

 extend type GitPushResult {
   """
   The previous remote object ID; empty when the ref was created.
   """
-  previousSHA: String!
+  previousSha: String!
 }

 extend type GitRef {
   """
   The resolved commit id at this ref.
   """
-  commit: String! @deprecated(reason: "Use \"commitSHA\" instead.")
+  commit: String! @deprecated(reason: "Use \"commitSha\" instead.")
   """
   The resolved commit SHA at this ref.
   """
-  commitSHA: String!
+  commitSha: String!
   """
   Push this ref's commit and history to a remote repository using the destination's credentials.
   
   The source can come from a remote repository or an engine-side Git repository.
   To publish a workspace's commits, use Workspace.git.head.push. Pushing does
   not modify the calling client's checkout, and checkout hooks do not run.
   
   A missing remote ref is created. Without a lease, Git's normal non-force rules
   apply. Each invocation performs a push; loading the returned receipt does not
   push again.
   """
   push(
     """
     Destination branch; a refs/ prefix is used verbatim. Defaults to this ref's
     branch name. Required for detached and non-branch refs.
     """
     branch: String = ""
 
     """
     Optional lease: a full lowercase object ID allows replacement only if the
     remote ref still has that value. Checked even for up-to-date pushes. Empty
     or omitted uses normal non-force rules, creating the ref if it does not
     exist.
     """
-    expectedRemoteSHA: String = ""
+    expectedRemoteSha: String = ""
 
     """
     Name of a registered remote to push to (see GitRepository.withRemote).
     Defaults to origin. The remote's push URLs, or its URL, become the
     destination; more than one push URL requires an explicit to instead.
     """
     remote: String = ""
 
     """
     Destination remote repository. Defaults to the origin remote's push routing,
     or the source's repository URL when none is registered. Required when the
     source has no remote URL.
     """
     to: ID @expectedType(name: "GitRepository")
   ): GitPushResult! @reevaluate
 }

 extend enum ImageLayerCompression {
-  ESTARGZ @enumValue(value: "EStarGZ")
-  EStarGZ
-  GZIP @enumValue(value: "Gzip")
-  Gzip
-  UNCOMPRESSED @enumValue(value: "Uncompressed")
-  Uncompressed
-  ZSTD @enumValue(value: "Zstd")
-  Zstd
+  ESTARGZ
+  GZIP
+  UNCOMPRESSED
+  ZSTD
 }

 extend enum ImageMediaTypes {
-  DOCKER @enumValue(value: "DockerMediaTypes")
-  DockerMediaTypes
-  OCI @enumValue(value: "OCIMediaTypes")
-  OCIMediaTypes
+  DOCKER
+  OCI
 }

 extend type LLM {
   """
   Add an external MCP server to the LLM
   """
-  withMCPServer(
+  withMcpServer(
     """
     The name of the MCP server
     """
     name: String!
 
     """
     The MCP service to run and communicate with over stdio
     """
     service: ID! @expectedType(name: "Service")
   ): LLM!
 }

 extend type Module {
   """
   The introspection schema JSON file for this module.
   
   This file represents the schema visible to the module's source code, including
   all core types and those from the dependencies.
   
   Note: this is in the context of a module, so some core types may be hidden.
   """
-  introspectionSchemaJSON: File!
+  introspectionSchemaJson: File!
 }

 extend type ModuleSource {
   """
   The client-facing introspection schema JSON file for this module source.
   
-  This is the schema consumed by client codegen: unlike introspectionSchemaJSON
+  This is the schema consumed by client codegen: unlike introspectionSchemaJson
   (the module-facing schema), it hides no core types and installs this module
   (reached via dag.<moduleName>) so a generated client can bind it. The module's
   dependencies are excluded: a client is generated for a single module plus
   core, not its dependency graph.
   """
-  clientSchemaIntrospectionJSON: File!
+  clientSchemaIntrospectionJson: File!
   """
   The URL to access the web view of the repository (e.g., GitHub, GitLab, Bitbucket).
   """
-  htmlRepoURL: String!
+  htmlRepoUrl: String!
   """
   The URL to the source's git repo in a web browser. Only valid for git sources.
   """
-  htmlURL: String!
+  htmlUrl: String!
   """
   The introspection schema JSON file for this module source.
   
   This file represents the schema visible to the module's source code, including
   all core types and those from the dependencies.
   
   Note: this is in the context of a module, so some core types may be hidden.
   """
-  introspectionSchemaJSON: File!
+  introspectionSchemaJson: File!
   """
   Update the module source with a new SDK.
   """
-  withSDK(
+  withSdk(
     """
     The SDK source to set.
     """
     source: String!
   ): ModuleSource!
 }

 extend type Workspace {
   """
   Return this workspace with an SDK installed in its config.
   """
-  withSDK(
+  withSdk(
     """
     Optional override for the SDK name conventionally derived from the installed module name.
     """
     asSdkName: String = ""
 
     """
     Write to the workspace config directory at the workspace cwd.
     """
     here: Boolean = false
 
     """
     Override name for the installed SDK entry.
     """
     name: String = ""
 
     """
     SDK module reference to install.
     """
     ref: String!
   ): Workspace!
   """
   Return this workspace with an SDK removed from its config.
   """
-  withoutSDK(
+  withoutSdk(
     """
     Write to the workspace config directory at the workspace cwd.
     """
     here: Boolean = false
 
     """
     Name of the installed SDK entry to remove.
     """
     name: String!
   ): Workspace!
 }

@vito
vito added this pull request to stack #14896 October 28, 2026 01:02
@vito
vito force-pushed the naming/core-renames-graphql-casing branch from e4744cb to 89993e6 Compare October 28, 2026 02:33
@vito
vito removed this pull request from stack #14896 October 28, 2026 02:34
@vito
vito changed the base branch from naming/view-prerelease-gate to naming/module-naming-graphql-casing October 28, 2026 02:34
@vito
vito added this pull request to stack #14901 October 28, 2026 02:37
@vito
vito force-pushed the naming/core-renames-graphql-casing branch 2 times, most recently from 375fcf6 to ba7dd8b Compare October 28, 2026 03:32
@vito
vito force-pushed the naming/core-renames-graphql-casing branch from ba7dd8b to 0cd4ef7 Compare October 28, 2026 16:28
@vito
vito force-pushed the naming/core-renames-graphql-casing branch from 0cd4ef7 to 0e4d8a8 Compare October 28, 2026 17:06
@vito
vito force-pushed the naming/core-renames-graphql-casing branch from 0e4d8a8 to df089c9 Compare October 29, 2026 01:20
@vito
vito marked this pull request as ready for review October 29, 2026 01:24
@vito
vito requested review from a team as code owners October 29, 2026 01:24
@vito
vito force-pushed the naming/core-renames-graphql-casing branch from df089c9 to deb2582 Compare October 29, 2026 02:06
vito added a commit that referenced this pull request Oct 29, 2026
Changie fragments for the identifier-casing stack: prerelease-granular API
views (#14810), module naming by GraphQL casing (#14891), the core API renames
(#14895, breaking), and entrypoint engine versions from dang.toml (#14902).

Signed-off-by: Alex Suraci <[email protected]>
vito added 19 commits November 5, 2026 11:28
Generated from the dev engine's schema, past the identifier casing cut:
the renamed fields and arguments go over the wire with their new names.
experimental_with_all_gp_us and prerequisite_sh_as become
experimental_with_all_gpus and prerequisite_shas, and the enums keep only
the members the schema has.

Signed-off-by: Alex Suraci <[email protected]>
Generated from the dev engine's schema, past the identifier casing cut:
the renamed fields and arguments go over the wire with their new names,
and the enums' atoms follow the schema's members (FunctionCachePolicy's
never/0 is :NEVER; the image enums' PascalCase atoms are gone).

Signed-off-by: Alex Suraci <[email protected]>
Modules that declare no engine version, or "latest", get the latest
view: the Dang entrypoint fixtures spell the cache policies NEVER,
PER_SESSION and DEFAULT, and the Go fixture that must not construct an
SSHFS volume names the Go SDK's SSHFSVolume. A post-cut Python module
can't index ImageLayerCompression by an old spelling, so the enum test
checks old spellings as arguments, which the engine still decodes.

Signed-off-by: Alex Suraci <[email protected]>
Core enum values are the new SCREAMING_SNAKE_CASE spellings in every
view, but a module or client from before engine.IdentifierCasingVersion
may only know the old ones: the TypeScript and Python SDKs map a value to
its member by spelling, so GZIP is no Gzip to them. Values flowing out are
now spelled for whoever receives them, with the view's primary alias:

- query results' enum leaves, for the client's view (dagql viewLeaf);
- core enum arguments passed into a module function, for the module's
  own view (core.SDKViewFromContext, CoreModEnum.ConvertToSDKInput).

Recipes, IDs and cache keys keep the one value; only the spelling handed
out changes. TestEnumType covers Go, TypeScript and Python modules from
before the cut.

Signed-off-by: Alex Suraci <[email protected]>
- Container.from's internal re-select of a digest-pinned image passes
  insecureSkipTlsVerify, the spelling view "" has, so its ID matches a
  direct call.
- The expected-remote-SHA error no longer names one spelling of the
  argument.
- Drop the unused core.ViewName, and note that renamed fields that had no
  view filter are view-scoped now.
- The Dang fixtures and the registry test that declare "latest" use the
  new spellings (FunctionCachePolicy.NEVER, insecureSkipTlsVerify).
- engine.IdentifierCasingVersion's comment and the dagger.json migration
  guide describe the renames to the GraphQL casing convention.

Signed-off-by: Alex Suraci <[email protected]>
The GPU spellings added for the casing renames left the map's alignment
off, so the file wasn't gofmt-clean.

Signed-off-by: Alex Suraci <[email protected]>
The Java client is generated from the latest view, where ImageMediaTypes has
only OCI and DOCKER since the casing renames, so DockerMediaTypes no longer
compiles. DOCKER exists in views on either side of the cut.

Signed-off-by: Alex Suraci <[email protected]>
The migration guide said generated Go code keeps its identifiers, but past
the cut a few change, with no deprecated aliases: Sha, ShortSha, ParentShas,
Sdks, SshfsVolume, Vcs*Paths, and identifiers derived from dependency names.

Signed-off-by: Alex Suraci <[email protected]>
The design still described the opposite core renames, kept as hidden
aliases, and SDK codegen through formatIdentifiers, neither of which this
stack has. It now describes the stack as it stands: the core renames at
engine.IdentifierCasingVersion as plain view gates, enum values stored as
SCREAMING_SNAKE with view-gated aliases and spelled for the receiver's view,
Go codegen by engine/naming past the cut while other SDKs keep their
converters, and the accepted breaks. The transition-alias and SDK
vendoring sections are gone, and the plan lists what's done and what isn't.

Signed-off-by: Alex Suraci <[email protected]>
contextWithSDKView turned a module's engineVersion into a view with the
uncapped engine.APIViewVersion. A module declaring a version past the
engine's is served, and named by, the engine's view
(engine.ModuleAPIViewVersion), so spell the core enum values passed into it
for that view too. Test it with the capped naming, and update the design doc.

Signed-off-by: Alex Suraci <[email protected]>
Review follow-up. The migration guide now lists the Go enum constants the
regenerated SDK drops (ImageMediaTypesOcimediaTypes,
ImageMediaTypesDockerMediaTypes, ImageLayerCompressionEstarGz) and their
replacements. The design doc says the Go generator's __schemaVersion gate is
the module's capped view, and no longer claims SDKs get formatted names from
the engine in the test-vectors section.

Signed-off-by: Alex Suraci <[email protected]>
Core enum arguments passed into a module function are spelled for the
module's view, not the view a declared runtime client (#14881) is served:
the engine converts them before the runtime connects. Record the gap.

Signed-off-by: Alex Suraci <[email protected]>
The comment added before PrerequisiteSHAs splits the struct's alignment
block, so gofmt realigns the fields above it. golangci-lint reported it
on #14902's CI; #14895's own lint run was OOM-killed before reporting.

Signed-off-by: Alex Suraci <[email protected]>
Main's new Entire remote test (git_entire_test.go) queries
ModuleSource.htmlRepoURL through the host CLI, which is served the view of
its own version, past the cut: spell it htmlRepoUrl.

Signed-off-by: Alex Suraci <[email protected]>
Use raw schema names in node selections even when the new Go formatter
spells a dependency type differently. Keep enum aliases consistent with
the raw enum names used by declarations and type references.

Signed-off-by: Alex Suraci <[email protected]>
Apply view conversion through typed list and nullable wrappers, including
wrapped results. Preserve empty arrays and nulls, leave other scalars
unchanged, and propagate element errors with their indexes.

Signed-off-by: Alex Suraci <[email protected]>
Distinguish an old client using a newer API view from a client declaring its
own version. Old enum input spellings still decode in every view; they do
not fail like renamed fields and arguments.

Signed-off-by: Alex Suraci <[email protected]>
Serve a fixed-version Dang module returning the three renamed core enums
to clients on either side of the naming cut. Assert raw response strings
and schema versions, revisiting each client after the other to exercise
cached results without SDK enum normalization hiding the wire spelling.

Signed-off-by: Alex Suraci <[email protected]>
Extend the receiving-client integration test with nullable enum results
and nested enum lists containing null values and empty lists. This checks
that result rendering preserves each shape and carries the client's view
through the list's elements.

Signed-off-by: Alex Suraci <[email protected]>
@vito
vito force-pushed the naming/core-renames-graphql-casing branch from 3f7f7fa to 399d7dd Compare November 5, 2026 16:28
vito added 2 commits November 5, 2026 17:27
Follow the identifier casing cut to v1.0.0-beta.25: Go codegen's copy of
the constant, the docs of the renames, and the view tests, where
v1.0.0-beta.24, now the last release before the cut, keeps the old names
and v1.0.0-beta.26 stands for a release after it.

Signed-off-by: Alex Suraci <[email protected]>
Keep Go codegen's gate and the pre/post-cut fixtures aligned with the
engine, retaining beta.25's released spellings.

Signed-off-by: Alex Suraci <[email protected]>
@vito
vito force-pushed the naming/core-renames-graphql-casing branch from 399d7dd to 58ec291 Compare November 5, 2026 17:33
vito added a commit that referenced this pull request Nov 5, 2026
Changie fragments for the identifier-casing stack: prerelease-granular API
views (#14810), module naming by GraphQL casing (#14891), the core API renames
(#14895, breaking), and entrypoint engine versions from dang.toml (#14902).

Signed-off-by: Alex Suraci <[email protected]>
@vito
vito force-pushed the naming/core-renames-graphql-casing branch from 58ec291 to 5e9db14 Compare November 5, 2026 20:02
vito added a commit that referenced this pull request Nov 5, 2026
Changie fragments for the identifier-casing stack: prerelease-granular API
views (#14810), module naming by GraphQL casing (#14891), the core API renames
(#14895, breaking), and entrypoint engine versions from dang.toml (#14902).

Signed-off-by: Alex Suraci <[email protected]>
@vito
vito merged commit 7e9eaac into main Nov 5, 2026
95 checks passed
@vito
vito deleted the naming/core-renames-graphql-casing branch November 5, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants