Skip to content

Commit 19d2f32

Browse files
Anthony GordonAnthony Gordon
authored andcommitted
chore(release): bump version to 7.1.6
1 parent 9431e69 commit 19d2f32

6 files changed

Lines changed: 77 additions & 29 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [7.1.6] - 2026-04-11
2+
3+
### Changed
4+
* Remove `--force` flag from `make:key` command, now always overwrites existing APP_KEY
5+
* Page with controller stub now sets `stateManaged` to `false` by default
6+
17
## [7.1.5] - 2026-04-06
28

39
### Changed

example/pubspec.lock

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ packages:
55
dependency: transitive
66
description:
77
name: app_badge_plus
8-
sha256: ce3d8fdfcf39a1552cc8dea499ee3b4a86273ccf04c8de29e7960c739b045ae6
8+
sha256: "81130fe6150ce2a1f12af4bb7d6f646496d284d5f87f2c121af8258a453bbb3f"
99
url: "https://pub.dev"
1010
source: hosted
11-
version: "1.2.7"
11+
version: "1.2.8"
1212
args:
1313
dependency: transitive
1414
description:
@@ -85,10 +85,10 @@ packages:
8585
dependency: transitive
8686
description:
8787
name: connectivity_plus
88-
sha256: b8fe52979ff12432ecf8f0abf6ff70410b1bb734be1c9e4f2f86807ad7166c79
88+
sha256: "62ffa266d9a23b79fb3fcbc206afc00bb979417ba57b1324c546b5aab95ba057"
8989
url: "https://pub.dev"
9090
source: hosted
91-
version: "7.1.0"
91+
version: "7.1.1"
9292
connectivity_plus_platform_interface:
9393
dependency: transitive
9494
description:
@@ -381,6 +381,22 @@ packages:
381381
url: "https://pub.dev"
382382
source: hosted
383383
version: "0.20.2"
384+
jni:
385+
dependency: transitive
386+
description:
387+
name: jni
388+
sha256: c2230682d5bc2362c1c9e8d3c7f406d9cbba23ab3f2e203a025dd47e0fb2e68f
389+
url: "https://pub.dev"
390+
source: hosted
391+
version: "1.0.0"
392+
jni_flutter:
393+
dependency: transitive
394+
description:
395+
name: jni_flutter
396+
sha256: "8b59e590786050b1cd866677dddaf76b1ade5e7bc751abe04b86e84d379d3ba6"
397+
url: "https://pub.dev"
398+
source: hosted
399+
version: "1.0.1"
384400
json_annotation:
385401
dependency: transitive
386402
description:
@@ -483,15 +499,15 @@ packages:
483499
path: ".."
484500
relative: true
485501
source: path
486-
version: "7.1.4"
502+
version: "7.1.6"
487503
nylo_support:
488504
dependency: transitive
489505
description:
490506
name: nylo_support
491-
sha256: ebf09b1873d7dc84217e1917a91e23e9e93cff0f1326131ecc57866c5ceed170
507+
sha256: "929d72b983209b35150659853cd860c5c9fc3f82e9e8b272403449e740ed9712"
492508
url: "https://pub.dev"
493509
source: hosted
494-
version: "7.15.0"
510+
version: "7.16.0"
495511
objective_c:
496512
dependency: transitive
497513
description:
@@ -500,6 +516,14 @@ packages:
500516
url: "https://pub.dev"
501517
source: hosted
502518
version: "9.3.0"
519+
package_config:
520+
dependency: transitive
521+
description:
522+
name: package_config
523+
sha256: f096c55ebb7deb7e384101542bfba8c52696c1b56fca2eb62827989ef2353bbc
524+
url: "https://pub.dev"
525+
source: hosted
526+
version: "2.2.0"
503527
path:
504528
dependency: transitive
505529
description:
@@ -520,10 +544,10 @@ packages:
520544
dependency: transitive
521545
description:
522546
name: path_provider_android
523-
sha256: "149441ca6e4f38193b2e004c0ca6376a3d11f51fa5a77552d8bd4d2b0c0912ba"
547+
sha256: "69cbd515a62b94d32a7944f086b2f82b4ac40a1d45bebfc00813a430ab2dabcd"
524548
url: "https://pub.dev"
525549
source: hosted
526-
version: "2.2.23"
550+
version: "2.3.1"
527551
path_provider_foundation:
528552
dependency: transitive
529553
description:

