From fd66793f3038e20b18ed04a40f08ce94b59c19c1 Mon Sep 17 00:00:00 2001 From: Javad Zobeidi Date: Sun, 19 Jan 2025 00:23:24 +0330 Subject: [PATCH] Update to 0.7.2 --- CHANGELOG.md | 17 ++++++++++++++--- pubspec.yaml | 4 ++-- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 03d858f..65b8d45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +## 0.7.2 + +- Add(Template engine): error handler `hasError('email')` , `{@ error('email') @}` +- Add(Template engine): session message handler `hasSession('email')` , `{@ session('success') @}` +- Add(Template engine): Cross-Site Request Forgery (`CSRF`) `{@ CSRF @}` , `{@ csrf_token() @}` +- Add `back()` to the response +- Refactor exception handling +- Refactor and sanitize route +- Add Basic Auth with session to the `Authenticate` +- chore: Upgraded project dependencies + ## 0.7.1 - Add delete Session to the helper @@ -39,8 +50,8 @@ ## 0.4.3 -- Fix nested json [#128](https://github.com/vania-dart/framework/issues/128) -- Add json to the request `request.json()` +- Fix nested JSON [#128](https://github.com/vania-dart/framework/issues/128) +- Add JSON to the request `request.json()` ## 0.4.2 @@ -56,7 +67,7 @@ ## 0.4.0 -- feat: a new field validation mechanism by [alirezat66](https://github.com/alirezat66) - [PR 99](https://github.com/vania-dart/framework/pull/99) +- Feat: a new field validation mechanism by [alirezat66](https://github.com/alirezat66) - [PR 99](https://github.com/vania-dart/framework/pull/99) - Fix nested route group [#98](https://github.com/vania-dart/framework/issues/98) - Fix middleware issue diff --git a/pubspec.yaml b/pubspec.yaml index 6668e1e..e0f23de 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: vania description: Fast, simple, and powerful backend framework for Dart built with -version: 0.7.1 +version: 0.7.2 homepage: https://vdart.dev repository: https://github.com/vania-dart/framework issue_tracker: https://github.com/vania-dart/framework/issues @@ -18,7 +18,7 @@ dependencies: crypto: ^3.0.6 dart_jsonwebtoken: ^2.14.2 eloquent: ^3.2.1 - mailer: ^6.3.0 + mailer: ^6.4.1 meta: ^1.16.0 mime: ^2.0.0 path: ^1.9.1