All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Require GlotPress 4.0. [#270]
- Require at least PHP 8.1. [#270]
- Added PHP translation file support. [#270]
- Pass correct parameter for translation set in
traduttore.generate_zip_delay
filter. #236
3.2.0 - 2022-01-18
- Make project locator more strict when matching paths with existing data to prevent false positives. #187
- 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 - 2020-07-20
- 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
- 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 - 2019-03-15
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
.
- 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>
- 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.
- The REST API route
github-webhook/v1/push-event
for incoming webhooks is replaced bytraduttore/v1/incoming-webhook
.
- Remove all filters and actions with
_
as the separator.
2.0.3 - 2018-07-09
- Use HTTPS instead of SSH for cloning repositories if possible.
- Fix uninstall routine and a few other smaller issues.
2.0.2 - 2018-06-25
- Introduce
TRADUTTORE_WP_BIN
constant to allow overriding the path to WP-CLI.
- Fix a few errors within the CLI commands.
- Fix an error where deleting the local Git repository wasn't possible.
- Make sure
wp_tempnam()
is always available.
2.0.1 - 2018-06-21
- Fix a possible fatal error in the project locator class.
- Improve code formatting and inline documentation.
- CLI commands.
- ZIP file generation.
- Translation API.
- Slack notifications.
- Initial release.