Skip to content

Commit c81d9d9

Browse files
[skip chg] Publish missing emitter-framework 0.18.0 changes (#11021)
fix #11020 ## Why [#10372](#10372) (Http-server-csharp alloy rewrite) changed the public API of `@typespec/emitter-framework` but did **not** add a changelog entry, so the package was never versioned/published — it remains at `0.17.0` on npm while the API has moved on. ## What - Bump `@typespec/emitter-framework` `0.17.0` → `0.18.0`. - Add the `0.18.0` section to `CHANGELOG.md` describing the public API changes from #10372: - New `@typespec/emitter-framework/csharp` exports: `getDocComments`, `getNullableUnionInnerType`, `efRefkey`, `declarationRefkeys`. - C# `EnumDeclaration` now emits the TypeSpec enum's doc comments. - `development` export conditions added to all entrypoints. - Update the `Consistency` workflow's **Check Changes** job to skip when the PR title contains `[skip chg]` (this PR intentionally has no `.chronus/changes` entry, since the version/changelog are applied manually).
1 parent 33a1da2 commit c81d9d9

3 files changed

Lines changed: 10 additions & 1 deletion

File tree

‎.github/workflows/consistency.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
if: |
2222
github.event_name == 'pull_request' &&
23+
!contains(github.event.pull_request.title, '[skip chg]') &&
2324
!startsWith(github.head_ref, 'publish/') &&
2425
!startsWith(github.head_ref, 'dependabot/') &&
2526
!startsWith(github.head_ref, 'backmerge/') &&

‎packages/emitter-framework/CHANGELOG.md‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog - @typespec/emitter-framework
22

3+
## 0.18.0
4+
5+
### Features
6+
7+
- [#10372](https://github.com/microsoft/typespec/pull/10372) [csharp] Export new utilities from `@typespec/emitter-framework/csharp`: `getDocComments`, `getNullableUnionInnerType`, `efRefkey`, and `declarationRefkeys`
8+
- [#10372](https://github.com/microsoft/typespec/pull/10372) [csharp] `EnumDeclaration` now emits the doc comments of the TypeSpec enum
9+
10+
311
## 0.17.0
412

513
### Features

‎packages/emitter-framework/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@typespec/emitter-framework",
3-
"version": "0.17.0",
3+
"version": "0.18.0",
44
"type": "module",
55
"main": "dist/index.js",
66
"repository": {

0 commit comments

Comments
 (0)