Skip to content

Commit

Permalink
Prepare release sidekick_core-v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
passsy committed Jan 25, 2023
1 parent 175f39e commit f154c83
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
24 changes: 24 additions & 0 deletions sidekick_core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## [1.0.0](https://github.com/phntmxyz/sidekick/compare/sidekick_core-v0.15.1..sidekick_core-v1.0.0) (2023-1-25)

### Breaking API & Behaviour Changes
- Sidekick CLIs now works without a git repository. The `projectRoot` is defined where the shell `entryPoint` is located.
- New `SidekickContext` with getters for `sidekickPackage`, `cliName`, `projectRoot`, `entryPoint` and `repository` [#178](https://github.com/phntmxyz/sidekick/pull/178)
- Deprecation of `Repository` and top-level `repository` [#178](https://github.com/phntmxyz/sidekick/pull/178)
- Behaviour: paths for `initializeSidekick()` are now relative to `projectRoot`, not `repository`. Sidekick will print warnings when you're using wrong paths [#178](https://github.com/phntmxyz/sidekick/pull/178)
- Removal of `git()`. It was unused. Since sidekick doesn't require git anymore it was removed. [#208](https://github.com/phntmxyz/sidekick/pull/208)
- Behaviour: `flutter` and `dart` throw by default when failing. Use `nothrow: true` to ignore errors (`exitCode != 0`) [#206](https://github.com/phntmxyz/sidekick/pull/206)
- Behaviour: `flutter` and `dart` default to `Directory.current`, not `entryWorkingDirectory` [#206](https://github.com/phntmxyz/sidekick/pull/206)
- Removal of `flutterw()`. `flutter` and `dart` do not fall back to `flutterw()`. It is now available as plugin https://github.com/passsy/flutterw_sidekick_plugin [#208](https://github.com/phntmxyz/sidekick/pull/208)
- Deprecate top-level `cliName`/`cliNameOrNull` in favor of `SidekickContext.cliName` [#208](https://github.com/phntmxyz/sidekick/pull/208)
- Deprecate `name` of `initializeSidekick()`. The name is now inferred from the `pubspec.yaml` from the package name (`<name>_sidekick`). [#209](https://github.com/phntmxyz/sidekick/pull/209)
- Deprecate `findRepository()` in favor of `SidekickContext.repository` or `SidekickContext.projectRoot` [#178](https://github.com/phntmxyz/sidekick/pull/178)
- Removal of `deinitializeSidekick()` [#208](https://github.com/phntmxyz/sidekick/pull/208)

### Other Changes
- New `List<DartPackage> findAllPackages(Directory)` function to find packages in directories such as `SidekickContext.projectRoot` or `SidekickContext.repository` [#178](https://github.com/phntmxyz/sidekick/pull/178)
- Require latest dartx version `1.1.0` [#208](https://github.com/phntmxyz/sidekick/pull/208)
- Update template to use Dart 2.18.6 [#195](https://github.com/phntmxyz/sidekick/pull/195)
- Show the exact version of the plugin during install [#203](https://github.com/phntmxyz/sidekick/pull/203)
- Print `pub get` errors when installing plugin [#203](https://github.com/phntmxyz/sidekick/pull/203)
- Fix misleading update message [#210](https://github.com/phntmxyz/sidekick/pull/210)

## [0.15.1](https://github.com/phntmxyz/sidekick/compare/sidekick_core-v0.15.0..sidekick_core-v0.15.1) (2023-1-18)

- **bugfix**: sidekick update - Ignore insignificant `pub get` errors [#190](https://github.com/phntmxyz/sidekick/pull/190)
Expand Down
2 changes: 1 addition & 1 deletion sidekick_core/lib/sidekick_core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export 'package:sidekick_core/src/template/sidekick_package.template.dart';
/// This is used by the update command to determine if your sidekick cli
/// requires an update
// DO NOT MANUALLY EDIT THIS VERSION, instead run `sk bump-version sidekick_core`
final Version version = Version.parse('0.15.1');
final Version version = Version.parse('1.0.0');

/// Initializes sidekick, call this at the very start of your CLI program
///
Expand Down
2 changes: 1 addition & 1 deletion sidekick_core/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: sidekick_core
description: Shared sidekick commands, plugin engine, migrations, templates and utilities for sidekick CLIs
version: 0.15.1
version: 1.0.0
repository: https://github.com/phntmxyz/sidekick/tree/main/sidekick_core
issue_tracker: https://github.com/phntmxyz/sidekick/labels/sidekick_core

Expand Down
2 changes: 1 addition & 1 deletion sk_sidekick/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ packages:
path: "../sidekick_core"
relative: true
source: path
version: "0.15.1"
version: "1.0.0"
sidekick_test:
dependency: "direct dev"
description:
Expand Down

0 comments on commit f154c83

Please sign in to comment.