Skip to content

Release 3.0.0#32

Merged
picamator merged 22 commits intomainfrom
development
Sep 14, 2025
Merged

Release 3.0.0#32
picamator merged 22 commits intomainfrom
development

Conversation

@picamator
Copy link
Copy Markdown
Owner

@picamator picamator commented Sep 14, 2025

Release 3.0.0

Breaking Changes

  1. Removed deprecated Transfer Object Interface method Picamator\TransferObject\Transfer\TransferInterface::toFilterArray(). Use trait Picamator\TransferObject\Transfer\FilterArrayTrait instead.
  2. Removed Transfer Object meta constant *_DATA_NAME
  3. Added new reserved property _reflectionObjectReference
  4. Requred symfony ^7.3 components instead of ^7.0

Action Required:

  1. Check if the definition file uses reserved property _reflectionObjectReference. Rename the propoerty if it is used.
  2. Regenerate Transfer Objects

Improvements

Transfer Object:

  1. Refactored Picamator\TransferObject\Transfer\AbstractTransfer methods initData, getIterator, fromArray, and toArray
  2. Used WeakReference to cache objects reflection on ConstantAttributeTrait and TransferAdapterTrait

Tests:

  1. Improved code coverage
  2. Added PHPStan and CodeSniffer rules

Type of Change

Please delete options that are not relevant:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

Checklist

  • My code follows the style guidelines of this project.
  • I have performed a self-review of my code.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.
  • I have updated the documentation to reflect my changes (if applicable).
  • I agree to follow this project's Code of Conduct.

@picamator picamator merged commit b1da9b2 into main Sep 14, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant