Releases: nelmio/alice
Releases · nelmio/alice
v2.3.1
v3.0.0-beta.4
v2.3.0
Features
- Add support for Doctrine Inflector (#548)
- Add support of embedded couchdb document (couchdb-odm) (#683)
- Add range named builder (#693)
Deprecations
- Deprecate the usage of the local flag (#557)
- Deprecate the usage of date strings (#559)
- Deprecate optional values with floats (#564)
- Deprecate references in quotes (#566)
- Deprecate setting private or protected props directly (#607)
- Deprecate usage of non PSR-1 compliant setters (#608)
- Deprecate usage of inaccessible constructors (#609)
- Deprecate calling methods (#610)
- Deprecate array hash uniqueness (#611)
Bugfixes
v3.0.0-beta.3
v3.0.0-beta.2
v3.0.0-beta.1
Features
- Better handling of references to inexistent fixtures (#592)
- Automatically escape the
@
character in words (#593)
Bugfix
- Move PhpUnitBridge dependency to dev dependencies (#576)
- Fix support for stdClass classes (#595)
- Fix complete generation process (#596)
- Fix FlagBag immutability (#614)
- Fix UniqueValuesPool cached value check (#615)
- Make ObjectBag more performant (#617)
- Fix performance issues with Wildcard resolver (#618)
- Fix usage of
$current
with identity (#619)
Changes highlight
v3.0.0-beta.0
After a few months of tedious work, the first beta of Alice 3.0 is out!
Main differences between 2.x and 3.x:
- The persistence layer has been removed
- Rewrite of the API to make it more extensible and more robust
- Change in the architecture to address some limitations found in 2.x
More details on the architectural changes can be found here.
2.2.2
2.2.1
2.2.0
Features
- Add support for snake_case properties (#323)
- Add support for dots in reference names (#312)
- Add support for Fixture parameters in PHP File (#341)
- Don't persist ORM entities (embeddable support) (#272)
- Enable quoting references to reflect on the changes in Symfony YAML Parser (#305)
Deprecations
- Drop support for PHP 5.4 and 5.5 (#414)
- Deprecate usage of the the range operator with more than two dots (#329)
- Deprecate usage of custom context in Parsers (#342)
Bugfixes
- Fix singularify deprecation warnings and optimize method detection (#407)
- Fix various bugs in #355:
user_{alice, bob,}
previously was building a reference nameduser_{alice, bob,}
. Now builds that as a list, i.e. result inuser_alice
anduser_bob
. A deprecation warning is also thrown to warn the user that the list is poorly formatted and an exception will be thrown in v3.user_{, alice, bob}
: same as previous case.user_{0..2}
: value for<current()>
were respectively'0'
,1
,2
; Now are all strings as states the phpdoc. Changed in #339.user_{0....2}
: was generating only one fixture nameduser_{0....2}
; Now is equivalent touser_{0...2}
user_{2...0}
: as reported in #358 was generating 4 fixtures... Now is equivalent to0...2
which result inuser_0
,user_1
anduser_2
user_{2...2}
: was generating two fixturesuser_1
anduser_3
; Now doesn't build any (the segment is[2;2[
so contains no element)user_{0.2}
: was generating a fixture nameduser_{0.2}
; Now doesn't generate any.user_{2..}
: was generating a fixture nameduser_{2..}
; Now doesn't generate any.user_{-1..2}
: was generating a fixture nameduser_-1..2
; Now doesn't generate any. Same goes for all ranges containing a negative number- Deprecate the silent failing occurring when a fixture could not be built by the builder: current returns
null
, will throw an exception in the future.
- Fix unique flag usage with templates (#359)
- Fix some phpdoc (#264)
- Fix the order in which the files were included (#314)