Skip to content

Releases: Ocramius/PackageVersions

1.9.0

22 Jun 14:24
1.9.0
94c9d42
Compare
Choose a tag to compare

Build Status

This release allows ocramius/package-version to skip writing the Version class when the
vendor directory is locked/not writable.

Total issues resolved: 2

1.8.0

06 Apr 17:47
1.8.0
Compare
Choose a tag to compare

Build Status

This release adds forward-compatibility for composer/composer:2.0.0.

Total issues resolved: 1

1.7.0

06 Mar 11:51
1.7.0
651c372
Compare
Choose a tag to compare

Build Status

This release adds @psalm-pure to the generated version of
PackageVersions\Versions. Please note that if you run your
composer installation with --no-scripts and --no-plugins, then the fallback
version of PackageVersions\Versions will be in use, and
therefore purity is not guaranteed.

Total issues resolved: 1

1.6.0

05 Mar 11:27
1.6.0
e511a3f
Compare
Choose a tag to compare

Build Status

This release upgrades dependencies, improves testing/static analysis checks, and moves
the package to PHP 7.4 as a minimum required engine version.

Total issues resolved: 4

1.4.2

15 Nov 16:19
1.4.2
44af6f3
Compare
Choose a tag to compare

1.4.1

14 Nov 14:25
1.4.1
7ca61c2
Compare
Choose a tag to compare

Build Status

This release ports the ability to rely on installed.json when composer.json is not available
to the stable 1.4.x branch.

Total issues resolved: 1

1.5.1

17 Jul 15:52
1.5.1
1d32342
Compare
Choose a tag to compare

Build Status

This release fixes an issue leading FallbackVersions (used when installing with
--no-scripts) to fail to detect composer.lock or installed.json locations
due to getcwd() misbehavior during composer installation.

Total issues resolved: 2

1.5.0

17 Jul 05:06
1.5.0
da0d9d3
Compare
Choose a tag to compare

Build Status

This release improves discovery of versions when composer.lock cannot be
located, falling back to installed.json (which is at a fixed relative filesystem
location).

We removed duplicate plugin runs during install/update, and runs
the plugin only during the POST_AUTOLOAD_DUMP event.

The minimum supported PHP version is now PHP 7.3.0.

PHP 7.4 compatibility issues with ReflectionType#__toString() have been fixed.

Static analysis additions will also now start highlighting issues in downstream
projects using vimeo/psalm (at build-time) when non-existing dependency
lookups are performed against PackageVersions\Versions::getVersion(), preventing
useless runtime exceptions.

Total issues resolved: 12

1.4.0

21 Feb 12:20
1.4.0
a4d4b60
Compare
Choose a tag to compare

Build Status

This release makes writes to the Version class file atomic,
and makes sure that access rights/flags are also correctly set when
the versions are being generated.

Total issues resolved: 6

1.3.0

05 Feb 13:11
1.3.0
4489d50
Compare
Choose a tag to compare

Build Status

In this release:

  • Support for self.version and replace composer settings and constraints,
    which are now correctly considered and substituted with their actual versions.
  • A new PackageVersions\Versions::ROOT_PACKAGE_NAME constant, which is
    populated with the name of the root package, if available.
  • Dropped support for PHP 7.0: please upgrade to PHP 7.1
  • Improved mutation testing

Total issues resolved: 5