CHANGELOG.md
# Changelog
## [v1.23](https://github.com/translation/laravel/releases/tag/v1.23) (2023-04-13)
#### Fixes (bugs & defects):
* Remove deprecation warning ([#34](https://github.com/translation/laravel/issues/34)).
## [v1.22](https://github.com/translation/laravel/releases/tag/v1.22) (2023-02-16)
#### New features:
* Compatible with Laravel 10.
#### Fixes (bugs & defects):
* Make `gettext_locales_path` optional with fallback to current `path.lang`/gettext directory (better default for Laravel >= 9)
## [v1.21](https://github.com/translation/laravel/releases/tag/v1.21) (2022-12-26)
#### Fixes (bugs & defects):
* Use the main php-vcr repository again for tests. They now support Symfony 6 and newest Laravel versions: (cf. [php-vcr/php-vcr#361](https://github.com/php-vcr/php-vcr/pull/361)).
## [v1.20](https://github.com/translation/laravel/releases/tag/v1.20) (2022-06-16)
#### New features:
* Add user-friendly warnings when a not-valid JSON file failed to be loaded.
## [v1.19](https://github.com/translation/laravel/releases/tag/v1.19) (2022-05-12)
#### Fixes (bugs & defects):
* Better code standards for generated PHP files ([#31](https://github.com/translation/laravel/pull/31)).
## [v1.18](https://github.com/translation/laravel/releases/tag/v1.18) (2022-03-29)
#### Fixes (bugs & defects):
* Better support for Laravel 9 new default `lang` path (instead of previously `resources/lang` path).
## [v1.17](https://github.com/translation/laravel/releases/tag/v1.17) (2022-02-18)
#### New features:
* Support for Laravel 9
## [v1.16](https://github.com/translation/laravel/releases/tag/v1.16) (2021-04-23)
**This package no longer support Laravel versions smaller than 5.5**
#### New features:
* Support for multiple JSON paths. See [here](https://github.com/translation/laravel#laravel-localization-json-source-text) to add them (cf. [#24](https://github.com/translation/laravel/issues/24) and [PR #25](https://github.com/translation/laravel/pull/25)), thanks @inxilpro.
* Ignore untranslated keys when syncing and creating JSON files on disk (same behavior).
## [v1.15](https://github.com/translation/laravel/releases/tag/v1.15) (2021-04-06)
#### Fixes (bugs & defects):
* Better error management for errors like "SSL certificate problem" that don't have any response body.
## [v1.14](https://github.com/translation/laravel/releases/tag/v1.14) (2021-03-11)
#### Fixes (bugs & defects):
* Bump `gettext/gettext` dependency to fix PHP 8 compatibility (cf. [#22](https://github.com/translation/laravel/issues/22) and [https://github.com/php-gettext/Gettext/pull/266](https://github.com/php-gettext/Gettext/pull/266))
## [v1.13](https://github.com/translation/laravel/releases/tag/v1.13) (2020-11-19)
#### Fixes (bugs & defects):
* Bump `gettext/gettext` dependency to fix GetText parsing with Blade Component Tags (cf. [#17](https://github.com/translation/laravel/issues/17) and [https://github.com/php-gettext/Gettext/pull/261](https://github.com/php-gettext/Gettext/pull/261))
## [v1.12](https://github.com/translation/laravel/releases/tag/v1.12) (2020-09-14)
#### Fixes (bugs & defects):
* Relax Guzzle dependency to work with Laravel 8
## [v1.11](https://github.com/translation/laravel/releases/tag/v1.11) (2020-09-14)
#### New features:
* Compatibility with Laravel 8
## [v1.10](https://github.com/translation/laravel/releases/tag/v1.10) (2020-04-27)
#### New features:
* Compatibility with Laravel 7 and PHP 7.4
## [v1.9](https://github.com/translation/laravel/releases/tag/v1.9) (2019-10-09)
#### New features:
* Add "ignored_key_prefixes" option ([documentation](https://github.com/translation/laravel#ignored-php-keys)).
* Better API request error management.
#### Fixes (bugs & defects):
* `gettext_parse_paths` and `gettext_locales_path` are now optional and will use the default values if not specified.
## [v1.8](https://github.com/translation/laravel/releases/tag/v1.8) (2019-09-17)
#### Fixes (bugs & defects):
* Don't crash on sync when locale files don't contain a specific key for source editions, thanks @lsmith77
## [v1.7](https://github.com/translation/laravel/releases/tag/v1.7) (2019-09-16)
#### New features:
* Laravel 6 compatibility ([#14](https://github.com/translation/laravel/pull/14))
## [v1.6](https://github.com/translation/laravel/releases/tag/v1.6) (2019-01-31)
#### Fixes (bugs & defects):
* Default locale independent to translation setup ([#9](https://github.com/translation/laravel/pull/9)), thanks @nikosv
* Improve readability of target language JSON files by not escaping unicode chars or slashes.
## [v1.5](https://github.com/translation/laravel/releases/tag/v1.5) (2018-09-28)
#### Fixes (bugs & defects):
* Increase the compatibility with Laravel 5.1 (maybe less).
## [v1.4](https://github.com/translation/laravel/releases/tag/v1.4) (2018-09-07)
#### Fixes (bugs & defects):
* Fix important bug that didn't detect some existing translations when `php artisan translation:init` a new already-translated project.
## [v1.3](https://github.com/translation/laravel/releases/tag/v1.3) (2018-08-08)
#### New features:
* Management of JSON translations (source text) (more info [here](https://github.com/translation/laravel#laravel-localization-json-source-text)).
## [v1.2](https://github.com/translation/laravel/releases/tag/v1.2) (2018-07-13)
#### Fixes (bugs & defects):
* If a sync received no content for a PHP file (ex: if it was untranslated), it was not removed an neither its content.
## [v1.1](https://github.com/translation/laravel/releases/tag/v1.1) (2018-04-10)
#### New features:
* 'set.locale' middleware to set the locale globally (more info [here](https://github.com/translation/laravel#globally)).
## [v1.0](https://github.com/translation/laravel/releases/tag/v1.0) (2018-03-23)
#### New features:
* Synchronize PHP keys/values and GetText with Translation.io.