Skip to content

Commit 9431e69

Browse files
Anthony GordonAnthony Gordon
authored andcommitted
chore(release): bump version to 7.1.5
1 parent 66b40b5 commit 9431e69

6 files changed

Lines changed: 13 additions & 18 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [7.1.5] - 2026-04-06
2+
3+
### Changed
4+
* Remove `--force` flag from `make:env` command, now always overwrites existing `env.g.dart`
5+
16
## [7.1.4] - 2026-04-03
27

38
### Changed

example/pubspec.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -483,15 +483,15 @@ packages:
483483
path: ".."
484484
relative: true
485485
source: path
486-
version: "7.1.3"
486+
version: "7.1.4"
487487
nylo_support:
488488
dependency: transitive
489489
description:
490490
name: nylo_support
491-
sha256: b256ea35b715ca0d88f3b6de6653d787cd52babcdfd7008ce90fbcfc06609a7d
491+
sha256: ebf09b1873d7dc84217e1917a91e23e9e93cff0f1326131ecc57866c5ceed170
492492
url: "https://pub.dev"
493493
source: hosted
494-
version: "7.14.1"
494+
version: "7.15.0"
495495
objective_c:
496496
dependency: transitive
497497
description:

lib/metro/commands/make/env.dart

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ class _MakeEnvCommand extends NyCustomCommand {
2525
command.addFlag("help",
2626
abbr: "h",
2727
help: 'Generates an encrypted env.g.dart file from your .env file');
28-
command.addFlag("force",
29-
abbr: "f", help: "Overwrites existing env.g.dart if present.");
3028
command.addOption("file",
3129
abbr: "e", help: "The .env file to read from.", defaultValue: ".env");
3230
command.addFlag("dart-define",
@@ -39,7 +37,6 @@ class _MakeEnvCommand extends NyCustomCommand {
3937
@override
4038
Future<void> handle(CommandResult result) async {
4139
final String envFileName = result.getString("file", defaultValue: ".env")!;
42-
final hasForceFlag = result.hasForceFlag;
4340
final bool? useDartDefine = result.getBool("dart-define");
4441

4542
final envFile = File(envFileName);
@@ -53,13 +50,6 @@ class _MakeEnvCommand extends NyCustomCommand {
5350
return;
5451
}
5552

56-
// Check if output file exists and force flag is not set
57-
if (await outputFile.exists() && !hasForceFlag) {
58-
warning('$outputPath already exists.');
59-
info('Use --force to overwrite the existing file.');
60-
return;
61-
}
62-
6353
// Parse .env file
6454
final envContent = await envFile.readAsString();
6555
final envMap = _parseEnvFile(envContent);

lib/nylo_framework.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ export 'package:date_field/date_field.dart';
1515
export 'package:dio/dio.dart';
1616

1717
/// Nylo version
18-
const String nyloVersion = 'v7.1.4';
18+
const String nyloVersion = 'v7.1.5';

pubspec.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,10 @@ packages:
505505
dependency: "direct main"
506506
description:
507507
name: nylo_support
508-
sha256: b256ea35b715ca0d88f3b6de6653d787cd52babcdfd7008ce90fbcfc06609a7d
508+
sha256: ebf09b1873d7dc84217e1917a91e23e9e93cff0f1326131ecc57866c5ceed170
509509
url: "https://pub.dev"
510510
source: hosted
511-
version: "7.14.1"
511+
version: "7.15.0"
512512
objective_c:
513513
dependency: transitive
514514
description:

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: nylo_framework
22
description: Micro-framework for Flutter that's built to simplify app development for Flutter projects.
3-
version: 7.1.4
3+
version: 7.1.5
44
homepage: https://nylo.dev
55
repository: https://github.com/nylo-core/framework/tree/7.x
66
issue_tracker: https://github.com/nylo-core/framework/issues
@@ -16,7 +16,7 @@ environment:
1616
flutter: ">=3.24.0"
1717

1818
dependencies:
19-
nylo_support: ^7.14.1
19+
nylo_support: ^7.15.0
2020
skeletonizer: ^2.1.3
2121
collection: ^1.19.1
2222
args: ^2.7.0

0 commit comments

Comments
 (0)