@azure-tools/rlc-common 0.52.2 → 0.52.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
 
2
- > @azure-tools/rlc-common@0.52.2 build /mnt/vss/_work/1/s/packages/rlc-common
2
+ > @azure-tools/rlc-common@0.52.3 build /mnt/vss/_work/1/s/packages/rlc-common
3
3
  > rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node publishPackage.js
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## 0.52.3 (2026-04-23)
2
+
3
+ - [Feature] Bump TypeSpec dependencies to latest stable. Please refer to [#3932](https://github.com/Azure/autorest.typescript/pull/3932)
4
+ - [Bugfix] Narrow ARM metadata filter to only strip exclusively read-only properties. Please refer to [#3931](https://github.com/Azure/autorest.typescript/pull/3931)
5
+ - [Bugfix] Correct export paths when sources are emitted to `src/generated`. Please refer to [#3905](https://github.com/Azure/autorest.typescript/pull/3905)
6
+ - [Bugfix] Skip metadata/test generation for manual convenience layer packages. Please refer to [#3912](https://github.com/Azure/autorest.typescript/pull/3912)
7
+ - [Bugfix] Keep paged result model public when used in non-paging operations. Please refer to [#3927](https://github.com/Azure/autorest.typescript/pull/3927)
8
+ - [Feature] Generate empty CHANGELOG.md when scaffolding new packages. Please refer to [#3880](https://github.com/Azure/autorest.typescript/pull/3880)
9
+
1
10
  ## 0.52.2 (2026-04-16)
2
11
 
3
12
  - [Feature] Add devcontainer config with GitHub Copilot extensions. Please refer to [#3815](https://github.com/Azure/autorest.typescript/pull/3815)
package/dist/index.js CHANGED
@@ -45,6 +45,7 @@ __exportStar(require("./metadata/buildTsConfig.js"), exports);
45
45
  __exportStar(require("./metadata/buildWarpConfig.js"), exports);
46
46
  __exportStar(require("./metadata/buildESLintConfig.js"), exports);
47
47
  __exportStar(require("./metadata/buildLicenseFile.js"), exports);
48
+ __exportStar(require("./metadata/buildChangelogFile.js"), exports);
48
49
  __exportStar(require("./metadata/buildVitestConfig.js"), exports);
49
50
  __exportStar(require("./metadata/buildSampleEnvFile.js"), exports);
50
51
  __exportStar(require("./buildSerializeHelper.js"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;;;;;;;AAElC,kDAAgC;AAChC,8DAA4C;AAC5C,uDAAqC;AACrC,mDAAiC;AACjC,gEAA8C;AAC9C,0DAAwC;AACxC,+DAA6C;AAC7C,yDAAuC;AACvC,gEAA8C;AAC9C,mEAAiD;AACjD,6DAA2C;AAC3C,2DAAyC;AACzC,+DAA6C;AAC7C,8DAA4C;AAC5C,sDAAoC;AACpC,2DAAyC;AACzC,0DAAwC;AACxC,6DAA2C;AAC3C,gEAA8C;AAC9C,4DAA0C;AAC1C,0DAAwC;AACxC,gEAA8C;AAC9C,wEAAsD;AACtD,iEAA+C;AAC/C,kEAAgD;AAChD,8DAA4C;AAC5C,gEAA8C;AAC9C,kEAAgD;AAChD,iEAA+C;AAC/C,kEAAgD;AAChD,mEAAiD;AACjD,4DAA0C;AAC1C,8DAA4C;AAC5C,mDAAiC;AACjC,oDAAkC;AAClC,6DAA2C;AAC3C,2DAAyC;AACzC,gEAA8C;AAC9C,2DAAyC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;;;;;;;;;;;;;;;AAElC,kDAAgC;AAChC,8DAA4C;AAC5C,uDAAqC;AACrC,mDAAiC;AACjC,gEAA8C;AAC9C,0DAAwC;AACxC,+DAA6C;AAC7C,yDAAuC;AACvC,gEAA8C;AAC9C,mEAAiD;AACjD,6DAA2C;AAC3C,2DAAyC;AACzC,+DAA6C;AAC7C,8DAA4C;AAC5C,sDAAoC;AACpC,2DAAyC;AACzC,0DAAwC;AACxC,6DAA2C;AAC3C,gEAA8C;AAC9C,4DAA0C;AAC1C,0DAAwC;AACxC,gEAA8C;AAC9C,wEAAsD;AACtD,iEAA+C;AAC/C,kEAAgD;AAChD,8DAA4C;AAC5C,gEAA8C;AAC9C,kEAAgD;AAChD,iEAA+C;AAC/C,mEAAiD;AACjD,kEAAgD;AAChD,mEAAiD;AACjD,4DAA0C;AAC1C,8DAA4C;AAC5C,mDAAiC;AACjC,oDAAkC;AAClC,6DAA2C;AAC3C,2DAAyC;AACzC,gEAA8C;AAC9C,2DAAyC"}
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ // Copyright (c) Microsoft Corporation.
3
+ // Licensed under the MIT License.
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.buildChangelogFile = buildChangelogFile;
6
+ function getPackageVersion(model) {
7
+ var _a, _b, _c;
8
+ return (_c = (_b = (_a = model.options) === null || _a === void 0 ? void 0 : _a.packageDetails) === null || _b === void 0 ? void 0 : _b.version) !== null && _c !== void 0 ? _c : "1.0.0-beta.1";
9
+ }
10
+ function buildChangelogFile(model) {
11
+ const version = getPackageVersion(model);
12
+ const content = `# Release History
13
+
14
+ ## ${version} (Unreleased)
15
+
16
+ ### Features Added
17
+
18
+ ### Breaking Changes
19
+
20
+ ### Bugs Fixed
21
+
22
+ ### Other Changes
23
+ `;
24
+ return {
25
+ path: "CHANGELOG.md",
26
+ content
27
+ };
28
+ }
29
+ //# sourceMappingURL=buildChangelogFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildChangelogFile.js","sourceRoot":"","sources":["../../src/metadata/buildChangelogFile.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,kCAAkC;;AAQlC,gDAmBC;AAvBD,SAAS,iBAAiB,CAAC,KAAe;;IACxC,OAAO,MAAA,MAAA,MAAA,KAAK,CAAC,OAAO,0CAAE,cAAc,0CAAE,OAAO,mCAAI,cAAc,CAAC;AAClE,CAAC;AAED,SAAgB,kBAAkB,CAAC,KAAe;IAChD,MAAM,OAAO,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;IACzC,MAAM,OAAO,GAAG;;KAEb,OAAO;;;;;;;;;CASX,CAAC;IAEA,OAAO;QACL,IAAI,EAAE,cAAc;QACpB,OAAO;KACR,CAAC;AACJ,CAAC"}
package/dist/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@azure-tools/rlc-common","version":"0.52.2","description":"","type":"commonjs","main":"dist/index.js","module":"dist-esm/index.js","exports":{".":{"types":"./types/index.d.ts","require":"./dist/index.js","import":"./dist-esm/index.js"}},"types":"./types/index.d.ts","scripts":{"lint":"eslint src --ext .ts --max-warnings=0","lint:fix":"eslint src --fix --ext .ts","format":"npm run -s prettier -- --write","check-format":"npm run prettier -- --check","prettier":"prettier --config ./.prettierrc \"src/**/*.ts\"","build":"rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node publishPackage.js","build:cjs":"rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig-cjs.json && node publishPackage.js","build:esm":"rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig.json && node publishPackage.js","test":"npm run unit-test","unit-test":"vitest run"},"keywords":[],"author":"","license":"ISC","dependencies":{"handlebars":"^4.7.7","lodash":"^4.17.21","ts-morph":"^23.0.0"},"devDependencies":{"@types/fs-extra":"^8.1.0","@types/lodash":"^4.14.182","@typescript-eslint/eslint-plugin":"^8.18.0","@typescript-eslint/parser":"^8.18.0","chai":"^4.3.7","eslint-plugin-require-extensions":"0.1.3","fs-extra":"^10.0.0","prettier":"^3.1.0","rimraf":"^5.0.10","vitest":"^4.1.0","vite":"^6.0.0"},"bugs":{"url":"https://github.com/Azure/autorest.typescript/issues"},"homepage":"https://github.com/Azure/autorest.typescript/tree/main/packages/rlc-common/"}
1
+ {"name":"@azure-tools/rlc-common","version":"0.52.3","description":"","type":"commonjs","main":"dist/index.js","module":"dist-esm/index.js","exports":{".":{"types":"./types/index.d.ts","require":"./dist/index.js","import":"./dist-esm/index.js"}},"types":"./types/index.d.ts","scripts":{"lint":"eslint src --ext .ts --max-warnings=0","lint:fix":"eslint src --fix --ext .ts","format":"npm run -s prettier -- --write","check-format":"npm run prettier -- --check","prettier":"prettier --config ./.prettierrc \"src/**/*.ts\"","build":"rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node publishPackage.js","build:cjs":"rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig-cjs.json && node publishPackage.js","build:esm":"rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig.json && node publishPackage.js","test":"npm run unit-test","unit-test":"vitest run"},"keywords":[],"author":"","license":"ISC","dependencies":{"handlebars":"^4.7.7","lodash":"^4.17.21","ts-morph":"^23.0.0"},"devDependencies":{"@types/fs-extra":"^8.1.0","@types/lodash":"^4.14.182","@typescript-eslint/eslint-plugin":"^8.18.0","@typescript-eslint/parser":"^8.18.0","chai":"^4.3.7","eslint-plugin-require-extensions":"0.1.3","fs-extra":"^10.0.0","prettier":"^3.1.0","rimraf":"^5.0.10","vitest":"^4.1.0","vite":"^6.0.0"},"bugs":{"url":"https://github.com/Azure/autorest.typescript/issues"},"homepage":"https://github.com/Azure/autorest.typescript/tree/main/packages/rlc-common/"}
package/dist-esm/index.js CHANGED
@@ -29,6 +29,7 @@ export * from "./metadata/buildTsConfig.js";
29
29
  export * from "./metadata/buildWarpConfig.js";
30
30
  export * from "./metadata/buildESLintConfig.js";
31
31
  export * from "./metadata/buildLicenseFile.js";
32
+ export * from "./metadata/buildChangelogFile.js";
32
33
  export * from "./metadata/buildVitestConfig.js";
33
34
  export * from "./metadata/buildSampleEnvFile.js";
34
35
  export * from "./buildSerializeHelper.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAElC,cAAc,iBAAiB,CAAC;AAChC,cAA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BAA+B,CAAC;AAC9C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,wBAAwB,CAAC;AACvC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,uCAAuC,CAAC;AACtD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,iCAAiC,CAAC;AAChD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC"}
@@ -0,0 +1,25 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+ function getPackageVersion(model) {
4
+ return model.options?.packageDetails?.version ?? "1.0.0-beta.1";
5
+ }
6
+ export function buildChangelogFile(model) {
7
+ const version = getPackageVersion(model);
8
+ const content = `# Release History
9
+
10
+ ## ${version} (Unreleased)
11
+
12
+ ### Features Added
13
+
14
+ ### Breaking Changes
15
+
16
+ ### Bugs Fixed
17
+
18
+ ### Other Changes
19
+ `;
20
+ return {
21
+ path: "CHANGELOG.md",
22
+ content
23
+ };
24
+ }
25
+ //# sourceMappingURL=buildChangelogFile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildChangelogFile.js","sourceRoot":"","sources":["../../src/metadata/buildChangelogFile.ts"],"names":[],"mappings":"AAAA,uCAAuC;AACvC,kCAAkC;AAIlC,SAAS,iBAAiB,CAAC,KAAe;IACxC,OAAO,KAAK,CAAC,OAAO,EAAE,cAAc,EAAE,OAAO,IAAI,cAAc,CAAC;AAClE,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,KAAe;IAChD,MAAM,OAAO,GAAG,iBAAiB,CAAC,KAAK,CAAC,CAAC;IACzC,MAAM,OAAO,GAAG;;KAEb,OAAO;;;;;;;;;CASX,CAAC;IAEA,OAAO;QACL,IAAI,EAAE,cAAc;QACpB,OAAO;KACR,CAAC;AACJ,CAAC"}
@@ -1 +1 @@
1
- {"name":"@azure-tools/rlc-common","version":"0.52.2","description":"","type":"module","main":"dist/index.js","module":"dist-esm/index.js","exports":{".":{"types":"./types/index.d.ts","require":"./dist/index.js","import":"./dist-esm/index.js"}},"types":"./types/index.d.ts","scripts":{"lint":"eslint src --ext .ts --max-warnings=0","lint:fix":"eslint src --fix --ext .ts","format":"npm run -s prettier -- --write","check-format":"npm run prettier -- --check","prettier":"prettier --config ./.prettierrc \"src/**/*.ts\"","build":"rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node publishPackage.js","build:cjs":"rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig-cjs.json && node publishPackage.js","build:esm":"rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig.json && node publishPackage.js","test":"npm run unit-test","unit-test":"vitest run"},"keywords":[],"author":"","license":"ISC","dependencies":{"handlebars":"^4.7.7","lodash":"^4.17.21","ts-morph":"^23.0.0"},"devDependencies":{"@types/fs-extra":"^8.1.0","@types/lodash":"^4.14.182","@typescript-eslint/eslint-plugin":"^8.18.0","@typescript-eslint/parser":"^8.18.0","chai":"^4.3.7","eslint-plugin-require-extensions":"0.1.3","fs-extra":"^10.0.0","prettier":"^3.1.0","rimraf":"^5.0.10","vitest":"^4.1.0","vite":"^6.0.0"},"bugs":{"url":"https://github.com/Azure/autorest.typescript/issues"},"homepage":"https://github.com/Azure/autorest.typescript/tree/main/packages/rlc-common/"}
1
+ {"name":"@azure-tools/rlc-common","version":"0.52.3","description":"","type":"module","main":"dist/index.js","module":"dist-esm/index.js","exports":{".":{"types":"./types/index.d.ts","require":"./dist/index.js","import":"./dist-esm/index.js"}},"types":"./types/index.d.ts","scripts":{"lint":"eslint src --ext .ts --max-warnings=0","lint:fix":"eslint src --fix --ext .ts","format":"npm run -s prettier -- --write","check-format":"npm run prettier -- --check","prettier":"prettier --config ./.prettierrc \"src/**/*.ts\"","build":"rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig.json && tsc -p tsconfig-cjs.json && node publishPackage.js","build:cjs":"rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig-cjs.json && node publishPackage.js","build:esm":"rimraf --glob dist/* dist-esm/* types/* && tsc -p tsconfig.json && node publishPackage.js","test":"npm run unit-test","unit-test":"vitest run"},"keywords":[],"author":"","license":"ISC","dependencies":{"handlebars":"^4.7.7","lodash":"^4.17.21","ts-morph":"^23.0.0"},"devDependencies":{"@types/fs-extra":"^8.1.0","@types/lodash":"^4.14.182","@typescript-eslint/eslint-plugin":"^8.18.0","@typescript-eslint/parser":"^8.18.0","chai":"^4.3.7","eslint-plugin-require-extensions":"0.1.3","fs-extra":"^10.0.0","prettier":"^3.1.0","rimraf":"^5.0.10","vitest":"^4.1.0","vite":"^6.0.0"},"bugs":{"url":"https://github.com/Azure/autorest.typescript/issues"},"homepage":"https://github.com/Azure/autorest.typescript/tree/main/packages/rlc-common/"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azure-tools/rlc-common",
3
- "version": "0.52.2",
3
+ "version": "0.52.3",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -30,6 +30,7 @@ export * from "./metadata/buildTsConfig.js";
30
30
  export * from "./metadata/buildWarpConfig.js";
31
31
  export * from "./metadata/buildESLintConfig.js";
32
32
  export * from "./metadata/buildLicenseFile.js";
33
+ export * from "./metadata/buildChangelogFile.js";
33
34
  export * from "./metadata/buildVitestConfig.js";
34
35
  export * from "./metadata/buildSampleEnvFile.js";
35
36
  export * from "./buildSerializeHelper.js";
@@ -0,0 +1,29 @@
1
+ // Copyright (c) Microsoft Corporation.
2
+ // Licensed under the MIT License.
3
+
4
+ import { RLCModel } from "../interfaces.js";
5
+
6
+ function getPackageVersion(model: RLCModel): string {
7
+ return model.options?.packageDetails?.version ?? "1.0.0-beta.1";
8
+ }
9
+
10
+ export function buildChangelogFile(model: RLCModel) {
11
+ const version = getPackageVersion(model);
12
+ const content = `# Release History
13
+
14
+ ## ${version} (Unreleased)
15
+
16
+ ### Features Added
17
+
18
+ ### Breaking Changes
19
+
20
+ ### Bugs Fixed
21
+
22
+ ### Other Changes
23
+ `;
24
+
25
+ return {
26
+ path: "CHANGELOG.md",
27
+ content
28
+ };
29
+ }
package/types/index.d.ts CHANGED
@@ -27,6 +27,7 @@ export * from "./metadata/buildTsConfig.js";
27
27
  export * from "./metadata/buildWarpConfig.js";
28
28
  export * from "./metadata/buildESLintConfig.js";
29
29
  export * from "./metadata/buildLicenseFile.js";
30
+ export * from "./metadata/buildChangelogFile.js";
30
31
  export * from "./metadata/buildVitestConfig.js";
31
32
  export * from "./metadata/buildSampleEnvFile.js";
32
33
  export * from "./buildSerializeHelper.js";
@@ -0,0 +1,5 @@
1
+ import { RLCModel } from "../interfaces.js";
2
+ export declare function buildChangelogFile(model: RLCModel): {
3
+ path: string;
4
+ content: string;
5
+ };