Skip to content

Releases: unimapper/unimapper

v1.2.0

29 Oct 11:49
Compare
Choose a tag to compare
  • exceptions: code & previous exception can be passed to all exceptions
  • exceptions: reopsitory and query throws its own exceptions
  • repository: throws RepositoryException if empty primary returned
  • conditions refactored to UniMapper\Entity\Filter with a little bit different syntax BC BREAK
  • entity: primary can be only string, integer or double BC BREAK
  • entity: new static method createCollection()
  • reflection: Loader moved to UniMapper\Entity\Reflection::load BC BREAK
  • namespace refactoring BC BREAK
  • loader.php: fixed paths

v1.1.2

28 Jul 15:35
Compare
Choose a tag to compare
  • entity: removed reflection from entities and collections
  • UniMapper\Entity->getReflection() & UniMapper\EntityCollection->getEntityReflection() are deprecated now
  • collection: added getEntityClass() method

v1.1.1

27 Jul 12:14
Compare
Choose a tag to compare
  • entity: unset() throws exception on readonly property
  • mapper: unmapEntity() exclude readonly properties

v1.1.0

07 Jul 10:24
Compare
Choose a tag to compare
  • adapter: createInsert() extended with primary column name

v1.0.4

28 May 15:13
Compare
Choose a tag to compare
  • repository: new methods destroyBy() & updateBy()

v1.0.3

19 May 09:13
Compare
Choose a tag to compare
  • entity: support for new value type Date
  • associations: fixed OneToMany

v1.0.2

29 Apr 12:31
Compare
Choose a tag to compare
  • associations: fixed ManyToOne if primaries empty

v1.0.1

24 Mar 10:11
Compare
Choose a tag to compare

validator: fixed getMessages() when rule failed on property with collection type

v1.0.0

10 Mar 15:06
Compare
Choose a tag to compare

First stable release

v1.0.0-RC6

10 Mar 12:21
Compare
Choose a tag to compare
v1.0.0-RC6 Pre-release
Pre-release
  • repository: invalid filter should always throw a UniMapper\Exception\RepositoryException
  • repository: findPrimaries() accepts list of associations to load as the second argument
  • repository: save() returns saved entity
  • repository: fixed filter in count()