Releases: contentful/contentful.net
Releases · contentful/contentful.net
Version 2.1.0
This release adds support for the new environments feature.
Version 2.0.3
- Adds support for the
links_to_entry
andlinks_to_asset
query string parameters.
Version 2.0.2
- Fixes an issue where
UpdateEntryForLocale
did not add fields with null values in Contentful.
Version 2.0.0
This release introduces a number of breaking changes that are important to be aware of before upgrading.
Breaking changes
- There is now a new configuration option for your preview API key called
PreviewApiKey
. If you are using the preview API you need to move the api key from theDeliveryApiKey
setting to thePreviewApiKey
setting instead. - All methods have had the
Async
suffix removed. For exampleGetEntriesAsync
is nowGetEntries
. All methods are stillasync
, however. - The
GetEntries<T>
method of theContentfulClient
no longer supportsEntry<T>
as an argument. Instead you should use your classT
directly. If you needSystemProperties
you can just add a property directly to your custom class, e.g.public SystemProperties Sys { get; set; }
- Fixed the faulty capitalization of the
Webhook
methods. Previously they were all namedWebHook
. For exampleGetWebHookAsync
is nowGetWebhook
.
Non breaking changes
- When using an
IContentTypeResolver
and serializing collection properties you no longer need to set theTypeNameHandling.All
on theSerializerSettings
of theIContentfulClient
. This is handled automatically. - Fixed a bug where in certain circumstances
Array
types were not deserialized correctly although other generic Enumerables were.
Version 1.5.1
- Adds a new, easier to use, constructor to the reference class.
Version 1.5.0
- Adds a new model for reference fields. Useful when you create or update existing entries.
Version 1.4.1
- Adds a new method to process an asset and wait until processing has completed. Fixing #119
Version 1.4.0
- Adds a method to create an asset with a randomized id.
Version 1.3.1
- Fix for issue when self referencing content in certain circumstances resulted in duplicate entry ids.
Version 1.3.0
- Retargets a lower version of NetStandard (1.4 and 1.6) to increase the level of compatability of the packages.