generoi / bedrock

http://gdsbedrock.kinsta.cloud/
MIT License
16 stars 4 forks source link

Bump inpsyde/wp-translation-downloader from 2.3 to 2.5 #320

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps inpsyde/wp-translation-downloader from 2.3 to 2.5.

Release notes

Sourced from inpsyde/wp-translation-downloader's releases.

2.5

Use HttpDownloader in [TranslatablePackageFactory

Previously the JSON data was downloaded via file_get_contents(), which did not allow to make use of the stored credentials in Composer Config file. This new implementation will make use of the Composer\Util\HttpDownloader internally, which uses the Composer Config and the stored credentials to send alongside with the Request API Tokens or Basic Auth credentials.

Read more about the changes in docs: Configuration.md

This new implementation solves some requirements from #35 .

QoL

  • workflows/behat.yml // remove composer v2.0 which has no support for PHP 8.1

  • [workflows/behat.yml // add PHP 8.1 and 8.2 and Composer v2.4 and v2.5

  • workflows // add lint-php and combine 3 workflows into 1 workflow run.

2.4

TranslatablePackageFactory

Introduce new placeholders for resolving the endpoint URL dynamically.

For custom GlotPress installations, the REST Endpoints can be cached. We added the following new placeholders, which will automatically be filled in based on the current Package:

  • %packageDistSha1Checksum% - The sha1 checksum for the distribution archive of this version
  • %packageDistReference% - The reference of the distribution archive. E.g., main, 1.0.0, or a commit hash
  • %packageSourceReference% - The repository reference. E.g., main, 1.0.0, or a commit hash
  • %packageUniqueName% - The package's unique name, constructed from name and version
Commits
  • 623b060 Merge pull request #38 from inpsyde/feature/http-downloader-translatable-package
  • cfd3398 Configuration.md // add new section for "Authentication for privately hosted ...
  • 16db260 psalm.
  • 0075589 Make use of HttpDownloader and JsonFile for downloading the TranslatePackage ...
  • aad2a02 workflows/behat.yml // remove composer v2.0 which has no support for PHP 8.1
  • 2e2017c workflows/behat.yml // add PHP 8.1 and 8.2 and Composer v2.4 and v2.5
  • f12245f workflows // add lint-php and combine 3 workflows into 1 workflow run.
  • 531e545 psalm
  • 527f543 psalm
  • 719d6cd phpcs
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
oxyc commented 1 year ago

@dependabot rebase