All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, adheres to Semantic Versioning, and is generated by Changie.
- The provider-level environment field is now deprecated. Use the environment field on individual resources instead.
- Updated go mod and dependencies
- Add alias support
- additional properties in editor_interface
- Only retry 400 Bad Request errors that contain 'not in ready state' in the response body
- Fixed setting read state on role resource
- Fixed handling of basic auth headers when not set in state
- Add support for default_value with array of symbols
- Added some additional warnings when using space.default_locale
- Added setting of X-Contentful-Organization header on space resource
- Fixed typo in editor_interface controls datePicker
- Fixed issues with updating sidebar and editor on editor_interface resource
- Improved error handling when multiple validation rules are provided in the same object
- Improved permission handling of role resource
- Add GitHub Copilot instructions file with changie workflow guidelines
- Fixed issue where
default_valuefor contenttype fields would appear as empty{}in Terraform plans.
The default_value attribute now works correctly with the nested syntax:
# For string values
default_value = {
string = {
"en-US" = "green"
"de-DE" = "grün"
}
}
# For boolean values
default_value = {
bool = {
"en-US" = true
}
}Added better documentation and examples showing the correct usage patterns.
- Fixed issue where
default_valuefor contenttype fields would appear as empty{}in Terraform plans.
The default_value attribute now works correctly with the nested syntax:
# For string values
default_value = {
string = {
"en-US" = "green"
"de-DE" = "grün"
}
}
# For boolean values
default_value = {
bool = {
"en-US" = true
}
}Added better documentation and examples showing the correct usage patterns.
- Content type display field is now optional to match contentful
- Fixed error thrown when no description is provided for preview environment resource
- Fix setting contenttype.display_field to empty breaking apply
- Added editors as option to editor_interface resource
- Add app event subscriptions resource
- Fixed import of content type where a field has range validation
- Add support to create a role
- Added contenttype support for validations on embedded RichText nodes
- Added mapping of size validation field on contenttype resource
- additional test for validation on RichText
- Fixed contenttype validation interpretation of slice nill pointer instead of empty slice
- Added contenttype check for existing resources when creating
- Added better error logging to include details and descriptive message
- Added integration testing setup
- Added active and filters fields to webhook resource
- Resolve nil error on widget namespace in
resource_editor_interface
- Add
contentful_preview_environmentto set preview environments
- Add
deletion_protectionto prevent deleting a contentful space
- Resolve issue updating state for webhook and locales
- Add datasource for retrieving space information
- Move the contentful_contenttype logic around editor interface to a new resource contentful_editor_interface
- Resolve release workflow issues
- Merge all improvements/fixes and new features from the flaconi version
- Implement a new SDK based on a custom written OpenAPI spec to make future maintance easier and unify all calls
- Migrate all resources to the terraform-plugin-framework sdk
- Resolve issues with the contentful_asset resource, merging the detail block as direct attribues (backwards incompatible)
- added for content types unique validation
- switch to latest version of the contentful go lib
- environment for content type is now required
- Add support for preview api keys
- Use flaconi fork of contentful lib
- Replace labd with flaconi in the whole code base
- Use for app installation new client version
- Add support for app_installations
- Add support app configuration in the organization
- Fixed wrong behaviour when fields where sorted
- Fixed field type validation to allow new fields in the middle
- Prevent field type change with error
- Fixed issue that default values are not set
- Added support for bulk_editing and tracking_field_id in settings; removed call to get contentful environment
- Extended ContentType to support enviroments, more validations, locales in environments
- use action correct
- Added support for richtext
- Added better error handling
- Added option to set different base url for API
- Fixed documentation
- Updated dependencies
- Updated to go 1.21, updated documentation and metadata files
- Fixed a bug causing validations in fields to not be saved properly to the models
Re-release of 0.1.0 to fix registry.
Create, update and delete Contentful resources:
- Spaces
- Content Types
- API Keys
- Webhooks
- Locales
- Environments
- Entries
- Assets
Initial release