Skip to content

v0.32.0

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Jan 11:19
· 1215 commits to refs/heads/main since this release
ef7ff81

0.32.0 (2022-01-03)

⚠ BREAKING CHANGES

  • jest: The method jest.addTypeScriptSupport() is no longer available. This code is now inside TypeScriptProject.
  • java: cdkVersion parameter of AwsCdkJavaApp no longer support caret (eg: "^1.136.0" ). That behavior is now controlled on whether cdkVersionPinning is set to true or false.
  • java: addCdkDependency method of AwsCdkJavaApp now expects fully qualified package names (eg: software.amazon.awscdk/aws-lambda).
  • eslint: Prettier configuration is now under a settings option instead (instead of prettierOptions: { bracketSpacing: false }, write prettierOptions: { settings: { bracketSpacing: false } }).
  • prettier: prettier.config is now called prettier.settings and DOES NOT include overrides.
  • node: The prettierIgnoreEnabled option is now under prettierOptions.ignoreFile and can be accessed via prettier.ignoreFile. Similarly, project.addPrettierIgnore() is now project.prettier.addIgnorePattern().
  • workflows: A secret called PROJEN_GITHUB_TOKEN with workflows, packages and repo scopes is now required for all projects. As much as this is a bit of a burden, most projects already have such a token because otherwise projen upgrade workflows cannot really function.
  • jsii: The package task now only produces an npm tarball. To create all language bindings, use package-all or package:LANG for a specific language.
  • NewProject has been renamed InitProject, and NewProjectOptionHints has been renamed InitProjectOptionHints
  • PythonProject is now initialized with a .projenrc.py file by default instead of .projenrc.js.
  • awscdk: LambdaFunction and AutoDiscover now requires cdkDeps so they can interact with CDK version manager.
  • awscdk: The cdkVersion and constructsVersion options are now semver ranges and not just specific versions. To enable the previous behavior, use a caret prefix ^.
  • awscdk: LambdaFunction and AutoDiscover now requires cdkDeps so they can interact with CDK version manager.
  • the default version of @types/node installed if no
    minNodeVersion is specified on Node projects is now ^12 instead of
    ^14.
  • release: npmDistTag only effects publishing (and supported for each release branch) setting and so it is no longer set in package.json.
  • workflow.addJobsLater() is no longer supported. Use postSynthesis hooks and call .addJobs() as needed.
  • publish:xxxx tasks for automated releases are not defined by default since normally they should only be executed from within workflows. Set publishingTasks: true to create them.
  • awscdk-construct: cdkVersion default value updated to 2.0.0
  • cdkAssert deprecated and default changed to false
  • new property cdkAssertions added and defaulted to true

Features

Bug Fixes