Skip to content

Releases: wearerequired/traduttore

3.2.0

18 Jan 17:08
65e08d6
Compare
Choose a tag to compare

Changed

  • Make project locator more strict when matching paths with existing data to prevent false positives. [#187]

Fixed

  • Don't create JSON translation files for JavaScript source files. [#206]
  • Fix file check for mergeWith option. [#225]
  • GitLab: Use the correct visibility_level value for public repos. [#217]
  • GitLab: URL-encode the project name for the public repo check. [#217]

3.1.0

20 Jul 12:23
4d54530
Compare
Choose a tag to compare

Added

  • Introduce traduttore.map_entries_to_source filter to change the mapping of sources to translation entries. Props @florianbrinkmann. [#170]
  • Support application/x-www-form-urlencoded as content type for GitHub webhooks. [#166]
  • Include file reference in JSON translation files. [#176]

Fixed

  • Fix generating empty language pack ZIP files. Props @florianbrinkmann. [#168]
  • Fix compatibility with GlotPress 3.0 and its stricter type checks. [#174]

3.0.0

15 Mar 10:17
3.0.0
ce443b1
Compare
Choose a tag to compare

Due to the large number of changes in the release it is recommended to update all of the language packs. This can be done with the WP-CLI command wp traduttore language-pack build --all.

Changed

  • Heavy architectural changes to make the plugin more modular.
  • All filters and actions now use . as the separator between the prefix and hook name instead of _.
  • Scheduling of cron events to reduce number of unnecessary builds and updates.
  • Bump Traduttore Registry version to 2.0.
  • Existing WP-CLI commands:
    • wp traduttore build <project>wp traduttore language-pack build <project>
    • wp traduttore cache clear <project>wp traduttore project cache clear <project>
    • wp traduttore update <project>wp traduttore project update <project>

Added

  • Support for Bitbucket.org repositories (Mercurial and Git).
  • Support for GitLab repositories.
  • Support for self-managed repositories (GitLab and others).
  • New REST API route for incoming webhooks (traduttore/v1/incoming-webhook).
  • Support for JavaScript translations.
  • Greatly improved documentation.
  • New WP-CLI commands:
    • wp traduttore info for information about the Traduttore setup.
    • wp traduttore project info <project> for information about a project.
    • wp traduttore language-pack list <project> for listing all language packs in a project.

Deprecated

  • The REST API route github-webhook/v1/push-event for incoming webhooks is replaced by traduttore/v1/incoming-webhook.

Removed

  • Remove all filters and actions with _ as the separator.

2.0.3

09 Jul 08:22
746131f
Compare
Choose a tag to compare
  • Uses HTTPS instead of SSH for cloning repositories if possible
  • Fixed uninstall routine
  • Fixed a few other smaller issues

2.0.2

25 Jun 09:37
586e559
Compare
Choose a tag to compare
  • Fixed a few errors within the CLI commands
  • Fixed an error where deleting the local Git repository wasn't possible (ee4ee06)
  • Introduce TRADUTTORE_WP_BIN constant to allow overriding the path to WP-CLI (#32)
  • Makes sure wp_tempnam() is always available (#31)

2.0.1

21 Jun 05:16
ff57f32
Compare
Choose a tag to compare

Fixed a possible fatal error in the project locator class (b6f6ceb).

Also includes improved code formatting and inline documentation.

2.0.0

19 Jun 07:46
7477398
Compare
Choose a tag to compare

First public release of the Traduttore WordPress plugin that allows you to host your own WordPress.org-style translation API for your WordPress projects.

Features include:

  • Automatic string extraction
  • ZIP file generation and caching
  • Works with any WordPress plugin or theme hosted on GitHub
  • Custom WP-CLI commands to manage translations
  • Supports Restricted Site Access
  • Supports sending Slack notifications