Skip to content

create-nx-flutter/v1.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 08 Oct 08:24
· 250 commits to master since this release

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-flutter: add missing buildAar builder (44432eb)
  • nx-flutter: add missing config for semantic-releasing (06fd1bd)
  • nx-flutter: add plugin to nx.json only if not included already (b98c1e9)
  • nx-flutter: avoid generating files when running with --dry-run (d539208)
  • nx-flutter: correct generation error due to platforms option (fc56c5e), closes #22
  • nx-flutter: correct generation error on multi word description (1ed2d97), closes #23
  • nx-flutter: fix format executor to use dart format (2f03466)
  • nx-flutter: fix error when generating module or package (86eb3f8), closes #44
  • nx-flutter: fix error when generating shareable package projects (1214fa7), closes #166
  • nx-flutter: fix non-interactive generation of flutter projects (6c4a5aa)
  • 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-flutter: add custom CLI to create Flutter projects (5126425)
  • create-nx-spring-boot: add custom CLI to create Spring Boot projects (32ca53c)
  • nx-flutter: add create alias to project generation schematics (0386629), closes #27
  • nx-flutter: add doctor executor to run flutter doctor checks (9d35de1)
  • nx-flutter: add nx-flutter plugin (e7426e9)
  • nx-flutter: add special instructions to generate the app (d5f768a)
  • nx-flutter: add support for Flutter Version Manager (fvm) (e9af459)
  • 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: create project in apps or libs based on template (dc20e0b), closes #41
  • nx-flutter: improve typings for template and platforms options (b614dc4)
  • nx-flutter: leverage NX_INTERACTIVE for additional prompts (ffb0591)
  • nx-flutter: make all build executors results cacheable (a08dbb8)
  • nx-flutter: migrate to Nrwl's DevKit executors/generators API (8c72ed5)
  • nx-flutter: rename executors to use kebab-case (319558f)
  • nx-flutter: rename the application generator into project (6361557)
  • nx-flutter: use NX_VERBOSE_LOGGING to control logs in dep graph (e678ed5)
  • 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 application schematics (f22e63f)
  • nx-spring-boot: add support for creating multi-modules projects (7c2de5a)
  • nx-spring-boot: add support for Nx's dependency graph generation (95abe9d)
  • nx-spring-boot: migrate to Nrwl's DevKit executors/generators API (47231fd)
  • 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-flutter: Nx v15.8.x is now the minimum required version to run the plugin

skipAdditionalPrompts option was removed (no longer necessary)

  • Nx v15.x.x is now the minimum required version to use the plugin
  • nx-flutter: interactive option has been renamed into skipAdditionalPrompts

interactive is a reserved option for nx generate command, that gets deleted once Nx has interpreted it, so we need our own. Must still be combined with --no-interactive (from Nx), for fully non-interactivity

  • nx-flutter: All executors of this plugin now use kebab-case over camelCase for consistency

This only affects buildAar, buildApk, buildAppbundle, buildBundle, buildIos, buildIosFramework, buildIpa, and genL10n executors, which have been renamed into build-aar, build-apk, build-appbundle, build-bundle, build-ios, build-ios-framework, build-ipa, and gen-l10n respectively.

  • 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: the app alias has been replaced with one of [proj, new, gen, init, generate].
  • 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: 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.