-
Notifications
You must be signed in to change notification settings - Fork 13
Release v3.4.0 #407
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release v3.4.0 #407
Conversation
…primary key Fix: Fix custom class mapping for classes with just reusables schemas and primary key
Fix custom class mapping for classes with just reusables schemas and primary key
DOCS: Migrate pages to widgets
Upgrade: Upgrade to XbyK 30.4.0
Upgrade to XbyK 30.4.0
Chore: Fix formatting
Fix formatting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR prepares the v3.4.0 release by introducing several enhancements and improvements related to form field patching, reusable schema management, and migration documentation. Key changes include:
- Adding an optional excludedFields parameter to PatchFields in the CmsClass patcher.
- Updating README documentation to describe page-to-widget migration functionality.
- Modifying methods in ReusableSchemaService, ClassMappingProvider, and CmsClassMapper to return and propagate schema GUIDs, and updating legacy field mapping.
Reviewed Changes
Copilot reviewed 7 out of 10 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| Migration.Tool.KXP.Api/Services/CmsClass/FormDefinitionPatcher.cs | Introduces an optional excludedFields parameter to skip specified fields during patching. |
| Migration.Tool.Extensions/README.md | Adds documentation for page-to-widget migrations. |
| Migration.Tool.CLI/README.md | Updates CLI README to mention the new custom migrations for widget content. |
| KVA/Migration.Tool.Source/Services/ReusableSchemaService.cs | Changes AddReusableSchemaToDataClass to return the schema GUID. |
| KVA/Migration.Tool.Source/Providers/ClassMappingProvider.cs | Adds reusableSchemas tracking and a helper method for retrieving form element names. |
| KVA/Migration.Tool.Source/Mappers/CmsClassMapper.cs | Updates PatchDataClassInfo and legacy field mapping to leverage the new reusableSchemas dictionary. |
| KVA/Migration.Tool.Source/Helpers/FormDefinitionHelper.cs | Updates MapFormDefinitionFields to pass excluded fields to the patcher. |
Files not reviewed (3)
- Migration.Tool.Common/Migration.Tool.Common.csproj: Language not supported
- Migration.Tool.KXP.Api/Migration.Tool.KXP.Api.csproj: Language not supported
- Migration.Tool.KXP.Extensions/Migration.Tool.KXP.Extensions.csproj: Language not supported
Comments suppressed due to low confidence (1)
KVA/Migration.Tool.Source/Mappers/CmsClassMapper.cs:359
- [nitpick] Consider using ToLowerInvariant() instead of ToLower() to ensure consistent behavior regardless of the current culture.
Guid = GuidHelper.CreateFieldGuid("${mapping.LegacyFieldName.ToLower()}|${newClassName}"),
Release v3.4.0