Releases: Kdyby/Doctrine
Releases · Kdyby/Doctrine
v2.0.2
- Hotfixed
ClassMetadata::newInstance()
- Add smart
NativeQueryBuilder::addColumn()
- Created
Entities\Attributes\Identifier
trait to be used instead ofIdentifiedEntity
- Custom
NativeQueryBuilder
- Fixed handling of
NativeQueryBuilder
inResultSet
- Map joined entities to tables in
NativeQueryBuilder
- Autobuild entity result from join or from clauses in
NativeQueryBuilder
- BaseEntity: Support returning a collection, wrapped into
ReadOnlyCollectionWrapper
, thx @Majkl578
v2.0.1
- Locked dependency on Nette to
2.1.*
- Implemented lazy geo element for lazy data parsing, thx @stekycz
- Do not remove system cache in
CacheCleaner
- Shitload of documentation
- Parameter inlining in query builder
$qb->andWhere('r.id = :id', $restaurantId);
- Added
HashHydrator
for hydratingNette\Utils\ArrayHash
instead of array
$result = $query->getResult(Hydration\HashHydrator::NAME);
v2.0.0
- Fixed count of result set to be different from totalCount [BC break]
- Underscore is now default naming convetion [BC BREAK]. You can change it back using
namingStrategy
option. EntityRepository
extracted fromEntityDao
. You can now changedefaultRepositoryClassName
toKdyby\Doctrine\EntityRepository
and ignore that you ever could callsave()
on repository which was a bad idea to even begin with.- Add option
--debug-mode
to cli commands [experiment] - Added
ResultSet::clearSorting()
- Refactored and improved debug bar panel to use parameter types for formatting, thx @stekycz
- Added console commands
orm:convert-mapping
andorm:generate-entities
, thx @foxycode - Refactored processing of
::safePersist()
to work also with not autogenerated identifiers, thx @stekycz - Implemented saving of relations using
::safePersist()
, thx @stekycz - Created
Events::postLoadRelations
that is called after result row hydratation
v1.2.0
- Fixed and improved configuration
autoGenerateProxyClasses
- Better cache invalidation before bussines critical cli commands
- SQL file logger, that can be turned on by simply passing a filename to
logging
option
doctrine:
logging: %appDir%/../log/queries.sql
- NativeQuery support in QueryObject
- Fixed highlighting of imported annotations
- ResultSet accepts QueryObject that it was created in and can delegate counting on it for optimalization purposes
- Smarter
findBy()
,findPairs()
andfindAssoc()
criteria filtering with autojoin and rich operators on DAO - Auto-join refactored from DAO to QueryBuilder and created
QueryBuilder::whereCriteria()
- Better
EntityManager
::clear()
,::remove()
and::persist()
api (accepts array and is fluent) - Dropped
JitProxyWarmer
- ResultSet: allow to set useOutputWalkers
v1.1.0
- Bumped dependency on Nette to
~2.1@dev
- IdentifiedEntity is deprecated
- Colored output of schema commands in CLI
- Extracted standalone package Kdyby/DoctrineForms
v0.10.4
- Locked Nette dependency to
2.0.*
v1.0.2
- Removed check for result set modification from applyPaging (it broke everything 😰 )
v0.10.3
- Removed check for result set modification from applyPaging (it broke everything 😰 )
v1.0.1
- Easier memcache configuration
- Protect initialized
ResultSet
from modifying - Fixed magic
findBy*()
methods on DAO - Fixed formating of Datetime in queries panel
- Added IDatabaseTypeProvider
- Implemented EntityListenerResolver
Dao::save()
&Dao::add()
&Dao::delete()
has new$relations
parameter that can persistent entities of other types than only the type of current dao- Clear cache before cli commands that generate and validate data
ResultSet
for query without limit & offset doesn't use paginatorPanel::renderException()
handlesSchemaException
- Support for connection's defaultTableOptions
- Allow change the hydratation mode on ResultSet
- Allow to set fetchJoinCollection to ResultSet
v0.10.2
- Easier memcache configuration
- Protect initialized
ResultSet
from modifying