Releases: contributte/doctrine-orm
Releases · contributte/doctrine-orm
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');
}
}