Releases: contributte/doctrine-orm
Releases · contributte/doctrine-orm
v0.9.0
Bumped! 🇵🇸
Diff: v0.8.4...v0.9.0
Changes:
- Cleanup: drop Entity/Id (deprecated) [50875f3] (@f3l1x)
- PHP: require 7.4+ [a7cc92b] (@f3l1x)
- Composer: upgrade symfony/console and nettrine/dbal [261ba76] (@f3l1x)
- Composer: upgrade orm to 2.14 and common to 3.4 [488bec7] (@f3l1x)
- Cleanup: drop deprecated yaml support [8f6ea72] (@f3l1x)
- Cleanup: drop deprecated console commands [e3e458c] (@f3l1x)
- Composer: replace ninjify for contributte [756a266] (@f3l1x)
- PHP: require 8.1+ [ba5ccd1] (@f3l1x)
- Composer: require contributte/di 0.6+ [07b0e48] (@f3l1x)
- Composer: require nettrine/cache 0.4+ [712f2d2] (@f3l1x)
- Composer: require nettrine/annotations 0.8+ [fc620f0] (@f3l1x)
- Cleanup: drop EntityManagerDecorator [a0a5ffe] (@f3l1x)
- Extension: introduce ManagerProvider, replace entityManagerHelper [30dfe89] (@f3l1x)
- Composer: use nette/di directly [89a6a7e] (@f3l1x)
- OrmCache: simplify cache drivers [677bd46] (@f3l1x)
- Decorator: introduce SimpleEntityManagerDecorator [97373bf] (@f3l1x)
- DI: implement ResolveTargetEntityListener [#102, closes #52] [1bd93ee] (@juniwalk)
- Watch for proxy changes in debug mode (#105) [d57c133] (@Rixafy)
- Composer: minimal version of doctrine/persistence [a2d77fb] (@jankonas)
- Composer: allow symfony/console 7 [df44812] (@jankonas)
- Add option to turn off second level cache [c8b43bb] (@jankonas)
.phpstorm.meta.php
remove wrong overrides [f3afa2c] (@vitkutny)
Maintenance:
- CI: modernize workflows [69b05f0] (@f3l1x)
- Readme: fix badges [b4803d4] (@Roman3349)
- CI: upgrade workflows [08aa13d] (@f3l1x)
- Fix coding standard [1ea8d9f] (@jankonas)
- Readme: cleanup [75decd3] (@f3l1x)
- Readme: fix composer link (#103) [2c15bb9] (@RiKap)
- Tests: replace ninjify for contributte [e577d2a] (@f3l1x)
- QA: fixes [9e2cd91] (@f3l1x)
- QA: types [430d5c1] (@f3l1x)
- Phpstan: fixes [7148052] (@f3l1x)
- Composer: open v0.9 [5cc9226] (@f3l1x)
v0.8.4
v0.8.3
v0.8.2
Bumped! 🚋
Diff: v0.8.1...v0.8.2
Changes:
- Bugfix: autoGenerateProxyClasses in DI configuration [dfdb4e6] (@f3l1x)
- Readme: fix partners link (#91) [b4384bd] (@petrparolek)
- CI: allow build on all branches (#93) [d3edde6] (@petrparolek)
- Readme++ [62fc102] (@f3l1x)
- Add support for attributes (#96) [6f42c22] (@Rixafy)
- Readme++ [4491e05] (@f3l1x)
- Drop github funding [fc84bcc] (@f3l1x)
v0.8.1
Bumped! 🚔
Diff: v0.8.0...v0.8.1
Changes:
- doctrine/common: allow v3 [4ddb101] (@solcik)
- Readme++ [7a0dcfc] (@f3l1x)
- Composer: minimal version of nette/di and nette/schema [124f891] (@f3l1x)
- Tests: fix messages [9476e34] (@f3l1x)
- Readme: support [1c16cf8] (@f3l1x)
- Std [004]: kodiak [88043f1] (@f3l1x)
- Composer: minimal version of phpstan [a86e9ec] (@f3l1x)
v0.8.0
v0.7.1
Bumped! 🈺
Diff: v0.7.0...v0.7.1
Changes:
- Extension configuration supports string/service/reference at definition:
- namingStrategy
- quoteStrategy
- entityListenerResolver
- repositoryFactory
- Better docs
- Better tests
- Allow PHP >=7.2
v0.7.0
Bumped! 💅
Diff: v0.6.1...v0.7.0
Changes:
- Rework mapping [BC break] [#75]
Configuration for annotation and xml changed.
Before
nettrine.orm.annotations:
namespaces: [App\Model\Database]
paths: [%appDir%/Model/Database]
After
nettrine.orm.annotations:
mapping:
App\Model\Database: %appDir%/Model/Database
Dropped TEntityMapping, introduced more powerfull EntityHelper.
Before
class CategoryExtension extends CompilerExtension
{
use TEntityMapping;
public function beforeCompile(): void
{
$this->setEntityMappings([
'Forum' => __DIR__ . '/../Entity',
]);
}
}
After
class CategoryExtension extends CompilerExtension
{
public function beforeCompile(): void
{
MappingHelper::of($this)
->addAnnotation( __DIR__ . '/../app/Model/Database', 'App\Model\Database')
->addAnnotation( __DIR__ . '/../../modules/Forum/Database', 'Forum\Modules\Database');
}
}