Skip to content

Commit

Permalink
v5.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
agordn52 committed Aug 21, 2023
1 parent 30d06fb commit a8c2316
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
@@ -1,3 +1,7 @@
## [5.2.1] - 2023-08-21

* Update pubspec.yaml

## [5.2.0] - 2023-08-21

* Add `useUndefinedResponse` to `network` helper. This will allow you to catch the response when your decoder.dart file fails to return the correct type. To listen to undefinedResponse's, call `onUndefinedResponse(dynamic data, Response response, BuildContext? context)` in your ApiService.
Expand Down Expand Up @@ -98,7 +102,7 @@
* Metro will automatically add Events to the config/events.dart file
* Metro will automatically add ApiServices and Models to the config/decoders.dart file
* Metro will automatically add Providers to the config/providers.dart file
* Create Api Services from Postman collections using Metro, read more [here](http://nylo.dev/docs/5.x/metro#make-api-service-using-postman)
* Create Api Services from Postman collections using Metro, read more [here](https://nylo.dev/docs/5.x/metro#make-api-service-using-postman)
* `NyBaseApiService` class has new parameters to add a `bearerToken` or `headers` on each request
* Update stubs
* Copyright year updated
Expand Down
4 changes: 2 additions & 2 deletions bin/main.dart
@@ -1,7 +1,7 @@
import 'dart:io';

import 'package:nylo_framework/metro/menu.dart';
import 'package:nylo_framework/metro/metro.dart' as metro_cli;
import '../lib/metro/menu.dart';
import '../lib/metro/metro.dart' as metro_cli;
import 'package:nylo_support/metro/metro_service.dart';

void main(List<String> arguments) async {
Expand Down
2 changes: 1 addition & 1 deletion lib/nylo_framework.dart
Expand Up @@ -34,4 +34,4 @@ export 'package:nylo_support/widgets/ny_list_view.dart';
export 'package:dio/dio.dart';

/// Nylo version
const String nyloVersion = 'v5.2.0';
const String nyloVersion = 'v5.2.1';
11 changes: 8 additions & 3 deletions pubspec.yaml
@@ -1,10 +1,15 @@
name: nylo_framework
description: Micro-framework for Flutter that's built to simplify app development for Flutter projects.
version: 5.2.0
version: 5.2.1
homepage: https://nylo.dev
repository: https://github.com/nylo-core/framework
repository: https://github.com/nylo-core/framework/tree/5.x
issue_tracker: https://github.com/nylo-core/framework/issues
documentation: https://github.com/nylo-core/framework
funding:
- https://github.com/sponsors/agordn52
topics:
- micro-framework
- framework

environment:
sdk: '>=2.14.0 <4.0.0'
Expand All @@ -15,7 +20,7 @@ dependencies:
nylo_support: ^5.5.0
theme_provider: ^0.6.0
page_transition: ^2.0.9
collection: ^1.17.2
collection: ^1.17.1
args: ^2.4.2
recase: ^4.1.0
flutter:
Expand Down

0 comments on commit a8c2316

Please sign in to comment.