·
163 commits
to refs/heads/main
since this release
0.58.0 (2024-03-07)
⚠ BREAKING CHANGES
- python: Poetry is now required to be at version 1.2.0 or above. Please update Poetry if needed.
- nextjs: Minimum Node version is now 16.14.0 to match Next 13's minimum node version.
- nextjs: Next.js TSConfig
module
is nowesnext
by default, to preserve previous behavior, setmodule
toCommonJS
. - nextjs: Next.js TSConfig
moduleResolution
is nowBUNDLER
by default, to preserve previous behavior, setmoduleResolution
toNODE
. - nextjs: Next.js TSConfig
strict
is now set totrue
by default, to preserve previous behavior, setstrict
tofalse
. - gitlab: current cache definitions will need to be changed into an array or will get a compile time exception.
Features
- bundler: additional esbuild options and generic escape hatch to pass any options to esbuild (#3366) (482f782), closes #3364
- cdktf: update default constructs version (#3309) (aa8a2e3)
- github: download artifact workflow step (#3365) (dbe4aeb)
- gitlab: add gitlab multiple cache support (#3151) (0c8088f), closes #3022
- IgnoreFile: allow ignorePatterns to be set via options (#3373) (8c93086)
- java: support for parent POM in maven projects (#3326) (41b610d)
- jest: addModuleNameMappers, addModulePaths, addRoots (#3287) (9436206)
- node: allow enforcement of licenses used by dependencies (#2614) (7402c57)
- node: release from CI with npm provenance statements (#3330) (e41812c)
- node: update aws-actions/configure-aws-credentials@v2 to v4 (#3329) (8eb0b03), closes #2932 #3324
- release: subproject releases (#3208) (e2b393d)
- task: getStep, editStep, removeStep, cwd (#3311) (d46b89b)
- tsconfig: downlevelIteration, incremental, tsBuildInfoFile added to compilerOptions (#3314) (681aa72)
- typescript: ts-jest now uses a non-deprecated implementation (#3201) (2ccae02)
- vscode: support input variables in launch config (#3166) (d24cbf6)
Bug Fixes
- awscdk-app-py: app sample code is created in
appEntrypoint
file (#3356) (5310c04), closes #3300 - cli: unclear error messages when using
projen new
with--from
(#3385) (6cca0b5) - deps: upgrade bundled dependencies (#3328) (f5a89f9)
- deps: upgrade bundled dependencies (#3349) (4f3ab75)
- deps: upgrade bundled dependencies (#3352) (67b3544)
- deps: upgrade bundled dependencies (#3402) (8041446)
- deps: upgrade bundled dependencies (#3424) (12df1d2)
- ESLint now handles zero extensions gracefully, task open for extension (#3220) (77532db)
- file: directory separators are inconsistent between platforms in metadata (#3374) (90fb41e)
- file: incorrectly detects file changes on Windows when isExecutable is set (#3107) (128c68d), closes /github.com/projen/projen/blob/f8a1ac04d4a635f39a511f2af205dc0a75294d74/src/util.ts#L421-L428
- github: bump peter-evans/create-pull-request to v6 (#3361) (e8fed11), closes #3337
- github: bump upload/download artifact actions to v4; resolves runtime deprecation warnings (#3335) (0fcbcb3)
- github: bump version of actions/checkout to v4; resolves runtime deprecation warnings (#3344) (c2b3a25)
- github: bump version of actions/setup-node to v4; resolves runtime deprecation warnings (#3345) (9281501)
- github: bump version of actions/setup-python to v5; resolves runtime deprecation warnings (#3346) (47d6959), closes #3337
- github: bump version of pnpm/action-setup to v3 (#3359) (2d5be25), closes #3337
- github: bump version of tibdex/github-app-token action; resolves runtime deprecation warnings (#3338) (d4bdfed)
- github: invalid commit for tibdex/github-app-token action (#3341) (8ed7e0e), closes #3338
- gitignore: paths separators are inconsistent for cross platform development (#3325) (7b37e5c), closes #3284
- jest: build fails when running with an old (<29) version of jest that is not explicitly specified as
jestVersion
(#3276) (fbc92f0), closes #3201 - jest: directory separators are inconsistent for cross platform development (#3370) (7ca6024), closes #3284
- jest: external TypeScript projects are created with outdated jest config (#3397) (7bbfe5c), closes #3396
- jest: ts-jest configuration spelling mistakes (#3226) (b58332c)
- jsii: compile fails with
error TS1110: Type expected
due to incompatible@types/node
version (#3331) (eb6b12f), closes #3324 - jsii: pnpm pack not used as the pack command if the package manager is PNPM (#3254) (c1f37fe), closes /github.com/cdklabs/publib/issues/969#issuecomment-1881896738
- nextjs: updated
NextJsProject
default options (#3241) (afcefde) - NODE_ENV test affects projen behavior (#3294) (8330327), closes #2947
- node: directory separators are inconsistent between platforms in tasks.json and package.json (#3387) (2aa861d), closes /github.com/projen/projen/issues/3284#issuecomment-1952483404
- node: packaging bundled dependencies fails in pnpm projects (#3156) (f90f012)
- node: Prettier, Projenrc, and .gitattributes are not ignored in npm package (#3223) (ad69f80)
- node: some directory separators are still inconsistent between platforms in tasks.json and package.json (#3406) (49a51ef), closes /github.com/projen/projen/issues/3284#issuecomment-1964163891 /github.com/nodejs/node/blob/f28ccd3941e70a825786eff7e28f59014ac76ac9/lib/path.js#L1546
- poetry: maintain frozen lockfile for install task (#3321) (12e2183), closes #2913
- project:
runTaskCommand()
ignoresprojenCommand
(#3293) (7ffce3c) - pull-request-lint: bump version of GH action amannn/action-semantic-pull-request to v5.4.0; resolves runtime deprecation warnings (#3357) (b9203a4)
- python:
PythonProject
with Poetry tries to use virtual environment before it's created (#3392) (af095f1), closes #3390 - python: generated
pyproject.toml
has correct formatting style when using Poetry (#3405) (320b947) - python: poetry & setuptools not using python binary provided by
pythonExec
(#3291) (0da0917) - python: Poetry python project is using deprecated
dev-dependencies
notation inpyproject.toml
(#3375) (a5f5672) - python: poetry tasks are not aligned with other package managers (#3368) (ced51d6), closes #2913
- release: changelog update fails when creating a new releasing when a pre-release with the same version is present (#3256) (c86bb9a), closes #3235
- release: provenance statement not being generated because of missing quotes in YAML (#3378) (d7d8ff0), closes #3300
- release: release workflow attempts to publish packages for already existing versions (#3252) (292d52f), closes #2921
- release: workflow is failing because of invalid bash command (#3285) (3698a0b), closes #3252
- revert "NODE_ENV test affects projen behavior" (#3334) (74fb390), closes projen/projen#3294 /github.com/projen/projen/discussions/3322#discussioncomment-8368347
- tsconfig: support three missing strict tsconfig
compilerOptions
(#3409) (75072c1), closes TypeStrong/ts-node#1958 - typescript: projenrc.ts for TS projects is not excluded from npm package (#3250) (709e584)
- typescript: tsconfig filename added to compile and watch commands (#3222) (7f7bebf)
- upgrade-dependencies:
projen upgrade
fails due topnpx
deprecation (#3355) (5fa8a9f), closes #3332 - upgrade-dependencies: unnecessary attempts to upgrade versions in package.json (#3343) (cb2d898)
- WorkflowSteps enables completely consistent actions/checkout and setGitIdentity in Workflows (#3204) (cf61c43)