Releases: phntmxyz/sidekick
Releases · phntmxyz/sidekick
sidekick_vault-v0.8.1
- Replace promts with dcli #202
sidekick_vault-v0.8.0
sidekick-v0.9.0
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 withexport 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 #168BashCommand( 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 handlespath
andgit
dependencies when updatingsidekick_core
#180DartPackage.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
sidekick_core-v0.15.1
- bugfix: sidekick update - Ignore insignificant
pub get
errors #190
sidekick_core-v0.15.0
Changes to your sidekick CLI
<cli> <command>
Sidekick CLIs now automatically check for updates after executing a command. Disable withexport 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 #168BashCommand( 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 handlespath
andgit
dependencies when updatingsidekick_core
#180DartPackage.fromDirectory()
Simplify detection of Flutter packages #182
sidekick_core-v0.14.0
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
sidekick-v0.8.0
sidekick --version
now prints the version
sidekick init
-
cli entrypoint location (
--entrypointDirectory
) and cli package location (--cliPackageDirectory
) are now individually configurable. Will be asked duringinit
if not provided. -
Allow project names with underscores #112
-
Cli template updates
sidekick plugins
- Updated plugin templates
- Using new
addSelfAsDependency()
method shared-code
template now saves the template dart files in thetemplate
dir, not as plain string in code. #132
- Using new
sidekick_plugin_installer-v0.2.1
- Make
PluginContext.name
nullable, because it is not available in protocol v1. (#137)
sidekick_plugin_installer-v0.2.0
- Deprecate
pubAddDependency
in favor ofaddSelfAsDependency
andaddDependency
(#136) - Deprecate
pubAddLocalDependency
in favor ofaddSelfAsDependency
andaddDependency
(#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
- New
sidekick update
command for updating your sidekick CLI (#111) - Add
excludeGlob
parameter toDepsCommand
(#125) - Add
--version
flag tosidekick
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 totrue