Skip to content

Latest commit

 

History

History
326 lines (225 loc) · 31.4 KB

CHANGELOG.md

File metadata and controls

326 lines (225 loc) · 31.4 KB

2.3.4 (2024-08-09)

🩹 Fixes

  • migrate to file references strategy for tracking versions of packages (31bc93b)

🧱 Updated Dependencies

  • Updated common-cli to 2.2.4

❤️ Thank You

  • Tine Kondo @tinesoft

2.3.3 (2024-08-08)

🩹 Fixes

  • migrate to workspace references strategy for tracking versions of packages (1a40ba7)

❤️ Thank You

  • Tine Kondo @tinesoft

2.3.2 (2024-05-01)

🩹 Fixes

  • bump internal packages version (232e7d7)

❤️ Thank You

  • Tine Kondo @tinesoft

2.3.1 (2024-03-28)

🩹 Fixes

❤️ Thank You

  • Tine Kondo @tinesoft

2.3.0 (2024-02-18)

Bug Fixes

  • common-jvm: fix Project Graph dependencies collection for projects using Gradle (6df1ff3)
  • common-jvm: include settings.gradle[.kts] files when creating nodes for ProjectGraph v2 (df9f195)
  • common: fix creation of dependencies between nodes for ProjectGraph v2 (fa08ae0)
  • fix create-nx-* broken due to changes in Nx Cloud setup since Nx v17.3.0 (6c981d4)
  • fix Project Graph generation when creating projects in nested folders (b5698d3)
  • nx-spring-boot: fix how Spring Boot projects using gradle are detected (93613d6)

