From d2dc18a2c0145fdd523462d8688a095ef050d439 Mon Sep 17 00:00:00 2001 From: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com> Date: Mon, 3 Mar 2025 11:45:36 -0500 Subject: [PATCH] Make the latest C# SDK generator consume IR v56. --- packages/cli/cli/versions.yml | 21 ++++++++++++------- .../v56-to-v55/migrateFromV56ToV55.ts | 2 +- 2 files changed, 15 insertions(+), 8 deletions(-) diff --git a/packages/cli/cli/versions.yml b/packages/cli/cli/versions.yml index ab937da1312..97cb6d0f3a3 100644 --- a/packages/cli/cli/versions.yml +++ b/packages/cli/cli/versions.yml @@ -1,3 +1,10 @@ +- changelogEntry: + - summary: | + Make the latest C# SDK generator consume IR v56. + type: internal + irVersion: 56 + version: 0.56.3 + - changelogEntry: - summary: | Re-releasing the Fern CLI to fix an issue with the published package. @@ -18,7 +25,7 @@ - Fixed handling of redirects to ensure broken links aren't reported when valid redirects exist - Added proper handling of relative paths from different slugs - Improved URL validation and error messages - + Running `fern docs broken-links` will now scan your docs site and log any broken internal links. type: fix irVersion: 56 @@ -26,9 +33,9 @@ - changelogEntry: - summary: | - Fixed duplicate validation messages in docs validation by deduplicating violations - that have the same message, node path, file path, and severity. - + Fixed duplicate validation messages in docs validation by deduplicating violations + that have the same message, node path, file path, and severity. + This prevents showing the same broken link error multiple times. type: fix irVersion: 56 @@ -36,9 +43,9 @@ - changelogEntry: - summary: | - If experimental.openapi-parser-v3 is enabled in docs.yml, OpenAPI documents will now be - converted directly to IR, bypassing the intermediate Fern Definition step. - + If experimental.openapi-parser-v3 is enabled in docs.yml, OpenAPI documents will now be + converted directly to IR, bypassing the intermediate Fern Definition step. + This makes sure that the old code path is completely ignored if the flag is enabled. type: feat irVersion: 56 diff --git a/packages/cli/generation/ir-migrations/src/migrations/v56-to-v55/migrateFromV56ToV55.ts b/packages/cli/generation/ir-migrations/src/migrations/v56-to-v55/migrateFromV56ToV55.ts index c0fbc0d0296..28d57550d25 100644 --- a/packages/cli/generation/ir-migrations/src/migrations/v56-to-v55/migrateFromV56ToV55.ts +++ b/packages/cli/generation/ir-migrations/src/migrations/v56-to-v55/migrateFromV56ToV55.ts @@ -40,7 +40,7 @@ export const V56_TO_V55_MIGRATION: IrMigration< [GeneratorName.RUBY_MODEL]: GeneratorWasNeverUpdatedToConsumeNewIR, [GeneratorName.RUBY_SDK]: GeneratorWasNeverUpdatedToConsumeNewIR, [GeneratorName.CSHARP_MODEL]: "0.0.2", - [GeneratorName.CSHARP_SDK]: "1.12.0", + [GeneratorName.CSHARP_SDK]: "1.12.0-rc0", [GeneratorName.SWIFT_MODEL]: GeneratorWasNeverUpdatedToConsumeNewIR, [GeneratorName.SWIFT_SDK]: GeneratorWasNotCreatedYet, [GeneratorName.PHP_MODEL]: GeneratorWasNotCreatedYet,