Releases: Ocramius/GeneratedHydrator
4.6.0
Release Notes for 4.6.0
Feature release (minor)
4.6.0
- Total issues resolved: 0
- Total pull requests resolved: 8
- Total contributors: 3
dependencies,enhancement
- 661: PHP 8.3 support thanks to @icarus94
dependencies,duplicate,enhancement,renovate
dependencies,renovate
- 654: Update actions/checkout action to v4 thanks to @renovate[bot]
- 652: Update dependency doctrine/coding-standard to v12 thanks to @renovate[bot]
renovate
- 646: Update dependency vimeo/psalm to ^5.4.0 thanks to @renovate[bot]
- 645: Update dependency doctrine/coding-standard to v11 thanks to @renovate[bot]
- 642: Lock file maintenance thanks to @renovate[bot]
bug,dependencies,enhancement
4.5.0
Release Notes for 4.5.0
Feature release (minor)
4.5.0
- Total issues resolved: 0
- Total pull requests resolved: 4
- Total contributors: 1
dependencies,enhancement,renovate
renovate
- 641: Update dependency vimeo/psalm to ^4.30.0 thanks to @renovate[bot]
- 640: Lock file maintenance thanks to @renovate[bot]
- 638: Configure Renovate thanks to @renovate[bot]
4.4.0
Release Notes for 4.4.0
Feature release (minor)
4.4.0
- Total issues resolved: 0
- Total pull requests resolved: 6
- Total contributors: 1
dependencies,php
- 577: Bump doctrine/coding-standard from 9.0.2 to 10.0.0 thanks to @dependabot[bot]
- 536: Bump doctrine/annotations from 1.13.2 to 1.13.3 thanks to @dependabot[bot]
- 517: Bump laminas/laminas-servicemanager from 3.11.2 to 3.12.0 thanks to @dependabot[bot]
- 396: Bump ocramius/code-generator-utils from 1.3.0 to 1.4.0 thanks to @dependabot[bot]
dependencies,github_actions
4.3.0
Release Notes for 4.3.0
Feature release (minor)
This release only upgrades dependencies
4.3.0
- Total issues resolved: 0
- Total pull requests resolved: 115
- Total contributors: 1
dependencies,php
- 395: Bump roave/infection-static-analysis-plugin from 1.13.0 to 1.14.0 thanks to @dependabot[bot]
- 394: Bump laminas/laminas-stdlib from 3.6.4 to 3.7.0 thanks to @dependabot[bot]
- 393: Bump vimeo/psalm from 4.17.0 to 4.18.1 thanks to @dependabot[bot]
- 392: Bump symfony/polyfill-php73 from 1.23.0 to 1.24.0 thanks to @dependabot[bot]
- 391: Bump symfony/polyfill-ctype from 1.23.0 to 1.24.0 thanks to @dependabot[bot]
- 390: Bump symfony/polyfill-mbstring from 1.23.1 to 1.24.0 thanks to @dependabot[bot]
- 389: Bump symfony/polyfill-intl-normalizer from 1.23.0 to 1.24.0 thanks to @dependabot[bot]
- 388: Bump symfony/polyfill-php80 from 1.23.1 to 1.24.0 thanks to @dependabot[bot]
- 387: Bump symfony/polyfill-intl-grapheme from 1.23.1 to 1.24.0 thanks to @dependabot[bot]
- 386: Bump phpdocumentor/type-resolver from 1.5.1 to 1.6.0 thanks to @dependabot[bot]
- 385: Bump composer/semver from 3.2.6 to 3.2.7 thanks to @dependabot[bot]
- 384: Bump composer/xdebug-handler from 2.0.3 to 2.0.4 thanks to @dependabot[bot]
- 383: Bump vimeo/psalm from 4.16.1 to 4.17.0 thanks to @dependabot[bot]
- 382: Bump symfony/console from 5.4.1 to 5.4.2 thanks to @dependabot[bot]
- 381: Bump symfony/process from 5.4.0 to 5.4.2 thanks to @dependabot[bot]
- 380: Bump symfony/finder from 5.4.0 to 5.4.2 thanks to @dependabot[bot]
- 379: Bump laminas/laminas-stdlib from 3.6.3 to 3.6.4 thanks to @dependabot[bot]
- 378: Bump symfony/string from 5.4.0 to 5.4.2 thanks to @dependabot[bot]
- 377: Bump phpunit/phpunit from 9.5.10 to 9.5.11 thanks to @dependabot[bot]
- 376: Bump vimeo/psalm from 4.15.0 to 4.16.1 thanks to @dependabot[bot]
- 375: Bump laminas/laminas-stdlib from 3.6.2 to 3.6.3 thanks to @dependabot[bot]
- 374: Bump phpbench/phpbench from 1.2.2 to 1.2.3 thanks to @dependabot[bot]
- 371: Bump roave/infection-static-analysis-plugin from 1.12.0 to 1.13.0 thanks to @dependabot[bot]
- 369: Bump squizlabs/php_codesniffer from 3.6.1 to 3.6.2 thanks to @dependabot[bot]
- 368: Bump phpbench/phpbench from 1.2.1 to 1.2.2 thanks to @dependabot[bot]
- 367: Bump symfony/console from 5.4.0 to 5.4.1 thanks to @dependabot[bot]
- 366: Bump composer/xdebug-handler from 2.0.2 to 2.0.3 thanks to @dependabot[bot]
- 365: Bump phpspec/prophecy from 1.14.0 to 1.15.0 thanks to @dependabot[bot]
- 364: Bump laminas/laminas-stdlib from 3.6.1 to 3.6.2 thanks to @dependabot[bot]
- 363: Bump vimeo/psalm from 4.14.0 to 4.15.0 thanks to @dependabot[bot]
- 362: Bump slevomat/coding-standard from 7.0.17 to 7.0.18 thanks to @dependabot[bot]
- 361: Bump slevomat/coding-standard from 7.0.16 to 7.0.17 thanks to @dependabot[bot]
- 360: Bump phpbench/phpbench from 1.2.0 to 1.2.1 thanks to @dependabot[bot]
- 359: Bump phpunit/php-code-coverage from 9.2.9 to 9.2.10 thanks to @dependabot[bot]
- 358: Bump vimeo/psalm from 4.13.1 to 4.14.0 thanks to @dependabot[bot]
- 357: Bump phpunit/php-file-iterator from 3.0.5 to 3.0.6 thanks to @dependabot[bot]
- 354: Bump nikic/php-parser from 4.13.1 to 4.13.2 thanks to @dependabot[bot]
- 353: Bump symfony/filesystem from 5.3.4 to 5.4.0 thanks to @dependabot[bot]
- 352: Bump symfony/options-resolver from 5.3.7 to 5.4.0 thanks to @dependabot[bot]
- 351: Bump symfony/process from 5.3.12 to 5.4.0 thanks to @dependabot[bot]
- 350: Bump roave/infection-static-analysis-plugin from 1.11.1 to 1.12.0 thanks to @dependabot[bot]
- 349: Bump symfony/string from 5.3.10 to 5.4.0 thanks to @dependabot[bot]
- 348: Bump symfony/finder from 5.3.7 to 5.4.0 thanks to @dependabot[bot]
- 347: Bump symfony/console from 5.3.11 to 5.4.0 thanks to @dependabot[bot]
- 346: Bump roave/infection-static-analysis-plugin from 1.10.0 to 1.11.1 thanks to @dependabot[bot]
- 345: Bump symfony/process from 5.3.11 to 5.3.12 thanks to @dependabot[bot]
- 343: Bump vimeo/psalm from 4.13.0 to 4.13.1 thanks to @dependabot[bot]
- 341: Bump symfony/process from 5.3.7 to 5.3.11 thanks to @dependabot[bot]
- 340: Bump symfony/service-contracts from 2.4.0 to 2.5.0 thanks to @dependabot[bot]
- 339: Bump symfony/console from 5.3.10 to 5.3.11 thanks to @dependabot[bot]
- 338: Bump symfony/deprecation-contracts from 2.4.0 to 2.5.0 thanks to @dependabot[bot]
- 337: Bump phpunit/php-code-coverage from 9.2.8 to 9.2.9 thanks to @dependabot[bot]
- 336: Bump vimeo/psalm from 4.12.0 to 4.13.0 thanks to @dependabot[bot]
- 331: Bump sebastian/exporter from 4.0.3 to 4.0.4 thanks to @dependabot[bot]
- 330: Bump laminas/laminas-stdlib from 3.6.0 to 3.6.1 thanks to @dependabot[bot]
- 328: Bump psr/container from 1.1.1 to 1.1.2 thanks to @dependabot[bot]
- 327: Bump phpbench/phpbench from 1.1.3 to 1.2.0 thanks to @dependabot[bot]
- 326: Bump vimeo/psalm from 4.11.2 to 4.12.0 thanks to @dependabot[bot]
- 323: Bump nikic/php-parser from 4.13.0 to 4.13.1 thanks to @dependabot[bot]
- 321: Bump sanmai/pipeline from 5.2.0 to 5.2.1 thanks to @dependabot[bot]
- 319: Bump symfony/console from 5.3.7 to 5.3.10 thanks to @dependabot[bot]
- 318: Bump phpbench/phpbench from 1.1.2 to 1.1.3 thanks to @dependabot[bot]
- 317: Bump symfony/string from 5.3.7 to 5.3.10 thanks to @dependabot[bot]
- 316: Bump phpunit/php-code-coverage from 9.2.7 to 9.2.8 thanks to @dependabot[bot]
- 314: Bump vimeo/psalm from 4.11.1 to 4.11.2 thanks to @dependabot[bot]
- 313: Bump composer/semver from 3.2.5 to 3.2.6 thanks to @dependabot[bot]
- 311: Bump vimeo/psalm from 4.10.0 to 4.11.1 thanks to @dependabot[bot]
- 310: Bump slevomat/coding-standard from 7.0.15 to 7.0.16 thanks to @dependabot[bot]
- 306: Bump phpdocumentor/reflection-docblock from 5.2.2 to 5.3.0 thanks to @dependabot[bot]
- [302: Bump squizlabs/php_codesniffer from 3.6.0 to 3.6.1](ht...
4.2.0
Release Notes for 4.2.0
4.2.0
- Total issues resolved: 1
- Total pull requests resolved: 4
- Total contributors: 3
dependencies,enhancement
- 279: PHP 8.0 and 8.1 support, upgraded CI instrumentation thanks to @Ocramius
- 159: PHP8 Support thanks to @zlodes
dependencies
- 270: Bump phpbench/phpbench from 0.17.1 to 1.0.4 thanks to @dependabot-preview[bot]
- 224: Bump doctrine/coding-standard from 8.2.0 to 9.0.0 thanks to @dependabot-preview[bot]
- 218: Upgrade to GitHub-native Dependabot thanks to @dependabot-preview[bot]
4.1.0
Release Notes for 4.1.0
4.1.0
- Total issues resolved: 0
- Total pull requests resolved: 6
- Total contributors: 2
enhancement
- 167: Added release automation thanks to @Ocramius
dependencies
- 166: Bump phpunit/phpunit from 9.2.6 to 9.5.1 thanks to @dependabot-preview[bot]
- 165: Bump ocramius/code-generator-utils from 1.0.0 to 1.1.0 thanks to @dependabot-preview[bot]
- 164: Bump laminas/laminas-servicemanager from 3.5.1 to 3.6.2 thanks to @dependabot-preview[bot]
- 154: Bump laminas/laminas-hydrator from 2.4.2 to 3.1.1 thanks to @dependabot-preview[bot]
- 144: Bump vimeo/psalm from 3.12.2 to 3.13.1 thanks to @dependabot-preview[bot]
4.0.0
This major release upgrades the whole ocramius/generated-hydrator
to rely on the laminas/laminas-hydrator
package, instead of zendframework/zend-hydrator
(old name).
In addition to that, type inference on the generated hydrators should have improved by a lot, allowing for
more precise hydration/extraction type checks downstream, as well as improved overall package quality when
dealing with dependency upgrades.
Following minor BC breaks apply, although only for consumers that subclass types within this package:
[BC] CHANGED: The return type of GeneratedHydrator\Factory\HydratorFactory#getHydrator() changed from Zend\Hydrator\HydratorInterface to the non-covariant GeneratedHydrator\GeneratedHydrator
[BC] CHANGED: The return type of GeneratedHydrator\Factory\HydratorFactory#getHydrator() changed from Zend\Hydrator\HydratorInterface to GeneratedHydrator\GeneratedHydrator
[BC] CHANGED: Type documentation for property GeneratedHydrator\Configuration#$hydratedClassName changed from string to having no type
[BC] CHANGED: Type documentation for property GeneratedHydrator\Configuration#$autoGenerateProxies changed from bool to having no type
[BC] CHANGED: Type documentation for property GeneratedHydrator\Configuration#$generatedClassesTargetDir changed from null|string to having no type
[BC] CHANGED: Type documentation for property GeneratedHydrator\Configuration#$generatedClassesNamespace changed from string to having no type
[BC] CHANGED: Type documentation for property GeneratedHydrator\Configuration#$generatorStrategy changed from \CodeGenerationUtils\GeneratorStrategy\GeneratorStrategyInterface|null to having no type
[BC] CHANGED: Type documentation for property GeneratedHydrator\Configuration#$generatedClassesAutoloader changed from callable|null to having no type
[BC] CHANGED: Type documentation for property GeneratedHydrator\Configuration#$classNameInflector changed from \CodeGenerationUtils\Inflector\ClassNameInflectorInterface|null to having no type
[BC] CHANGED: Type documentation for property GeneratedHydrator\Configuration#$hydratorGenerator changed from \GeneratedHydrator\ClassGenerator\HydratorGenerator|null to having no type
Total issues resolved: 5
- 128: Added Installation section to the README thanks to @ZielinskiLukasz
- 138: Upgrade Zend dependencies to Laminas. thanks to @jensdenies
- 140: Update nikic/php-parser requirement from ^4.2.3 to ^4.6.0 thanks to @dependabot-preview[bot]
- 141: Align build setup to
ocramius/proxy-manager
thanks to @Ocramius - 143: #141 align CI setup to
ocramius/proxy-manager
github actions setup thanks to @Ocramius
3.1.0
This release fixes compatibility with PHP 7.4.0 by allowing typed properties that have a default value
to be ignored.
The minimum supported PHP version is now 7.4.0.
Total issues resolved: 12
- 84: Bump coding standard dependencies thanks to @carusogabriel
- 92: Update roave/backward-compatibility-check requirement from ^2.1.0 to ^4.0.0 thanks to @dependabot-preview[bot]
- 95: Update nikic/php-parser requirement from ^4.2.1 to ^4.2.3 thanks to @dependabot-preview[bot]
- 96: Update phpunit/phpunit requirement from ^8.0.4 to ^8.3.4 thanks to @dependabot-preview[bot]
- 97: Update zendframework/zend-filter requirement from ^2.9.1 to ^2.9.2 thanks to @dependabot-preview[bot]
- 98: Update phpbench/phpbench requirement from ^0.16.1 to ^0.16.10 thanks to @dependabot-preview[bot]
- 104: Add getHydrator method to the HydratorFactory thanks to @fcoedno
- 113: Small fixes of CS and .gitignore thanks to @VolCh
- 115: Update squizlabs/php_codesniffer requirement from ^3.4.2 to ^3.5.3 thanks to @dependabot-preview[bot]
- 117: Update phpunit/phpunit requirement from ^8.3.4 to ^8.5.1 thanks to @dependabot-preview[bot]
- 118: With PHP 7.4, the hydrator breaks with required typed property thanks to @pounard
- 119: issue #118 - optional typed php 7.4 properties are raising engine errors thanks to @pounard
3.0.0
This release bumps the minimum supported PHP version to PHP 7.3,
allows newer PHP-Parser release usage, and overall improves the
test suite and codebase. Also, by using static function () {}
closures, we squeezed out another 15% of hydration performance
when dealing with private
properties.
Please note that this is a new major release, so be aware of the
following backwards incompatible breakages:
- [BC] CHANGED: The return type of GeneratedHydrator\CodeGenerator\Visitor\HydratorMethodsVisitor#leaveNode() changed from no type to ?PhpParser\Node\Stmt\Class_
- [BC] REMOVED: Class GeneratedHydrator\Exception\ExceptionInterface has been deleted
- [BC] REMOVED: Class GeneratedHydrator\Exception\DisabledMethodException has been deleted
- [BC] CHANGED: Type documentation for property GeneratedHydrator\Configuration#$hydratorGenerator changed from \GeneratedHydrator\ClassGenerator\HydratorGeneratorInterface|null to \GeneratedHydrator\ClassGenerator\HydratorGenerator|null
- [BC] CHANGED: The return type of GeneratedHydrator\Configuration#setHydratedClassName() changed from no type to void
- [BC] CHANGED: The return type of GeneratedHydrator\Configuration#setAutoGenerateProxies() changed from no type to void
- [BC] CHANGED: The return type of GeneratedHydrator\Configuration#setGeneratedClassAutoloader() changed from no type to void
- [BC] CHANGED: The return type of GeneratedHydrator\Configuration#setGeneratedClassesNamespace() changed from no type to void
- [BC] CHANGED: The return type of GeneratedHydrator\Configuration#setGeneratedClassesTargetDir() changed from no type to void
- [BC] CHANGED: The return type of GeneratedHydrator\Configuration#getGeneratedClassesTargetDir() changed from no type to string
- [BC] CHANGED: The return type of GeneratedHydrator\Configuration#setGeneratorStrategy() changed from no type to void
- [BC] CHANGED: The return type of GeneratedHydrator\Configuration#setClassNameInflector() changed from no type to void
- [BC] CHANGED: The return type of GeneratedHydrator\Configuration#setHydratorGenerator() changed from no type to void
- [BC] CHANGED: The parameter $hydratorGenerator of GeneratedHydrator\Configuration#setHydratorGenerator() changed from GeneratedHydrator\ClassGenerator\HydratorGeneratorInterface to a non-contravariant GeneratedHydrator\ClassGenerator\HydratorGenerator
- [BC] CHANGED: The parameter $hydratorGenerator of GeneratedHydrator\Configuration#setHydratorGenerator() changed from GeneratedHydrator\ClassGenerator\HydratorGeneratorInterface to GeneratedHydrator\ClassGenerator\HydratorGenerator
- [BC] CHANGED: The return type of GeneratedHydrator\Configuration#getHydratorGenerator() changed from no type to GeneratedHydrator\ClassGenerator\HydratorGenerator
- [BC] REMOVED: Class GeneratedHydrator\ClassGenerator\HydratorGeneratorInterface has been deleted
- [BC] CHANGED: Class GeneratedHydrator\ClassGenerator\HydratorGenerator became an interface
- [BC] REMOVED: These ancestors of GeneratedHydrator\ClassGenerator\HydratorGenerator have been removed: ["GeneratedHydrator\ClassGenerator\HydratorGeneratorInterface"]
Total issues resolved: 5
- 77: Apply Doctrine Coding Standard thanks to @VolCh
- 79: Use php-parser v4 thanks to @redthor
- 81: Upgrade nikic/php-parser and code-generator-utils to their latest versions thanks to @WyriHaximus
- 82: Improve CI builds with mutation tests, upgraded dependencies thanks to @Ocramius
- 83: Improved hydration of
private
properties by ~15% thanks to @Ocramius
2.2.0
Total issues resolved: 3