Releases: hendrikmaus/drafter-php
Releases · hendrikmaus/drafter-php
[6.1.1] - 2020-03-21
[6.1.0] - 2020-03-21
[6.1.0] - 2020-03-21
Changed
- Allow Symfony 5
Fixed
- #10 - allow the Drafter binary to be run from paths with spaces and parenthesis
v6.0.0
v5.0.1
[5.0.1] - 2018-07-20
Fixed
- Allow spaces in filenames
v5.0.0
[5.0.0] - 2018-03-05
Changed
- Allow v4 of Symfony component
- Update Robo task runner
v4.0.1
[4.0.1] - 2016-09-20
Changed
- Removed the cumbersome way to install drafter and added a reference to hmaus/drafter-installer
- Renamed phpunit.xml to phpunit.xml.dist and ignored phpunit.xml so you can customize your settings
- Slimmed down phpunit output
v4.0.0 - update to drafter 3
[4.0.0] - 2016-08-05
Changed
- Update drafter dependency to v3.0.0 [BC]
v3.0.0 - updated to drafter v2.2.0
[3.0.0] - 2016-03-31
Changed
- Updated drafter dependency to v2.2.0 in composer.json and readme [BC]
- Implemented new behavior of the sourcemap argument [BC]
- Begin namespace with vendor name
Hmaus
[BC]
v2.0.0
[2.0.0] - 2015-11-07
Changed
- Increased min required PHP version to >=5.6 [BC]
- Bumped PHPUnit to v5.x
- Composer install example always uses the latest master of drafter
- Allow v3 of Symfony component
Removed
- Tests do not care about the exact drafter output
- Exact match fixtures used by the removed test assertions
Refract Release
Breaking Change - switch to drafter v1.0 from v0.1.9
Drafter's v1.0 introduced Refract elements.
Read more on the drafter refract release.
To upgrade from drafter-php v0.1.0 and drafter v0.1.0, you need to add ->type('ast')
to your calls on drafter-php in order to retrieve the ast of your api blueprint, as drafter v1.0 defaults its output type to refract
.
Also note that the "_version"
key in the ast will now have a value of 4.0 instead of 3.0; the new refract element does not have a version key.