Skip to content

Multi-Version SDK Generation POC#66

Merged
Gvieve merged 5 commits into
masterfrom
gn/DEVX-7516-multi-version-poc
Nov 21, 2025
Merged

Multi-Version SDK Generation POC#66
Gvieve merged 5 commits into
masterfrom
gn/DEVX-7516-multi-version-poc

Conversation

@Gvieve
Copy link
Copy Markdown
Collaborator

@Gvieve Gvieve commented Nov 12, 2025

Description

Enable generation of multiple npm packages from different OpenAPI specification versions (v20111101, v20250224) while maintaining 100% backward compatibility with existing mx-platform-node package.

What's New
Two Testing Workflows::

  • test-multi-version.yml - Safe POC validation (no commits, optional GitHub Packages staging)
  • generate-multi-version.yml - Production PR creation with version-specific directory generation

Version-Specific Configs:

  • config-v20111101.yml → mx-platform-node-v20111101 package
  • config-v20250224.yml → mx-platform-node-v20250224 package
  • config-latest.yml → mx-platform-node package (backward compatible, maps to v20111101)

Enhanced Scripts:

  • version.rb - Now accepts optional config file parameter for version-specific bumping
  • clean.rb - Preserves test-output-* directories during cleanup

Architecture
Enables publishing three independent npm packages from one repository.

Testing (After Merge)

# Safe testing without commits
test-multi-version.yml → api_version: "v20111101" / test_level: "generate_only"

# Production PR creation
generate-multi-version.yml → api_version: "v20111101" / version_level: "patch"

Safety
✅ Zero breaking changes - existing workflows and packages unchanged
✅ Workflows must be merged to master before execution
✅ All changes isolated to new files and optional parameters

@Gvieve Gvieve self-assigned this Nov 12, 2025
@Gvieve Gvieve added the enhancement New feature or request label Nov 12, 2025
@Gvieve Gvieve force-pushed the gn/DEVX-7516-multi-version-poc branch from 02d9ba7 to cb1e69a Compare November 21, 2025 21:11
@Gvieve Gvieve merged commit a530650 into master Nov 21, 2025
2 checks passed
@Gvieve Gvieve deleted the gn/DEVX-7516-multi-version-poc branch January 14, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant