Releases: dd4t/DD4T.Model
Releases · dd4t/DD4T.Model
2.6.1: Merge pull request #56 from dd4t/develop
- Upgraded to NewtonSoft 13.0.3
- Added public static property OverrideMaxDepth to the JSONSerializerService to allow max deserialization depth to be configured from templates (it could already be set via the appSettings, but this is not possible in a Tridion template)
2.6
- Issue 44: Fixed bug with deserialization of keywords (see https://tridion.stackexchange.com/questions/21828/upgrade-to-tridion-9-5-and-net-dd4t-2-5-producing-error-with-ikeyword-on-dynami)
- Issue 47: Introduced setting DD4T.JsonSerializerMaxDepth to specify the maximum depth for NewtonSoft (see https://stackoverflow.com/questions/68576787/newtonsoft-getting-the-readers-maxdepth-of-64-has-been-exceeded-error-while)
- Upgraded to NewtonSoft 13.0.1
Note: if, after upgrading to this version of DD4T, you encounter the error 'Newtonsoft: Getting "The reader's MaxDepth of 64 has been exceeded" error while parse json string into object', you can fix it by adding an appSetting to your
Web.config with the key DD4T.JsonSerializerMaxDepth and a higher value than 64. The required value depends on the depth of your content. Component links, embedded fields and metadata can all add to the depth.
2.5.1
Models are now serializable so they can be persisted in a distributed cache, on a file system, are any other medium that requires serialization.
2.5
Merge pull request #41 from dd4t/release/2.5 Release/2.5
2.2.3
Supports regions on pages (requires Tridion 9)
2.2.2
Update appveyor.yml
2.2.1
2.2.0
2.1.0
2.0.7
Release 2.0.7