lib/metro/commands/make/key.dart

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ class _MakeKeyCommand extends NyCustomCommand {
2020
CommandBuilder builder(CommandBuilder command) {
2121
command.addFlag("help",
2222
abbr: "h", help: 'Generates a secure APP_KEY for your .env file');
23-
command.addFlag("force",
24-
abbr: "f", help: "Overwrites existing APP_KEY if present.");
2523
command.addOption("file",
2624
abbr: "e", help: "The .env file to update.", defaultValue: ".env");
2725
return command;
@@ -30,7 +28,6 @@ class _MakeKeyCommand extends NyCustomCommand {
3028
@override
3129
Future<void> handle(CommandResult result) async {
3230
final envFile = result.getString("file", defaultValue: ".env")!;
33-
final hasForceFlag = result.hasForceFlag;
3431

3532
// Generate a 32-character secure key
3633
final appKey = _generateSecureKey(32);
@@ -42,15 +39,9 @@ class _MakeKeyCommand extends NyCustomCommand {
4239
if (await file.exists()) {
4340
envContent = await file.readAsString();
4441

45-
// Check if APP_KEY already exists
42+
// Replace existing APP_KEY if present
4643
final appKeyRegex = RegExp(r'^APP_KEY=.*$', multiLine: true);
4744
if (appKeyRegex.hasMatch(envContent)) {
48-
if (!hasForceFlag) {
49-
warning('APP_KEY already exists in $envFile');
50-
info('Use --force to overwrite the existing key.');
51-
return;
52-
}
53-
// Replace existing APP_KEY
5445
envContent = envContent.replaceAll(appKeyRegex, 'APP_KEY=$appKey');
5546
await file.writeAsString(envContent);
5647
success('APP_KEY updated in $envFile');

lib/metro/stubs/page_w_controller_stub.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class _${className.pascalCase}PageState extends NyPage<${className.pascalCase}Pa
2424
2525
};
2626
27+
@override
28+
bool get stateManaged => false;
29+
2730
@override
2831
Widget view(BuildContext context) {
2932
return Scaffold(

pubspec.lock

Lines changed: 32 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ packages:
55
dependency: transitive
66
description:
77
name: app_badge_plus
8-
sha256: ce3d8fdfcf39a1552cc8dea499ee3b4a86273ccf04c8de29e7960c739b045ae6
8+
sha256: "81130fe6150ce2a1f12af4bb7d6f646496d284d5f87f2c121af8258a453bbb3f"
99
url: "https://pub.dev"
1010
source: hosted
11-
version: "1.2.7"
11+
version: "1.2.8"
1212
args:
1313
dependency: "direct main"
1414
description:
@@ -85,10 +85,10 @@ packages:
8585
dependency: transitive
8686
description:
8787
name: connectivity_plus
88-
sha256: b8fe52979ff12432ecf8f0abf6ff70410b1bb734be1c9e4f2f86807ad7166c79
88+
sha256: "62ffa266d9a23b79fb3fcbc206afc00bb979417ba57b1324c546b5aab95ba057"
8989
url: "https://pub.dev"
9090
source: hosted
91-
version: "7.1.0"
91+
version: "7.1.1"
9292
connectivity_plus_platform_interface:
9393
dependency: transitive
9494
description:
@@ -389,6 +389,22 @@ packages:
389389
url: "https://pub.dev"
390390
source: hosted
391391
version: "0.20.2"
392+
jni:
393+
dependency: transitive
394+
description:
395+
name: jni
396+
sha256: c2230682d5bc2362c1c9e8d3c7f406d9cbba23ab3f2e203a025dd47e0fb2e68f
397+
url: "https://pub.dev"
398+
source: hosted
399+
version: "1.0.0"
400+
jni_flutter:
401+
dependency: transitive
402+
description:
403+
name: jni_flutter
404+
sha256: "8b59e590786050b1cd866677dddaf76b1ade5e7bc751abe04b86e84d379d3ba6"
405+
url: "https://pub.dev"
406+
source: hosted
407+
version: "1.0.1"
392408
json_annotation:
393409
dependency: transitive
394410
description:
@@ -505,10 +521,10 @@ packages:
505521
dependency: "direct main"
506522
description:
507523
name: nylo_support
508-
sha256: ebf09b1873d7dc84217e1917a91e23e9e93cff0f1326131ecc57866c5ceed170
524+
sha256: "929d72b983209b35150659853cd860c5c9fc3f82e9e8b272403449e740ed9712"
509525
url: "https://pub.dev"
510526
source: hosted
511-
version: "7.15.0"
527+
version: "7.16.0"
512528
objective_c:
513529
dependency: transitive
514530
description:
@@ -517,6 +533,14 @@ packages:
517533
url: "https://pub.dev"
518534
source: hosted
519535
version: "9.3.0"
536+
package_config:
537+
dependency: transitive
538+
description:
539+
name: package_config
540+
sha256: f096c55ebb7deb7e384101542bfba8c52696c1b56fca2eb62827989ef2353bbc
541+
url: "https://pub.dev"
542+
source: hosted
543+
version: "2.2.0"
520544
path:
521545
dependency: transitive
522546
description:
@@ -537,10 +561,10 @@ packages:
537561
dependency: transitive
538562
description:
539563
name: path_provider_android
540-
sha256: "149441ca6e4f38193b2e004c0ca6376a3d11f51fa5a77552d8bd4d2b0c0912ba"
564+
sha256: "69cbd515a62b94d32a7944f086b2f82b4ac40a1d45bebfc00813a430ab2dabcd"
541565
url: "https://pub.dev"
542566
source: hosted
543-
version: "2.2.23"
567+
version: "2.3.1"
544568
path_provider_foundation:
545569
dependency: transitive
546570
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.5
3+
version: 7.1.6
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.15.0
19+
nylo_support: ^7.16.0
2020
skeletonizer: ^2.1.3
2121
collection: ^1.19.1
2222
args: ^2.7.0

0 commit comments

Comments
 (0)