Skip to content

Releases: Kdyby/Doctrine

v2.0.2

27 Jul 23:55
Compare
Choose a tag to compare
  • Hotfixed ClassMetadata::newInstance()
  • Add smart NativeQueryBuilder::addColumn()
  • Created Entities\Attributes\Identifier trait to be used instead of IdentifiedEntity
  • Custom NativeQueryBuilder
  • Fixed handling of NativeQueryBuilder in ResultSet
  • 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

27 Jul 23:49
Compare
Choose a tag to compare
  • 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 hydrating Nette\Utils\ArrayHash instead of array
$result = $query->getResult(Hydration\HashHydrator::NAME);

v2.0.0

27 Jul 23:44
Compare
Choose a tag to compare
  • 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 from EntityDao. You can now change defaultRepositoryClassName to Kdyby\Doctrine\EntityRepository and ignore that you ever could call save() 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 and orm: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

27 Jul 23:28
Compare
Choose a tag to compare
  • 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() and findAssoc() 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

27 Jul 23:12
Compare
Choose a tag to compare
  • 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

27 Jul 23:08
Compare
Choose a tag to compare
  • Locked Nette dependency to 2.0.*

v1.0.2

03 Nov 00:02
Compare
Choose a tag to compare
  • Removed check for result set modification from applyPaging (it broke everything 😰 )

v0.10.3

03 Nov 00:03
Compare
Choose a tag to compare
  • Removed check for result set modification from applyPaging (it broke everything 😰 )

v1.0.1

27 Oct 22:08
Compare
Choose a tag to compare
  • 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 paginator
  • Panel::renderException() handles SchemaException
  • Support for connection's defaultTableOptions
  • Allow change the hydratation mode on ResultSet
  • Allow to set fetchJoinCollection to ResultSet

v0.10.2

27 Oct 22:08
Compare
Choose a tag to compare
  • Easier memcache configuration
  • Protect initialized ResultSet from modifying