Skip to content

Commit aed1696

Browse files
agordn52Anthony Gordon
authored andcommitted
chore(release): bump version to 7.1.18
1 parent fa9b35b commit aed1696

8 files changed

Lines changed: 213 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## [7.1.18] - 2026-05-21
2+
3+
### Added
4+
* New `make:deep_link_provider` Metro command to scaffold a deep link provider pre-wired for Nylo's deep-link capture
5+
6+
### Changed
7+
* Bump `nylo_support` dependency from `^7.24.2` to `^7.26.0`
8+
* Raise minimum environment constraints to Dart `^3.10.7` and Flutter `>=3.38.4`
9+
* Relax `collection` dependency constraint from `^1.19.1` to `^1.18.0`
10+
111
## [7.1.17] - 2026-05-10
212

313
### Changed

example/pubspec.lock

Lines changed: 47 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,38 @@ packages:
99
url: "https://pub.dev"
1010
source: hosted
1111
version: "1.2.10"
12+
app_links:
13+
dependency: transitive
14+
description:
15+
name: app_links
16+
sha256: "5f88447519add627fe1cbcab4fd1da3d4fed15b9baf29f28b22535c95ecee3e8"
17+
url: "https://pub.dev"
18+
source: hosted
19+
version: "6.4.1"
20+
app_links_linux:
21+
dependency: transitive
22+
description:
23+
name: app_links_linux
24+
sha256: f5f7173a78609f3dfd4c2ff2c95bd559ab43c80a87dc6a095921d96c05688c81
25+
url: "https://pub.dev"
26+
source: hosted
27+
version: "1.0.3"
28+
app_links_platform_interface:
29+
dependency: transitive
30+
description:
31+
name: app_links_platform_interface
32+
sha256: "05f5379577c513b534a29ddea68176a4d4802c46180ee8e2e966257158772a3f"
33+
url: "https://pub.dev"
34+
source: hosted
35+
version: "2.0.2"
36+
app_links_web:
37+
dependency: transitive
38+
description:
39+
name: app_links_web
40+
sha256: af060ed76183f9e2b87510a9480e56a5352b6c249778d07bd2c95fc35632a555
41+
url: "https://pub.dev"
42+
source: hosted
43+
version: "1.0.4"
1244
args:
1345
dependency: transitive
1446
description:
@@ -349,6 +381,14 @@ packages:
349381
url: "https://pub.dev"
350382
source: hosted
351383
version: "2.1.3"
384+
gtk:
385+
dependency: transitive
386+
description:
387+
name: gtk
388+
sha256: "4ff85b2a16724029dd9e5bbb5a94b6918f9973f74ba571c949d2002801879cf5"
389+
url: "https://pub.dev"
390+
source: hosted
391+
version: "2.2.0"
352392
hooks:
353393
dependency: transitive
354394
description:
@@ -465,10 +505,10 @@ packages:
465505
dependency: transitive
466506
description:
467507
name: meta
468-
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
508+
sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349"
469509
url: "https://pub.dev"
470510
source: hosted
471-
version: "1.17.0"
511+
version: "1.18.0"
472512
mime:
473513
dependency: transitive
474514
description:
@@ -499,15 +539,15 @@ packages:
499539
path: ".."
500540
relative: true
501541
source: path
502-
version: "7.1.16"
542+
version: "7.1.18"
503543
nylo_support:
504544
dependency: transitive
505545
description:
506546
name: nylo_support
507-
sha256: "6479188adc0aaf01d3411dcefb89b396cfe7b50411eaf4d36ce48d2da3c5a489"
547+
sha256: cff8e94eed7ab0777298e094b8beea77e5bd2b92d0f1d24923da528c3c519ab8
508548
url: "https://pub.dev"
509549
source: hosted
510-
version: "7.24.2"
550+
version: "7.26.0"
511551
objective_c:
512552
dependency: transitive
513553
description:
@@ -797,10 +837,10 @@ packages:
797837
dependency: transitive
798838
description:
799839
name: test_api
800-
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
840+
sha256: "949a932224383300f01be9221c39180316445ecb8e7547f70a41a35bf421fb9e"
801841
url: "https://pub.dev"
802842
source: hosted
803-
version: "0.7.10"
843+
version: "0.7.11"
804844
timezone:
805845
dependency: transitive
806846
description:

