Skip to content

2.4

Compare
Choose a tag to compare
@Chrico Chrico released this 09 Dec 13:09
· 22 commits to master since this release
531e545

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