From a00ec3f707a4936ef30cb057c9a83c1e36536313 Mon Sep 17 00:00:00 2001 From: rubenvanassche Date: Thu, 2 Mar 2023 11:10:28 +0000 Subject: [PATCH] Update CHANGELOG --- CHANGELOG.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21dac5a3..65e32a77 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ All notable changes to `laravel-data` will be documented in this file. +## 3.1.1 - 2023-03-02 + +- Add WithCastable attribute (#349) +- Quote non-standard object keys when transforming to Typescript (#367) + ## 3.1.0 - 2023-02-10 - Allow filling props from route parameters (#341) @@ -14,11 +19,16 @@ All notable changes to `laravel-data` will be documented in this file. - The validation logic is completely rewritten - - Add support for nested nullable and optional data objects +- - - Allow referencing other fields in validation attributes when the data is nested +- - - Allow referencing url parameters (and even model properties) in validation attributes +- - - Allow circular dependencies when validating data +- - - Add support for nested validation messages and attributes - +- - Package specific properties are renamed to avoid conflicts - Serialization logic updated to only serialize your properties - Prevent fatal error when passing a string containing only an integer to JSON Normalizer (#322)