Releases: blimmer/projen
Releases · blimmer/projen
Release list
v0.72.1
v0.72.0
0.72.0 (2023-11-06)
⚠ BREAKING CHANGES
- json-patch: A failure of
JsonPatch.testdoes not fail synthesis anymore. To preserve previous behavior, passTestFailureBehavior.FAIL_SYNTHESISas third parameter to theJsonPatch.testcall. - json-patch: Calls of
JsonPatch.testare now only relevant to the scope of the list of patches passed toObjectFile.patch. This should not break anything for truthy tests, and should not be relevant for failing tests. However, in case any issues are encountered, the previous behavior can be restored by placing allJsonPatches in a single call ofObjectFile.patch. - gitlab: All
variablesare now Records of strings, as per documentation. If you are currently passing in a number, please convert it to a string. - node-package: This may potentially affect some edge cases that were relying on the internal implementation of the dependencies handling. If new dependencies appear/disappear after applying this fix, previous code
preSynthesizehandler should be inspected for any.addDependency-like calls - those were incorrectly ignored previously and should be removed if actually are not needed. - upgrade-dependencies: When upgrading dependencies, installed packages are now checked for peer dependencies and updates will be filtered to satisfy respective version constraints. The previous behavior was to always upgrade to the latest minor version and ignore incompatible peer dependency constraints. To use the previous behavior, set
satisfyPeerDependencies: false. - upgrade-dependencies: In v0.72.0 a bug was accidently introduced that causes peer dependencies to be always excluded from version upgrades. This releases fixes the issue. To not upgrade peer dependencies, only list desired dependency types in
types.
Fixes projen#2874
Fixes projen#2875
Closes projen#1601
- upgrade-dependencies: the
renderUpgradePackagesCommandhas been removed fromNodePackage. It should never have been used. Instead, configure the appropriatedepsUpgradeOptionsto control the upgrade task. If you render the upgrade command for a different purpose, you'll have to construct the command yourself according to the appropriate package manager.
Features
- add runner group support (#2817) (9bdf7d0), closes #2814
- add Yarnrc component for YARN_BERRY (#3048) (7a3883a), closes #2980
- awscdk: add experimental integ-runner support (#2963) (a579d86)
- build: allow setting workflow file name (#2754) (c8c1428), closes #2753
- dependabot: add additional dependatbot options (#2777) (6606966)
- docker-compose: Expose YAML file as property (#2866) (7737a96)
- docker: suport platform in docker-compose (#2868) (34d6497)
- eslint: add additional overrides fields (#2999) (83b412e)
- github: add dependabot options: assignees, groups, allow (#2787) (3db1a5b)
- github: require contributor statement on PRs (#2892) (19ed699)
- gitlab: add id_tokens field to gitlab ci job interface (#2910) (3b0d106)
- gitlab: support fallback-keys (#2991) (080992e), closes #2960
- gitlab: updates to configuration model (#2992) (f251b79)
- introduce
YARN_CLASSICandYARN_BERRYNodePackageManager options (#3014) (3273150), closes #2980 /github.com/projen/projen/issues/2980#issuecomment-1759324495 - json-patch: each
ObjectFile.patch()is an atomic operation and new failure behaviors forJsonPatch.test()(#2997) (316a3e4) - license: add AGPL-3.0-or-later (#2744) (d533b21)
- node-package: added bun as a package manager (#2985) (2f52374)
- node: default to Node.js 18.x (#2984) (979d0a1), closes #2979
- Projects and Components are Constructs (#2974) (34edf99), closes #1763
- publish: add ability to create post publish Job steps (#2885) (e93fadd)
- release: support
minorVersioninreleaseBranchesto release patches for older major versions (#2821) (9da2c1c), closes #2813 - release: support specifying which commits should be considered to cause a new release (#2758) (31951f8), closes #2179 #2751
- smithy-build: support for sources (#2732) (78bc1a1)
- tasks: getter to return all env variables (#2765) (6393fd8), closes #2704
- typescript: Added missing TypeScript compilerOption parameters (#2920) (42146f3)
- upgrade-dependencies: allow customizing dependency types and semantic commit (#2804) (e5e8114), closes /github.com/projen/projen/blob/2259df0eb7aea3f79e6aa97ede751c414bbdab97/src/version.ts#L131
- upgrade-dependencies: allow to configure version upgrade
targetandsatisfyPeerDependencies(#2883) (ebd75ce) - upgrade-dependencies: switch to single commands that only use
--filter(#2845) (0063756), closes /github.com/projen/projen/blob/main/src/javascript/upgrade-dependencies.ts#L36 /github.com/projen/projen/blob/main/src/javascript/upgrade-dependencies.ts#L43 /github.com/projen/projen/blob/main/src/javascript/upgrade-dependencies.ts#L97 - vscode: expose conf...