From 721755dc06dc666101732d95caa6d3a1fa2ce10f Mon Sep 17 00:00:00 2001 From: Elad Kaplan Date: Tue, 3 Dec 2024 08:49:19 +0200 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07bd299f2..1bd017b2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,30 @@ * fix: guard jwt error behind feature flag. [https://github.com/loco-rs/loco/pull/1032](https://github.com/loco-rs/loco/pull/1032) * fix: logger file_appender not using the seperated format setting. [https://github.com/loco-rs/loco/pull/1036](https://github.com/loco-rs/loco/pull/1036) * seed cli command. [https://github.com/loco-rs/loco/pull/1046](https://github.com/loco-rs/loco/pull/1046) +* Updated validator to 0.19. [https://github.com/loco-rs/loco/pull/993](https://github.com/loco-rs/loco/pull/993) +* Testing helpers: simplified function calls + adding html selector. [https://github.com/loco-rs/loco/pull/1047](https://github.com/loco-rs/loco/pull/1047) + ### Breaking Changes + #### Updated Import Paths + The testing module import path has been updated. To adapt your code, update imports from: + ```rust + use loco_rs::testing; + ``` + to: + ```rust + use testing::prelude::*; + ``` + #### Simplified Function Calls + Function calls within the testing module no longer require the testing:: prefix. Update your code accordingly. For example: + + Before: + ```rust + let boot = testing::boot_test::().await.unwrap(); + ``` + + After: + ```rust + let boot = boot_test::().await.unwrap(); + ``` ## v0.13.2