Skip to content

Commit 0fc9d45

Browse files
Bump version for hotfix: typespec-java@0.45.10 (#5044)
Version bump for the typespec-java hotfix **0.45.10**, following the sync in #5043. ## Included changes (consumed from + '.chronus/changes' + ) - **fix**: Expose the + ' equired-fields-as-ctor-args' + emitter option in + ' spconfig.yaml' + (microsoft/typespec#11380). Default remains + ' rue' + . - **internal**: Make the + 'core-commit.json' + pin authoritative in + 'CoreCommit.ps1' + (#5016). ## Files - + 'packages/typespec-java/package.json' + -> 0.45.10 - + 'packages/typespec-java/CHANGELOG.md' + - + 'packages/typespec-java/emitter-tests/package.json' + -> 0.45.10 (version + + '.tgz' + dep) - Deleted the two consumed typespec-java change files Only + '@azure-tools/typespec-java' + is bumped. Non-java pending change files (tcgc, benchmark, playground, website) were intentionally left untouched. The + 'core' + submodule is unchanged. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: cd6f2e08-d6d3-42ae-affd-bc71e98086f7 --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: cd6f2e08-d6d3-42ae-affd-bc71e98086f7
1 parent ad13d15 commit 0fc9d45

5 files changed

Lines changed: 16 additions & 23 deletions

File tree

‎.chronus/changes/typespec-java-core-commit-pin-authoritative-2026-07-22-16-12-55.md‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎.chronus/changes/typespec-java-expose-required-fields-as-ctor-args-2026-07-24-11-40-00.md‎

Lines changed: 0 additions & 13 deletions
This file was deleted.

‎packages/typespec-java/CHANGELOG.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Change Log - @azure-tools/typespec-java
22

3+
## 0.45.10
4+
5+
### Features
6+
7+
- [#5043](https://github.com/Azure/typespec-azure/pull/5043) Expose the `required-fields-as-ctor-args` emitter option in `tspconfig.yaml`. It controls whether required model properties are generated as constructor arguments. The default remains `true`.
8+
9+
```yaml
10+
options:
11+
"@azure-tools/typespec-java":
12+
required-fields-as-ctor-args: false
13+
```
14+
15+
316
## 0.45.9
417
518
### Bug Fixes

‎packages/typespec-java/emitter-tests/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure-tools/typespec-java-tests",
3-
"version": "0.45.9",
3+
"version": "0.45.10",
44
"type": "module",
55
"scripts": {
66
"format": "npm run -s prettier -- --write",
@@ -17,7 +17,7 @@
1717
"@typespec/spector": "0.1.0-alpha.26",
1818
"@typespec/http-specs": "0.1.0-alpha.39",
1919
"@azure-tools/azure-http-specs": "0.1.0-alpha.43",
20-
"@azure-tools/typespec-java": "file:../azure-tools-typespec-java-0.45.9.tgz"
20+
"@azure-tools/typespec-java": "file:../azure-tools-typespec-java-0.45.10.tgz"
2121
},
2222
"devDependencies": {
2323
"@typespec/prettier-plugin-typespec": "^1.13.0",

‎packages/typespec-java/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@azure-tools/typespec-java",
3-
"version": "0.45.9",
3+
"version": "0.45.10",
44
"description": "TypeSpec library for emitting Java client from the TypeSpec REST protocol binding",
55
"keywords": [
66
"TypeSpec"

0 commit comments

Comments
 (0)