diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a8d682..16bbd45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## [5.1.0] - 2023-06-17 + +* Breaking change to validation. +* If you are using Nylo 5.x, do the following: + * Go to **config/validation_rules.dart**. + * Update 'final Map validationRules = {' + * to this 'final Map validationRules = {' + * Custom validation rules must now the follow the following format: + * "simple_password": (attribute) => SimplePassword(attribute), // example +* Pubspec.yaml dependency updates. + ## [5.0.6] - 2023-06-14 * Update Nylo framework version. diff --git a/example/pubspec.lock b/example/pubspec.lock index 715668a..cfa83e0 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -283,15 +283,15 @@ packages: path: ".." relative: true source: path - version: "5.0.5" + version: "5.0.6" nylo_support: dependency: transitive description: name: nylo_support - sha256: "4304c0bffabfa26592da637583e6f50215ac8d3dd6848a1c1e3b1e3d9b766702" + sha256: "7324d3fccb315619a28ce292d15f8ac1150aa6111faddbf1de991305fdf80479" url: "https://pub.dev" source: hosted - version: "5.2.2" + version: "5.3.0" package_config: dependency: transitive description: diff --git a/lib/nylo_framework.dart b/lib/nylo_framework.dart index f8db25d..f99b1a9 100644 --- a/lib/nylo_framework.dart +++ b/lib/nylo_framework.dart @@ -31,4 +31,4 @@ export 'package:page_transition/page_transition.dart'; export 'package:dio/dio.dart'; /// Nylo version -const String nyloVersion = 'v5.0.6'; +const String nyloVersion = 'v5.1.0'; diff --git a/pubspec.lock b/pubspec.lock index 9c559ed..a91bb58 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -281,10 +281,10 @@ packages: dependency: "direct main" description: name: nylo_support - sha256: "4304c0bffabfa26592da637583e6f50215ac8d3dd6848a1c1e3b1e3d9b766702" + sha256: "7324d3fccb315619a28ce292d15f8ac1150aa6111faddbf1de991305fdf80479" url: "https://pub.dev" source: hosted - version: "5.2.2" + version: "5.3.0" package_config: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 7a816db..fa635b3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: nylo_framework description: Micro-framework for Flutter that's built to simplify app development for Flutter projects. -version: 5.0.6 +version: 5.1.0 homepage: https://nylo.dev repository: https://github.com/nylo-core/framework issue_tracker: https://github.com/nylo-core/framework/issues @@ -12,7 +12,7 @@ environment: dependencies: dio: ^5.2.1+1 flutter_dotenv: ^5.1.0 - nylo_support: ^5.2.2 + nylo_support: ^5.3.0 theme_provider: ^0.6.0 json_dart_generator: ^1.1.0+1 page_transition: ^2.0.9