Releases: Tharos/LeanMapper
Version 4.0.3
Version 4.0.2
- fixed reading of NULL value from
m:hasOne
property (#161)
Version 4.0.1
- fixed usage of FQN in
m:enum
Version 4.0.0
- added PHP 7.1 type hints (BC BREAK)
- Mapper: added posibility to convert DB values from scalars to objects (support for Value Objects)
- Entity: methods
set()
&__set()
check value type (BC BREAK) - Repository: access to undefined property (
$repository->onUnexists[]
) throws exception (BC BREAK) - Fluent: changed value of static property
$masks
(uses value from Dibi) (BC BREAK) - Result: fixed usage of
cleanReferencing
/cleanReferenced
withFilteringResult
- Nette DI extension: fixed compatibility with
nette/di ^3.0
- IMapper: getRelationshipColumn() - added parameter
$relationshipName
(see #77) - DefaultMapper:
$defaultEntityNamespace
is changed by constructor (BC BREAK) - added
declare(strict_types=1)
Version 3.5.0
- added support for converting of Row values (backported from LM 4.x)
Released version 3.4.2
- Nette DI extension: fixed compatibility with nette/robot-loader 3.0+ (#151)
Released version 3.4.1
Released version 3.4.0
-
Nette DI extension: file logger uses
Dibi\Loggers\FileLogger
(#145) -
EntityReflection: added posibility to customize entity reflection via
IEntityReflectionProvider
(#141) -
SQLite3: fixed
$entity->removeFromX()
for SQLite without optionSQLITE_ENABLE_UPDATE_DELETE_LIMIT
(#143) -
Result:
addToReferencing
ignores duplicate values (#143) -
Result:
new self
changed tonew static
(#140) -
Entity: added support for implicit passThru (#137)
-
EntityReflection: improved performance (#132)
Released version 3.3.0
Released version 3.2.0
-
added support for nested brackets in flag values (for example
m:default(array())
) (#122) -
combination of
m:default
and "equation syntax" ($property = value
) throws exception (#122) -
values in flag
m:default
are converted to correct datatype (#122) -
bugfix -
m:default
wasn't marked as default value ($property->hasDefaultValue()
was returningfalse
) (#119) -
fixed generating of complex SQL queries for UNION strategy (#109)
-
fixed bug when Lean Mapper was using setters and getters with visibility
private
&protected
(#97) -
fixed assign of
null
to nullable property withm:enum
flag (#116) -
PostgreSQL - fixed bug while calling of
$entity->removeFromX()
(#114) -
improved detection of properties with duplicated name (#104)
-
added support for dash (
-
) in flag names (for examplem:flag-name
) (#107) -
m:enum
supports unprefixed constants (SomeClass::*
) (#100)