Features

  • common-jvm: improve retrieval of groupIdand artifactId when defined at parent level (9ea99ca)
  • common-jvm: add constant listing common JVM build files (68cd945)
  • common-jvm: extends the search for content inside a project file to its prent module (869400d)
  • common-jvm: update utils for better support for Maven and Gradle muti-module projects (b211fda)
  • common: add utilities to generate Project Graph using v2 API (c6f70e0)
  • common: update Project Graph generation for JVM projects with child modules (d9aba7f)
  • generate the build.gradle[.kts] file when initializing the parent àGradle` module (9b90c4f)
  • improve multi-module support for Maven and Gradle projects (c4e0389)
  • nx-spring-boot: keep only Java 21 and 17 to align w/ Spring Initializr (9d41441)
  • nx-spring-boot: migrate Project Graph generation to v2 API (7d94457)

2.2.2 (2023-12-16)

Bug Fixes

  • common-jvm: fix checkForModule util to match gradle child module names w/ arbitrary paths (759c02f)

2.2.1 (2023-12-12)

Bug Fixes

  • nx-spring-boot: fix generated parent pom.xml of a multi-module project was not valid (02b1e2d)

2.2.0 (2023-12-12)

Features

  • add projectNameAndRootFormat option to better control where projects are generated (5c449b5)
  • add migrations to automate making serve-like targets depend on ^install (f3449ea)
  • make serve-like targets depend on ^install to automatically install dependencies first (c85b7a6)
  • nx-spring-boot: prefix property in ServiceProperties with project name + remove resources/ (78be43f)

2.1.2 (2023-11-25)

Bug Fixes

  • common-jvm: fix bug when checking if an xml node is empty (9f956a0)
  • nx-spring-boot: fix template files for library projects (aa2ea8c)

2.1.1 (2023-11-24)

Bug Fixes

  • nx-spring-boot: fix sample files not generated for Maven library projects (6d2effd)
  • nx-spring-boot: fix typing in MyService.kt when generating a library project (340b666)

2.1.0 (2023-11-22)

Bug Fixes

  • common-jvm: improve utility method to disable a Gradle plugin (8e1e5b9)
  • nx-spring-boot: do not generate Application/ApplicationTests files when generating a library (17fbb4a)
  • nx-spring-boot: fix Boot plugin not disabled for library project when using Gradle Kotlin (fb0b1de)
  • nx-spring-boot: remove bootBuildImage gradle task when generating a library project (03a2bd7)

Features

  • make install target depend on the one from the dependency (b2878dc)
  • nx-spring-boot: improve project generator by generating sample library files (358f9ad)

2.0.3 (2023-11-16)

Bug Fixes

  • hide preset generators from Nx Console and improve generators decription (c868384)

2.0.2 (2023-10-31)

Bug Fixes

  • common-jvm: fix parent module not found when runFromParentModule flag is true (840f8f6)

2.0.1 (2023-10-28)

Bug Fixes

  • common-cli: loosen dependencies on @nx/devkit and create-nx-workspace (18b1175)
  • common: simplify the path to common utils (c87be7f)
  • remove explicit dependency on @nx/devkit (inherited from common) (a1d44c9)

2.0.0 (2023-10-22)

Bug Fixes

  • common: update dependencies used by the common module (e78ae32)

Features

  • common-jvm: move common JVM-related utils to a dedicated package (1bf12fb)
  • common: allow setting cacheable operations when add the plugin to nx.json (9fb5177)
  • nx-spring-boot: add install target to cacheable operations (341aa6a)
  • nx-spring-boot: add migration to add install target in cacheable operations (de11795)
  • update to Nx workspace v17.x.x (c5b4ef3), closes #195

BREAKING CHANGES

  • Nx v17.x.x is now the minimum required version to use the plugin

1.0.0 (2023-10-08)

Bug Fixes

  • add {workspaceRoot} prefix (from Nx v15+) to targets' outputs (411b402)
  • common: bump version of @nxrocks/common for Nx 16 support (980a86f), closes #169
  • common: connections over Proxy not using correct HTTP protocol (5cd3551), closes #158
  • common: fix Error [ERR_STREAM_PREMATURE_CLOSE]: Premature close (fb5f797), closes #142
  • common: fix bug when fetching dependencies of maven based projects (2ada704)
  • common: fix dependency graph generation failure on windows OS (26ef7c4), closes #170
  • common: fix deprecated usage of dependency graph API (badf089)
  • common: fix ProjectGraph for Gradle multi-module projects (0ef0d17)
  • common: fix regex used to fetch gradle dependencies (f1779a4)
  • common: fix wrong groupId used for Spotless maven plugin (3e4c613)
  • common: ignore output when fetching package latest version from npm (f426575)
  • common: improve the checking/adding of a maven plugin in pom.xml (b8f59cf)
  • correct TypeError: builder.getProjectGraph is not a function (3458f66), closes #72
  • enforce plugin peerDependencies on Nx v15.0.0 and later (4c220bb)
  • fix executor output not restored when found in Nx cache (fbb385a), closes #111
  • fix installation issue due to hpagent not being found (3620d23), closes #128
  • fix transitive dependencies from @nxrocks/common (3594b1e), closes #131
  • improve schemas of generators for a better UX in Nx Console (0214736)
  • loosen peerDependencies on @nx/* to support v16.0.0 AND higher (fb2f8df)
  • nx-spring-boot: add x-dropdown to improve UX of link generator (b056117)
  • nx-spring-boot: add plugin to nx.json only if not included already (15511ae)
  • nx-spring-boot: always restore executable permissions on wrappers (b9875d8)
  • nx-spring-boot: correct error when executing builders on Windows (1a744ab), closes #38
  • nx-spring-boot: correct generation issue on Nx workspaces >=v11.2.0 (d3c3816), closes #37
  • nx-spring-boot: correct wrong extension for gradlew on windows (77899ce)
  • nx-spring-boot: fix Premature close error when generating project (f6b433d), closes #97
  • nx-spring-boot: fix serve and apply-format alias executors (29f5183)
  • nx-spring-boot: fix creating spring boot libraries with gradle (500a7d0)
  • nx-spring-boot: fix error when generating a gradle/kotlin project (abfbd04), closes #15
  • nx-spring-boot: fix generation error when setting javaVersion (364b228), closes #98
  • nx-spring-boot: fix library projects should not be executable (b118a4e), closes #113
  • nx-spring-boot: fix prompts not working generating the application (b96e1ce), closes #6
  • nx-spring-boot: fix wrong 'cwd' used to execute builders commands (b39e7e7)
  • nx-spring-boot: make builders executable platform independant (b27bc4c)
  • nx-spring-boot: remove ratchetFrom from the default Spotless conf (1462022)
  • nx-spring-boot: remove extra char in dependencies prompt (5bc0290)
  • nx-spring-boot: set correct path for executors (89e16d3)
  • nx-spring-boot: some user options were not used during generation (6813e7d), closes #17
  • plugins include spec files in distributed pkg (21bac53)
  • set @nrwl/* packages as peerDependencies (d03b709), closes #106

Features

  • common-cli: add common-cli to share code among our create-* CLI packages (bcb5fd2)
  • common: add addMavenProperty helper and improve xpath matching (9f89c08)
  • common: add MavenDependency model (5ab8c1d)
  • common: add a utility to disable a gradle plugin (171ad81)
  • common: add a utility to remove a maven plugin from the pom.xml (8c13087)
  • common: add helper to get project root directory (adbc8a9)
  • common: add support for nx-micronaut plugin (b72cdaf)
  • common: add utilities for multi-module maven/gradle projects (f2e4939)
  • common: add utilities to add maven/gradle modules (2237201)
  • common: add utility method to get http[s] proxy agent (da61925)
  • common: add utility to check the presence of a plugin in pom.xml (bfec05f)
  • common: add utility to unzip a zip stream (a472c00)
  • common: add xml utilities to remove or check if a node is empty (d07b827)
  • common: allow using legacy wrappers (i.e .bat, for maven mostly) (7a13720)
  • common: increase the maxBuffer when running executors commands (4bc388d)
  • common: make the version optional when adding a gradle plugin (bd3a182)
  • common: move octal function into e2e testing utils (b15a616)
  • common: update Spotless gradle plugin from 6.2.2 --> 6.8.0 (8c76d3b)
  • common: update Spotless maven plugin from 2.20.2 --> 2.23.0 (ab182ef)
  • create-nx-spring-boot: add custom CLI to create Spring Boot projects (32ca53c)
  • nx-flutter: add nx-flutter plugin (e7426e9)
  • nx-flutter: add support for Nx 's dependency graph generation (6fb58de), closes #28
  • nx-flutter: auto-adapt prompt & builders based on previous answers (668dd28), closes #26
  • nx-flutter: migrate to Nrwl's DevKit executors/generators API (8c72ed5)
  • nx-ktor: add nx-ktor plugin (cb74a79)
  • nx-melos: add nx-melos plugin (4fb5da8)
  • nx-micronaut: add nx-micronaut plugin (08d6099)
  • nx-quarkus: add plugin to integrate Quarkus inside Nx workspace (2f7c6c0)
  • nx-spring-boot: add proxy support for project generation (bd3ac7e), closes #125
  • nx-spring-boot: add java 16 support to align w/ Spring Initializr (89c1d1e)
  • nx-spring-boot: add java 17 support to align w/ Spring Initializr (131df91)
  • nx-spring-boot: add application schematics (f22e63f)
  • nx-spring-boot: add build-image and test to cached outputs (1cc3a71)
  • nx-spring-boot: add clean builder (33a1435)
  • nx-spring-boot: add format-check executor to check code format (337fca8)
  • nx-spring-boot: add format executor (b5362ae)
  • nx-spring-boot: add ignoreWrapper option to all builders (e045bca), closes #31
  • nx-spring-boot: add install executor + make build depend on it (68e1a5e), closes #65 #66 #71
  • nx-spring-boot: add link generator to link projects implicitly (1142d04)
  • nx-spring-boot: add serve builder (alias to run builder) (16dfdb4), closes #8
  • nx-spring-boot: add skipFormat to control code formatting (8bff29b)
  • nx-spring-boot: add test builder (e257d27), closes #30
  • nx-spring-boot: add User-Agent header to requests to Initializr (4c7f345), closes #11
  • nx-spring-boot: add aliases for the format executor (cbcee00)
  • nx-spring-boot: add builders for run, buildJar/War, buildImage and buildInfo commands (5c75781)
  • nx-spring-boot: add dynamic prompt to fetch boot dependencies list (6d9f3e4)
  • nx-spring-boot: add support for Kotlin DSL when using gradle (31063fe)
  • nx-spring-boot: add support for additional params for buildJar and buildWar builders (b85ad9c)
  • nx-spring-boot: add support for additional params for run and buildImage builders (1d9fbb3)
  • nx-spring-boot: add support for creating multi-modules projects (7c2de5a)
  • nx-spring-boot: add support for Java 18 (6dd94e1)
  • nx-spring-boot: add support for Java 21 (ba566e9)
  • nx-spring-boot: add support for Nx's dependency graph generation (95abe9d)
  • nx-spring-boot: align Java versions with Spring Initializr (1f6545d)
  • nx-spring-boot: allow generating application or library (530186c)
  • nx-spring-boot: better determine the underlying build system (0edfe51)
  • nx-spring-boot: check if source is a valid boot project on linking (f74e524)
  • nx-spring-boot: improve detection of boot projects in workspace (bfb99ed)
  • nx-spring-boot: improve logging when cannot generate project (3cc8eb6)
  • nx-spring-boot: improve logging when project zip can't be fetched (f1a5229)
  • nx-spring-boot: make build executor results cacheable (4528715)
  • nx-spring-boot: make jar of library projects not executable (1e2984f), closes #67
  • nx-spring-boot: merge buildJar and buildWar executors (9fdfec2), closes #43
  • nx-spring-boot: migrate to Nrwl's DevKit executors/generators API (47231fd)
  • nx-spring-boot: rename executors to use kebab-case (1e5d9f4), closes #117
  • nx-spring-boot: rename the application generator into project (05b5272)
  • nx-spring-boot: set Java 17 as default version (f41c555)
  • nx-spring-boot: unselect by default adding code formatting support (005ad95)
  • nx-spring-boot: use NX_VERBOSE_LOGGING to control dep graph logs (ed9e444), closes #68
  • update dependencies and fix lint issues (cfac383)
  • update to Nx workspace v15.0.0 (a0af206), closes #138
  • update to Nx workspace v16.0.0 (ab11ea8)

BREAKING CHANGES

  • Nx v16.x.x is now the minimum required version to use the plugin
  • nx-spring-boot: Nx v15.8.x is now the minimum required version to run the plugin

We now leverage Nx's new NX_INTERACTIVE environment variable to check whether we are running in interactive mode (normal cli) or not. When true, we automatically fetch Spring Boot dependencies and present them in an autocomplete prompt with multi-select support, so you can easily select which ones you want to include in your project.

  • Nx v15.x.x is now the minimum required version to use the plugin
  • nx-spring-boot: format-check executor was renamed into check-format
  • nx-spring-boot: All executors of this plugin now use kebab-case over camelCase for consistency

This only affect buildImage and buildInfo executors, which have been renamed into build-image and build-info respectively.

  • nx-spring-boot: build is now the only executor to use to build the final jar or war
  • Nx v12.6.x is now the minimum version required to use the plugins

This is due to breaking changes in DevKit's project graph API starting from v12.6.x

  • nx-flutter: Nx workspace v11 is now the minimum version required to use this plugin.

In fact, all builders/schematics have been rewritten into executors/generators using its new @nrwl/devkit API.

  • nx-spring-boot: the app alias has been replaced with one of [proj, new, gen, init, create, generate].
  • nx-spring-boot: Nx workspace v11 is now the minimum version required to use this plugin.

In fact, all builders/schematics have been rewritten into executors/generators using its new @nrwl/devkit API.