From 920f10fe4d4e411aeb406a7649c2f8086820e144 Mon Sep 17 00:00:00 2001 From: Chris Tsang Date: Fri, 10 May 2024 09:58:15 +0100 Subject: [PATCH] Update CHANGELOG.md --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a43c0f1..f363d754 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,19 @@ 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.0.0-rc.5 - Pending + +### New Features + +* Introduce `PrimaryKeyArity` with `ARITY` constant https://github.com/SeaQL/sea-orm/pull/2185 +```rust +fn get_arity_of() -> usize { + E::PrimaryKey::iter().count() // before; runtime + <::ValueType as PrimaryKeyArity>::ARITY // now; compile-time +} +``` +* Associate `ActiveModel` to `EntityTrait` https://github.com/SeaQL/sea-orm/pull/2186 + ## 1.0.0-rc.4 - 2024-05-13 ### Enhancements