Skip to content

Releases: spryker/dynamic-entity

1.21.1

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 08 Sep 13:34

Included commits: 1.21.0...1.21.1

Fixes

  • Fixed DynamicEntityMapper to skip dynamic entities missing the parent field value instead of triggering a type error, preventing failures when relations reference an optional entity.

1.21.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 19 May 06:44

Included commits: 1.20.2...1.21.0

Improvements

  • Adjusted DynamicEntityRepository::getDynamicEntityConfigurationCollection() to eagerly load related dynamic entity configuration relations, improving performance by reducing the number of database queries.

1.20.2

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 05 May 15:57

Included commits: 1.20.1...1.20.2

Fixes

  • Introduced savepoint-based error handling in DynamicEntityEntityManager::deleteDynamicEntity() to prevent a failed delete operation from aborting the entire transaction in PostgreSQL, allowing remaining deletes in the same request to proceed.

1.20.1

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 04 May 09:54

Included commits: 1.20.0...1.20.1

Fixes

  • Fixed DynamicEntityEntityManager::deleteDynamicEntity() to continue processing all records after an error instead of returning early, ensuring all deletion errors are properly collected.
  • Introduced NoDefaultValueExceptionToErrorMapper to handle MySQL "Field doesn't have a default value" errors and return structured error responses instead of unhandled exceptions.

1.20.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 22 Apr 15:28

Included commits: 1.19.2...1.20.0

Improvements

  • Introduced DynamicEntityIndexer::resetCache() to allow static cache invalidation between operations.

Fixes

  • Fixed the installer, entity manager, and field mapping validator to correctly handle multiple child relations sharing the same table alias instead of overwriting previous entries.
  • Fixed query filtering and entity mapping to resolve API visible field names to actual database column names before applying conditions or writing values.
  • Fixed dynamic entity configuration column detail provider to use modifiedToArray() so that only explicitly set values are propagated when merging field definitions.
  • Fixed identifier creatability check to compare against the visible field name rather than the internal field name, ensuring correct constraint evaluation.

1.19.2

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 07 Oct 08:35

Included commits: 1.19.1...1.19.2

Fixes

  • Adjusted DynamicEntityFacade::install() to work properly with configuration examples and description.

1.19.1

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 18 Aug 14:03

Included commits: 1.19.0...1.19.1

Improvements

  • Adjusted DynamicEntityInstaller::install() to solve the problem with the configuration import.

1.19.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 04 Aug 04:36

Included commits: 1.18.0...1.19.0

Improvements

  • Added spryker/symfony module to dependencies.
  • Added DynamicEntityFieldDefinition.isEnabled transfer field with description.
  • Added DynamicEntityFieldDefinition.description transfer field with description.
  • Added DynamicEntityFieldDefinition.examples transfer field with description.
  • Added DynamicEntityFieldDefinition.enumValues transfer field with description.
  • Updated spy_dynamic_entity_configuration.table_alias column.
  • Updated spy_dynamic_entity_configuration.table_name column.
  • Updated spy_dynamic_entity_configuration.is_active column.
  • Updated spy_dynamic_entity_configuration.definition column.
  • Updated spy_dynamic_entity_configuration.type column.
  • Updated spy_dynamic_entity_configuration_relation.name column.
  • Updated spy_dynamic_entity_configuration_relation.is_editable column.
  • Updated spy_dynamic_entity_configuration_relation_field_mapping.child_field_name column.
  • Updated spy_dynamic_entity_configuration_relation_field_mapping.parent_field_name column.

1.18.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 28 Jan 09:51

Included commits: 1.17.0...1.18.0

Improvements

  • Adjusted DynamicEntityFacadeInterface::createDynamicEntityCollection() and DynamicEntityFacadeInterface:: updateDynamicEntityCollection() for better performance in butch operations.

1.17.0

Choose a tag to compare

@spryker-release-bot spryker-release-bot released this 26 Dec 14:30

Included commits: 1.16.0...1.17.0

Improvements

  • Adjusted DynamicEntityFacade::updateDynamicEntityCollection() so now it properly creates child relation entities when identifier is not provided.