Skip to content

Releases: ramsey/composer-install

3.0.0

29 Feb 13:56
3.0.0
57532f8
Compare
Choose a tag to compare

Changed

  • Update actions/cache to v4 to avoid deprecation notices.

    This requires a new major version because actions/cache requires Node.js 20, which could cause backwards-compatibility breaks for any projects that require earlier versions of Node.js.

    For more details, see the discussion on #252.

2.3.1

29 Feb 13:52
2.3.1
1919f6c
Compare
Choose a tag to compare

Fixed

  • Removed upgrade to cache action runner v4 to avoid potential backwards-compatibility issues that might arise when using self-hosted runners that use Node.js 16 instead of version 20. For more details, see the discussion here: #252.

To avoid the actions/cache deprecation notices, upgrade to @v3 or @3.0.0.

2.3.0

28 Feb 15:29
338f10e
Compare
Choose a tag to compare

Added

  • Add new require-lock-file input that forces a build failure if a composer.lock file is not present. (#251)

Fixed

  • Add --working-dir when looking up Composer's cache directory. This fixes "File composer.json could not be found in the current directory" errors when running composer install in sub-directories or other non-standard locations. (#225, #233, #246, #247)
  • Update cache action runner to v4 to avoid deprecation notices. (#252, #253, #254)

2.2.0

04 Nov 05:51
83af392
Compare
Choose a tag to compare

Added

  • Implement custom-cache-suffix option to allow projects to provide their own cache-busting strategies without defining full custom cache keys (#239)

2.1.1

03 Nov 20:20
7f9021e
Compare
Choose a tag to compare

Fixed

2.1.0

31 Dec 00:59
2.1.0
f680dac
Compare
Choose a tag to compare

Added

  • Force the use of composer update if a lock file is not present, avoiding the warning that appears when running composer install without a lock file.

2.0.5

28 Dec 18:48
2.0.5
713bde7
Compare
Choose a tag to compare

Fixed

  • Don't error on out-of-sync lock file (#206, #213)
  • Do not append empty restore key (#216)

2.0.4

28 Dec 01:25
2.0.4
824cdf4
Compare
Choose a tag to compare

Fixed

  • Fix typo in variable name

2.0.3

28 Dec 00:53
2.0.3
8bec747
Compare
Choose a tag to compare

Fixed

  • Convert GitHub Action notices to debug messages (#211)
  • Ensure compatibility with Composer 1.x (#209, #210)

2.0.2

24 Dec 00:36
2.0.2
966a519
Compare
Choose a tag to compare

Fixed

  • Fix case when values other than locked, highest, or lowest are passed for dependency_versions. In these cases, we always default to locked.