Skip to content

Commit fb96715

Browse files
committed
chore: prepare v4.0.0 release
1 parent 76cbe7f commit fb96715

File tree

4 files changed

+16
-24
lines changed

4 files changed

+16
-24
lines changed

.husky/pre-push

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
# Run tests before pushing
5-
echo "Running tests..."
6-
dart test
4+
# Add Flutter/Dart to PATH for GUI apps
5+
export PATH="/Users/leofarias/flutter/bin/cache/dart-sdk/bin:/Users/leofarias/flutter/bin:$PATH"
76

8-
# Optional: Run integration tests if they exist
9-
if [ -f "tool/grind.dart" ]; then
10-
echo "Running integration tests..."
11-
dart run grinder integrationTest || echo "Integration tests not available or failed"
7+
# Run dart analyze before pushing
8+
echo "Running dart analyze..."
9+
dart analyze --fatal-infos
10+
11+
# Run DCM analyze if available
12+
if command -v dcm >/dev/null 2>&1; then
13+
echo "Running DCM analysis..."
14+
dcm analyze lib
1215
fi

CHANGELOG.md

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
1-
## 4.0.0-beta.2
2-
3-
* refactor: Restore simple tag-based release workflow (removes complex GitHub release automation)
4-
* fix: Version mismatch errors in CI and non-interactive environments
5-
* fix: Authentication prompts for private repository dependencies
6-
* fix: Fork installation fallback reliability
7-
8-
## 4.0.0-beta.1
1+
## 4.0.0
92

103
* add: Manage Flutter SDKs from custom or forked repositories
11-
* add: Automatic Melos integration - FVM now automatically manages the `sdkPath` in `melos.yaml` when running `fvm use`
4+
* add: Automatic Melos integration - FVM automatically manages `sdkPath` in `melos.yaml`
125
* add: `updateMelosSettings` configuration option to control Melos integration per project
13-
* add: Smart detection of existing Melos configurations with appropriate warnings
14-
* add: Runtime deprecation warnings for unsupported environment variables
15-
* add: Legacy support for `FVM_HOME` environment variable as fallback when `FVM_CACHE_PATH` is not set
16-
* fix: Enhanced environment variable processing logic in AppConfigService
17-
* add: Improved error messaging for deprecated `FVM_GIT_CACHE` environment variable
18-
* add: Better environment variable precedence handling with clear fallback behavior
6+
* fix: Enhanced environment variable processing logic
7+
* fix: Better environment variable precedence handling
198

209
## 3.2.1
2110

lib/src/version.dart

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: fvm
22
description: A simple cli to manage Flutter SDK versions per project. Support
33
channels, releases, and local cache for fast switching between versions.
4-
version: 4.0.0-beta.2
4+
version: 4.0.0
55
homepage: https://github.com/leoafarias/fvm
66

77
environment:

0 commit comments

Comments
 (0)