Skip to content

Bump @azure-tools/typespec-client-generator-core from 0.68.0 to 0.68.2 in /packages/typespec-rust in the typespec group across 1 directory#969

Merged
jhendrixMSFT merged 3 commits into
mainfrom
dependabot/npm_and_yarn/packages/typespec-rust/typespec-63ef11cb3c
May 28, 2026
Merged

Bump @azure-tools/typespec-client-generator-core from 0.68.0 to 0.68.2 in /packages/typespec-rust in the typespec group across 1 directory#969
jhendrixMSFT merged 3 commits into
mainfrom
dependabot/npm_and_yarn/packages/typespec-rust/typespec-63ef11cb3c

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 26, 2026

Bumps the typespec group with 1 update in the /packages/typespec-rust directory: @azure-tools/typespec-client-generator-core.

Updates @azure-tools/typespec-client-generator-core from 0.68.0 to 0.68.2

Release notes

Sourced from @​azure-tools/typespec-client-generator-core's releases.

@​azure-tools/typespec-client-generator-core@​0.68.2

Features

  • #4480 Extend isExactName to additional SDK types whose names can be changed by @clientName: SdkClientType, SdkServiceMethodBase (and its derived method kinds), and SdkEnumValueType. Also fixed SdkClientType.name to strip the internal exact() marker.

Bug Fixes

  • #4477 Fix reorderParameters, addParameter, removeParameter, and replaceParameter so that decorators copied to cloned model properties and cloned operations are applied (by calling finishType after cloning). This fixes scenarios such as parameters with @typeChangedFrom under a @versioned service.
  • #4487 Fix example value matching for decimal and decimal128 typed properties. JSON number values in example files are now correctly recognized as matching decimal / decimal128 typed properties.
  • #4484 Fix example values being dropped on subtypes added via @hierarchyBuilding by propagating serialization options from the nearest ancestor to the newly added subtype

@​azure-tools/typespec-client-generator-core@​0.68.1

Bug Fixes

  • #4440 Fix @@usage and @@access augment decorators being silently dropped when targeting models from imported libraries (npm packages) whose namespaces are not user-defined. Explicitly-tagged models are now honored regardless of which namespace they live in.
Commits
  • 7181847 feat: add spector coverage upload for typespec-python (#4483)
  • ccb7d9e Bump core from 5d83d06 to 429d74a (#4475)
  • 0f6fadd update versioning of http-client-python (#4482)
  • cb2e2c9 Improve benchmark dashboard UI (#4427)
  • 0ecab62 Bump core from 3311b24 to 5d83d06 (#4467)
  • d29a254 Backmerge release/may-2026 (tcgc@0.68.1 hotfix) (#4472)
  • 86cdf59 [Automated][azure-resource-manager] Fix doc comment typos and add suppress do...
  • 598b155 Bump github/gh-aw from 0.73.0 to 0.74.4 in the actions group (#4437)
  • 213d2b2 Bump core from 431b269 to 3311b24 (#4436)
  • a1b1173 Add 0.68 tcgc newsletter (#4439)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 26, 2026
Copilot AI review requested due to automatic review settings May 26, 2026 13:15
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels May 26, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@heaths
Copy link
Copy Markdown
Member

heaths commented May 26, 2026

@dependabot rebase

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 26, 2026

Dependabot can't parse your pnpm-lock.yaml. Because of this, Dependabot cannot update this pull request.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/packages/typespec-rust/typespec-63ef11cb3c branch from c3ba405 to 5337aec Compare May 27, 2026 00:21
@jhendrixMSFT
Copy link
Copy Markdown
Member

There's a codegen change due to unstable sort ordering. This is fixed in #974

dependabot Bot and others added 2 commits May 27, 2026 10:25
Bumps the typespec group with 1 update in the /packages/typespec-rust directory: [@azure-tools/typespec-client-generator-core](https://github.com/Azure/typespec-azure).


Updates `@azure-tools/typespec-client-generator-core` from 0.68.0 to 0.68.2
- [Release notes](https://github.com/Azure/typespec-azure/releases)
- [Commits](https://github.com/Azure/typespec-azure/compare/typespec-azure@0.68.0...@azure-tools/typespec-client-generator-core@0.68.2)

---
updated-dependencies:
- dependency-name: "@azure-tools/typespec-client-generator-core"
  dependency-version: 0.68.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: typespec
...

Signed-off-by: dependabot[bot] <support@github.com>
@jhendrixMSFT jhendrixMSFT force-pushed the dependabot/npm_and_yarn/packages/typespec-rust/typespec-63ef11cb3c branch from 5337aec to b921f6b Compare May 27, 2026 17:28
Comment thread packages/typespec-rust/test/other/serde_tests/src/generated/models/models.rs Outdated
tadelesh pushed a commit to Azure/typespec-azure that referenced this pull request May 28, 2026
…s model variants (#4508)

## Problem

PR #4440 rewrote `listOrphanTypes` to iterate via
`listScopedDecoratorData(context, usageKey)`, which follows **decorator
application order**. The old code walked namespaces and iterated
**models first, then enums, then unions**.

This ordering matters because anonymous types (e.g. anonymous model
variants inside unions) get their generated name from whichever context
processes them first. When `@@usage` on a union appears before `@@usage`
on a model that references it, the anonymous variant gets named from the
union context (e.g. `RecursiveNullableType1`) instead of the model
property context (e.g. `OuterWithNullableValue`).

Reported via Azure/typespec-rust#969 — upgrading
from TCGC 0.68.0 to 0.68.2 renamed `OuterWithNullableValue` →
`RecursiveNullableType1`.

## Fix

Collect orphan types into three separate buckets (models, enums, unions)
and concatenate them at the end: `[...models, ...enums, ...unions]`.
This restores the models-first ordering while preserving the #4440
improvement of discovering types from imported libraries.

## Testing

Added a regression test that reproduces the exact scenario from the
typespec-rust spec.

Co-authored-by: iscai-msft <isabellavcai@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jhendrixMSFT jhendrixMSFT enabled auto-merge (squash) May 28, 2026 19:43
@jhendrixMSFT jhendrixMSFT merged commit 6c97d9e into main May 28, 2026
5 checks passed
@jhendrixMSFT jhendrixMSFT deleted the dependabot/npm_and_yarn/packages/typespec-rust/typespec-63ef11cb3c branch May 28, 2026 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants