Skip to content

Releases: phntmxyz/sidekick

sidekick_vault-v0.8.1

22 Jan 20:50
Compare
Choose a tag to compare
  • Replace promts with dcli #202

sidekick_vault-v0.8.0

22 Jan 20:22
Compare
Choose a tag to compare

sidekick-v0.9.0

20 Jan 17:46
Compare
Choose a tag to compare

Updates to the sidekick CLI

  • sidekick update now updates the global sidekick CLI to the latest version #159

Updates from sidekick_core (0.13.1 -> 0.15.1)

Changes to generated sidekick CLIs

  • <cli> <command> Sidekick CLIs now automatically check for updates after executing a command. Disable with export SIDEKICK_ENABLE_UPDATE_CHECK=false #177 #171
  • <cli> sidekick update now updates to the latest stable Dart SDK #167
  • Automatic pub upgrade when CLI compilation fails (due to Dart SDK upgrade) #166

New APIs

  • New: BashCommand to simplify converting bash scripts to commands in dart #168

    BashCommand(
      name: 'codegen',
      description: 'Runs build runner',
      workingDirectory: runner.mainProject?.root,
      script: () => '''
    ${systemFlutterSdkPath()}/bin/flutter pub run build_runner build --delete-conflicting-outputs
    ''',
    ),

Bugfixes and improvements

  • DepsCommand now ignores sidekick packages, which pull deps automatically with embedded Dart SDK #184
  • Fix: DepsCommand.excludeGlob now starts matching at repo root, not CWD #183
  • sidekick update now handles path and git dependencies when updating sidekick_core #180
  • DartPackage.fromDirectory() Simplify detection of Flutter packages #182

Template Changes

  • CLI template now does not generate a <cli>_project.dart file. You can continue to use yours but we found most people didn't need it. (#156)
  • UsageException is now correctly printed (#157) (with <cli> sidekick update migration)
  • Calling the CLI with zero arguments now also checks for sidekick updates (#157) (with <cli> sidekick update migration)
  • Fix unnecessary CLI recompilation in run.sh (#152)

API Changes

  • New DartPackage.lockfile getter (#159)
  • New DartPackage.fromArgResults constructor for Commands that take a package as only argument. Parses rest and cwd. (#160)
  • SidekickTemplateProperties now has optional properties. Caller has to decide what to inject for each template. (#161)

sidekick_core-v0.15.1

18 Jan 19:15
Compare
Choose a tag to compare
  • bugfix: sidekick update - Ignore insignificant pub get errors #190

sidekick_core-v0.15.0

18 Jan 15:02
Compare
Choose a tag to compare

Changes to your sidekick CLI

  • <cli> <command> Sidekick CLIs now automatically check for updates after executing a command. Disable with export SIDEKICK_ENABLE_UPDATE_CHECK=false #177 #171
  • <cli> sidekick update now updates to the latest stable Dart SDK #167
  • Automatic pub upgrade when CLI compilation fails (due to Dart SDK upgrade) #166

New APIs

  • New: BashCommand to simplify converting bash scripts to commands in dart #168

    BashCommand(
      name: 'codegen',
      description: 'Runs build runner',
      workingDirectory: runner.mainProject?.root,
      script: () => '''
    ${systemFlutterSdkPath()}/bin/flutter pub run build_runner build --delete-conflicting-outputs
    ''',
    ),

Bugfixes and improvements

  • DepsCommand now ignores sidekick packages, which pull deps automatically with embedded Dart SDK #184
  • Fix: DepsCommand.excludeGlob now starts matching at repo root, not CWD #183
  • sidekick update now handles path and git dependencies when updating sidekick_core #180
  • DartPackage.fromDirectory() Simplify detection of Flutter packages #182

sidekick_core-v0.14.0

06 Jan 16:37
Compare
Choose a tag to compare

Template Changes

  • CLI template now does not generate a file. You can continue to use yours but we found most people didn't need it. (#156)
  • UsageException is now correctly printed (#157) (with migration)
  • Calling the CLI with zero arguments now also checks for sidekick updates (#157) (with migration)
  • Fix unnecessary CLI recompilation in (#152)

API Changes

  • New getter (#159)
  • New constructor for Commands that take a package as only argument. Parses and . (#160)
  • now has optional properties. Caller has to decide what to inject for each template. (#161)

sidekick-v0.8.0

14 Dec 01:08
Compare
Choose a tag to compare
  • sidekick --version now prints the version

sidekick init

  • cli entrypoint location (--entrypointDirectory) and cli package location (--cliPackageDirectory ) are now individually configurable. Will be asked during init if not provided.

  • Allow project names with underscores #112

  • Cli template updates

    • New <cli> sidekick update command (available since sidekick_core: 0.13.0), to update your existing sidekick cli to the latest version, like running sidekick init again #111
    • Output when compiling the cli is now reduced (no pub get output) #109
    • Analyzer now ignores the cli build dir #107

sidekick plugins

  • Updated plugin templates
    • Using new addSelfAsDependency() method
    • shared-code template now saves the template dart files in the template dir, not as plain string in code. #132

sidekick_plugin_installer-v0.2.1

09 Dec 08:43
Compare
Choose a tag to compare
  • Make PluginContext.name nullable, because it is not available in protocol v1. (#137)

sidekick_plugin_installer-v0.2.0

09 Dec 08:43
Compare
Choose a tag to compare
  • Deprecate pubAddDependency in favor of addSelfAsDependencyand addDependency (#136)
  • Deprecate pubAddLocalDependency in favor of addSelfAsDependencyand addDependency (#136)
  • Add example folder
  • Update repository link
  • Add addSelfAsDependency (#136)
  • Add addDependency (#136)
  • Add PluginContext.name (#136)
  • Add PluginContext.versionConstraint (#136)
  • Add PluginContext.localPath (#136)
  • Add PluginContext.hostedUrl (#136)
  • Add PluginContext.gitUrl (#136)
  • Add PluginContext.gitPath (#136)
  • Add PluginContext.installerPlugin (#132)
  • Fix: registerPlugin does not add duplicated command anymore if it has already been added (#131)

sidekick_core-v0.13.0

09 Dec 08:45
Compare
Choose a tag to compare
  • New sidekick update command for updating your sidekick CLI (#111)
  • Add excludeGlob parameter to DepsCommand (#125)
  • Add --version flag to sidekick command
  • Support FLUTTER_ROOT environment variable for local Flutter SDK (#123)
  • Update templates (#132, #126)
  • Installing sidekick plugins from git is now possible (#126)
  • Experimental: Automatic sidekick update check when setting SIDEKICK_ENABLE_UPDATE_CHECK environment variable to true