lib/metro/commands/built_in_commands.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import 'make/button.dart' as make_button;
55
import 'make/command.dart' as make_command;
66
import 'make/config.dart' as make_config;
77
import 'make/controller.dart' as make_controller;
8+
import 'make/deep_link_provider.dart' as make_deep_link_provider;
89
import 'make/env.dart' as make_env;
910
import 'make/event.dart' as make_event;
1011
import 'make/form.dart' as make_form;
@@ -28,6 +29,7 @@ final Map<String, Future<void> Function(List<String>)> builtInCommands = {
2829
'make:command': make_command.main,
2930
'make:config': make_config.main,
3031
'make:controller': make_controller.main,
32+
'make:deep_link_provider': make_deep_link_provider.main,
3133
'make:env': make_env.main,
3234
'make:event': make_event.main,
3335
'make:form': make_form.main,
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
import '/metro/ny_cli.dart';
2+
import '/metro/stubs/deep_link_provider_stub.dart';
3+
import 'package:recase/recase.dart';
4+
5+
/// Entry point for the make:deep_link_provider command.
6+
Future<void> main(List<String> arguments) async =>
7+
await _MakeDeepLinkProviderCommand(arguments).run();
8+
9+
/// Make Deep Link Provider Command
10+
///
11+
/// Usage:
12+
/// [From Terminal] metro make:deep_link_provider
13+
/// [From Terminal] metro make:deep_link_provider my_deep_link
14+
class _MakeDeepLinkProviderCommand extends NyCustomCommand {
15+
_MakeDeepLinkProviderCommand(super.arguments);
16+
17+
@override
18+
CommandBuilder builder(CommandBuilder command) {
19+
command.addFlag("help", abbr: "h", help: "e.g. make:deep_link_provider");
20+
command.addFlag(
21+
"force",
22+
abbr: "f",
23+
help: "Creates a new deep link provider even if it already exists.",
24+
);
25+
26+
return command;
27+
}
28+
29+
@override
30+
Future<void> handle(CommandResult result) async {
31+
// Default to "deep_link" so `metro make:deep_link_provider` with no args
32+
// produces lib/app/providers/deep_link_provider.dart -> DeepLinkProvider.
33+
final String providerName = result.rest.isNotEmpty
34+
? result.rest.first
35+
: 'deep_link';
36+
37+
MetroProjectFile projectFile = MetroService.createMetroProjectFile(
38+
providerName,
39+
prefix: RegExp(r'(_?provider)'),
40+
);
41+
42+
String cleanProviderName = projectFile.name.snakeCase.replaceAll(
43+
RegExp(r'(_?provider)'),
44+
"",
45+
);
46+
47+
ReCase classReCase = ReCase(cleanProviderName);
48+
49+
String stub = deepLinkProviderStub(classReCase);
50+
await MetroService.makeProvider(
51+
classReCase.snakeCase,
52+
stub,
53+
forceCreate: result.hasForceFlag,
54+
addToConfig: true,
55+
creationPath: projectFile.creationPath,
56+
);
57+
}
58+
}
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
import 'package:recase/recase.dart';
2+
3+
/// This stub is used to create a Deep Link Provider class in the
4+
/// /app/providers/ directory. The provider enables Nylo's deep-link
5+
/// capture and gives a starting point for intercepting incoming URIs.
6+
String deepLinkProviderStub(ReCase rc) =>
7+
'''
8+
import 'package:nylo_framework/nylo_framework.dart';
9+
10+
class ${rc.pascalCase}Provider implements NyProvider {
11+
12+
@override
13+
setup(Nylo nylo) async {
14+
// Enable platform deep-link capture (Android App Links, iOS Universal
15+
// Links, custom URL schemes, and web URLs).
16+
//
17+
// Pass a [fallbackRoute] to land somewhere sensible when an incoming URI
18+
// doesn't match a registered route:
19+
//
20+
// nylo.useDeepLinks(fallbackRoute: HomePage.path);
21+
nylo.useDeepLinks();
22+
23+
// Optional: intercept every incoming URI before Nylo routes it.
24+
// Return `true` to let Nylo route automatically, or `false` to handle
25+
// the URI yourself.
26+
//
27+
// nylo.onIncomingLink((Uri uri) async {
28+
// // e.g. require auth on /account/* routes
29+
// // if (uri.path.startsWith('/account') && !await isLoggedIn()) {
30+
// // routeTo(LoginPage.path);
31+
// // return false;
32+
// // }
33+
// return true;
34+
// });
35+
36+
return nylo;
37+
}
38+
39+
@override
40+
boot(Nylo nylo) async {
41+
// This method is called after all providers are setup.
42+
}
43+
}
44+
''';

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.17';
18+
const String nyloVersion = 'v7.1.18';

pubspec.lock

Lines changed: 46 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,38 @@ packages:
99
url: "https://pub.dev"
1010
source: hosted
1111
version: "1.2.10"
12+
app_links:
13+
dependency: transitive
14+
description:
15+
name: app_links
16+
sha256: "5f88447519add627fe1cbcab4fd1da3d4fed15b9baf29f28b22535c95ecee3e8"
17+
url: "https://pub.dev"
18+
source: hosted
19+
version: "6.4.1"
20+
app_links_linux:
21+
dependency: transitive
22+
description:
23+
name: app_links_linux
24+
sha256: f5f7173a78609f3dfd4c2ff2c95bd559ab43c80a87dc6a095921d96c05688c81
25+
url: "https://pub.dev"
26+
source: hosted
27+
version: "1.0.3"
28+
app_links_platform_interface:
29+
dependency: transitive
30+
description:
31+
name: app_links_platform_interface
32+
sha256: "05f5379577c513b534a29ddea68176a4d4802c46180ee8e2e966257158772a3f"
33+
url: "https://pub.dev"
34+
source: hosted
35+
version: "2.0.2"
36+
app_links_web:
37+
dependency: transitive
38+
description:
39+
name: app_links_web
40+
sha256: af060ed76183f9e2b87510a9480e56a5352b6c249778d07bd2c95fc35632a555
41+
url: "https://pub.dev"
42+
source: hosted
43+
version: "1.0.4"
1244
args:
1345
dependency: "direct main"
1446
description:
@@ -357,6 +389,14 @@ packages:
357389
url: "https://pub.dev"
358390
source: hosted
359391
version: "2.1.3"
392+
gtk:
393+
dependency: transitive
394+
description:
395+
name: gtk
396+
sha256: "4ff85b2a16724029dd9e5bbb5a94b6918f9973f74ba571c949d2002801879cf5"
397+
url: "https://pub.dev"
398+
source: hosted
399+
version: "2.2.0"
360400
hooks:
361401
dependency: transitive
362402
description:
@@ -489,10 +529,10 @@ packages:
489529
dependency: transitive
490530
description:
491531
name: meta
492-
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
532+
sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349"
493533
url: "https://pub.dev"
494534
source: hosted
495-
version: "1.17.0"
535+
version: "1.18.0"
496536
mime:
497537
dependency: transitive
498538
description:
@@ -521,10 +561,10 @@ packages:
521561
dependency: "direct main"
522562
description:
523563
name: nylo_support
524-
sha256: "6479188adc0aaf01d3411dcefb89b396cfe7b50411eaf4d36ce48d2da3c5a489"
564+
sha256: cff8e94eed7ab0777298e094b8beea77e5bd2b92d0f1d24923da528c3c519ab8
525565
url: "https://pub.dev"
526566
source: hosted
527-
version: "7.24.2"
567+
version: "7.26.0"
528568
objective_c:
529569
dependency: transitive
530570
description:
@@ -822,10 +862,10 @@ packages:
822862
dependency: transitive
823863
description:
824864
name: test_api
825-
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
865+
sha256: "949a932224383300f01be9221c39180316445ecb8e7547f70a41a35bf421fb9e"
826866
url: "https://pub.dev"
827867
source: hosted
828-
version: "0.7.10"
868+
version: "0.7.11"
829869
timezone:
830870
dependency: transitive
831871
description:

pubspec.yaml

Lines changed: 5 additions & 5 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.17
3+
version: 7.1.18
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
@@ -12,13 +12,13 @@ topics:
1212
- framework
1313

1414
environment:
15-
sdk: '>=3.4.0 <4.0.0'
16-
flutter: ">=3.24.0"
15+
sdk: ^3.10.7
16+
flutter: ">=3.38.4"
1717

1818
dependencies:
19-
nylo_support: ^7.24.2
19+
nylo_support: ^7.26.0
2020
skeletonizer: ^2.1.3
21-
collection: ^1.19.1
21+
collection: ^1.18.0
2222
args: ^2.7.0
2323
flutter_local_notifications: ^21.0.0
2424
dio: ^5.9.2

0 commit comments

Comments
 (0)