From 907a1870f51ff0bc42f9c5a9b97109963cca53fc Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Fri, 25 Oct 2024 11:09:49 +0100 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 90d9aba0..02e2b695 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,30 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## 1.1.1 - pending + +### + +* [sea-orm-macros] `impl From for ActiveModel` instead of `impl From<::Model> for ActiveModel`. +Now the following can compile: +```rust +use sea_orm::{tests_cfg::cake, Set}; + +struct Cake { + id: i32, + name: String, +} + +impl From for cake::ActiveModel { + fn from(value: Cake) -> Self { + Self { + id: Set(value.id), + name: Set(value.name), + } + } +} +``` + ## 1.1.0 - 2024-10-15 ### Versions