Skip to content

Releases: hendrikmaus/drafter-php

[6.1.1] - 2020-03-21

21 Mar 21:15
b782456
Compare
Choose a tag to compare

[6.1.1] - 2020-03-21

Fixed

  • Use Process::fromShellCommandline in build method for symfony/process v5 compatibility

[6.1.0] - 2020-03-21

21 Mar 11:36
6221eac
Compare
Choose a tag to compare

[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

09 Dec 20:10
428f0f3
Compare
Choose a tag to compare

[6.0.0] - 2019-11-24

Changed

  • Update drafter dependency to v4.0.2 [BC]
  • Removed type option

v5.0.1

20 Jul 11:19
c6f91b2
Compare
Choose a tag to compare

[5.0.1] - 2018-07-20

Fixed

  • Allow spaces in filenames

v5.0.0

26 Jun 06:40
3026183
Compare
Choose a tag to compare

[5.0.0] - 2018-03-05

Changed

  • Allow v4 of Symfony component
  • Update Robo task runner

v4.0.1

20 Sep 15:14
Compare
Choose a tag to compare

[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

06 Aug 10:50
Compare
Choose a tag to compare

[4.0.0] - 2016-08-05

Changed

  • Update drafter dependency to v3.0.0 [BC]

v3.0.0 - updated to drafter v2.2.0

01 Apr 13:29
Compare
Choose a tag to compare

[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

07 Nov 11:59
Compare
Choose a tag to compare

[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

04 Oct 16:45
Compare
Choose a tag to compare

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.