Skip to content

fix: Resolve multiple customer-blocking bugs (#126, #131, #132)#134

Open
PeterNigh wants to merge 3 commits intoaws-cloudformation:masterfrom
PeterNigh:fix/multiple-customer-blocking-bugs
Open

fix: Resolve multiple customer-blocking bugs (#126, #131, #132)#134
PeterNigh wants to merge 3 commits intoaws-cloudformation:masterfrom
PeterNigh:fix/multiple-customer-blocking-bugs

Conversation

@PeterNigh
Copy link
Copy Markdown

@PeterNigh PeterNigh commented Mar 31, 2026

gh pr edit 134 --repo aws-cloudformation/cloudformation-cli-typescript-plugin --body 'Fixes three long-standing GitHub issues blocking customers, plus CI modernization.

Bug fixes (GitHub issues #126, #131, #132):

CI/CD modernization:

  • PyPI release workflow (recent code has not yet been released to pip #131): Add pypi-release.yaml (requires PYPI_API_KEY_CLOUDFORMATION_CLI_TYPESCRIPT_PLUGIN secret)
  • Replace macos-12 (removed by GitHub) with macos-13
  • Drop Python 3.8 (EOL Oct 2024) and 3.9 (EOL Oct 2025), add 3.12
  • Bump python_requires from >=3.8 to >=3.10 to match CI test matrix
  • Bump all GitHub Actions to v4
  • Fix pre-commit eslint hook: replace mirrors-eslint with local hook using project node_modules
  • Bump flake8 5.0.4 → 7.1.2, bandit 1.7.1 → 1.8.3 for Python 3.12 compat
  • Add pyproject.toml for PEP 517 build system declaration

Post-merge actions needed:

  • Configure PYPI_API_KEY_CLOUDFORMATION_CLI_TYPESCRIPT_PLUGIN GitHub secret
  • Bump versions and cut releases to npm and PyPI
  • Note for existing customers: update class-transformer from 0.3.1 to 0.5.1 in your project package.json

All 125 TypeScript tests pass in CI. Clean compile with skipLibCheck: false.

Closes #126, #131, #132'

@PeterNigh PeterNigh force-pushed the fix/multiple-customer-blocking-bugs branch 6 times, most recently from e004a01 to 576f86c Compare April 1, 2026 16:11
@PeterNigh PeterNigh force-pushed the fix/multiple-customer-blocking-bugs branch 4 times, most recently from ba933a6 to 8e9658b Compare April 26, 2026 23:18
…ws-cloudformation#131, aws-cloudformation#132)

Fix class-transformer version mismatch (0.3.1 -> 0.5.1) causing silent
deserialization failures in generated projects. Remove @ts-ignore from
Integer interface so consumers with skipLibCheck:false can compile.
Fix timezone-dependent test failure in log-delivery tests.

Closes aws-cloudformation#126, aws-cloudformation#132
Replace macos-12 (removed by GitHub) with macos-13. Drop EOL Python
3.8/3.9, add 3.12. Bump python_requires from >=3.8 to >=3.10. Bump
all GitHub Actions to v4. Fix upload-artifact unique name requirement.

Fix pre-commit eslint hook: replace mirrors-eslint with local hook
using project node_modules to prevent version drift. Bump flake8
5.0.4 -> 7.1.2 and bandit 1.7.1 -> 1.8.3 for Python 3.12 compat.

Add PyPI release workflow for automated plugin publishing (requires
PYPI_API_KEY_CLOUDFORMATION_CLI_TYPESCRIPT_PLUGIN secret). Add
pyproject.toml for PEP 517 build system declaration.

Closes aws-cloudformation#131
@PeterNigh PeterNigh force-pushed the fix/multiple-customer-blocking-bugs branch from 8e9658b to 5fe6bbd Compare April 27, 2026 00:04
@PeterNigh PeterNigh force-pushed the fix/multiple-customer-blocking-bugs branch from c8e4ddc to 616ef05 Compare April 27, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

package class-transformer introduces breaking changes to the model.ts generated file

1 participant