Skip to content

Commit

Permalink
Merge pull request #71 from faberNovel/release/4.0.9
Browse files Browse the repository at this point in the history
Bump to 4.0.9
  • Loading branch information
felginep authored Sep 6, 2021
2 parents 68ed8ea + 3330806 commit 14017b0
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 64 deletions.
165 changes: 110 additions & 55 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,147 +1,202 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [4.0.9] - 2021-09-05

### Fixed

- Fix error warning when spreadsheet is empty. Fix [#58](https://github.com/applidium/ad_localize/issues/58) in PR [#69](https://github.com/applidium/ad_localize/pull/69)
- Add warning messages when input is corrupted. Fix [#59](https://github.com/applidium/ad_localize/issues/59) in PR [#69](https://github.com/applidium/ad_localize/pull/69)
- Fix performance issue and add warning messages. Fix [#61](https://github.com/applidium/ad_localize/issues/61) in PR [#69](https://github.com/applidium/ad_localize/pull/69)
- Update deprecated `google-api-client` gem. Fix [#63](https://github.com/applidium/ad_localize/issues/63) in PR [#70](https://github.com/applidium/ad_localize/pull/70)

## [4.0.8] - 2021-05-25

### Fixed

- Add `NFCReaderUsageDescription` to InfoPlist keys for iOS

## [4.0.7] - 2021-05-18

### Changed

- Support Ruby 3.x

## [4.0.6] - 2020-01-25

### Fixed
- Fix google spreadsheet sheet id comparison with sheet_ids option value

- Fix google spreadsheet sheet id comparison with sheet_ids option value

## [4.0.5] - 2020-11-12

### Fixed
- Fix csv file type check (also add compatibility with macOS Big Sur)

- Fix csv file type check (also add compatibility with macOS Big Sur)

## [4.0.4] - 2020-11-09

### Fixed
- Fix android special character escaping [#56](https://github.com/applidium/ad_localize/issues/56)
- Fix platform filter on export [#55](https://github.com/applidium/ad_localize/issues/55)

- Fix android special character escaping [#56](https://github.com/applidium/ad_localize/issues/56)
- Fix platform filter on export [#55](https://github.com/applidium/ad_localize/issues/55)

### Changed
- Use default terminal color for debug log

- Use default terminal color for debug log

## [4.0.3] - 2020-10-27

### Fixed
- Fix CSV detection and remove dependency to MimeType gem
- Fix drive key detection in options

- Fix CSV detection and remove dependency to MimeType gem
- Fix drive key detection in options

## [4.0.2] - 2020-10-26

### Fixed
- Use percent HTML char for escaping '%' on android. [#49](https://github.com/applidium/ad_localize/pull/49) by [flolom](https://github.com/flolom)

- Use percent HTML char for escaping '%' on android. [#49](https://github.com/applidium/ad_localize/pull/49) by [flolom](https://github.com/flolom)

## [4.0.1] - 2020-10-19

### Fixed
- delete downloaded files even when any of them is a CSV file

- delete downloaded files even when any of them is a CSV file

## [4.0.0] - 2020-10-19

### Breaking change
- Precedence to csv files. Only CSV files will be exported if both csv file and google spreadsheet are provided
- In case of multiple CSVs or sheet ids, you should be aware that all sources will be merged. By default the merge policy to keep the first wording translation for each key
- New architecture. Separate export process responsibilities in dedicated classes. Fixes [#48](https://github.com/applidium/ad_localize/issues/48), [#20](https://github.com/applidium/ad_localize/issues/20)

- Precedence to csv files. Only CSV files will be exported if both csv file and google spreadsheet are provided
- In case of multiple CSVs or sheet ids, you should be aware that all sources will be merged. By default the merge policy to keep the first wording translation for each key
- New architecture. Separate export process responsibilities in dedicated classes. Fixes [#48](https://github.com/applidium/ad_localize/issues/48), [#20](https://github.com/applidium/ad_localize/issues/20)

### Changed
- it is now possible to provide an output path path that does not exist
- if a service account configuration is provided, there won't be any files downloaded
- it is now possible to provide a sheet id list
- `ActiveSupport::TestCase` is now the base class of test classes
- Only global constants are in the constant class
- Replaced the Runner class file by a cli class
- tests for ad_localize class are restricted to the minimum
- No more file generated when there are no data to export
- Less verbose logs. Now, they only describe the different steps of the export process
- do not add `InfoPlist` translations to android `strings.xml`

- it is now possible to provide an output path path that does not exist
- if a service account configuration is provided, there won't be any files downloaded
- it is now possible to provide a sheet id list
- `ActiveSupport::TestCase` is now the base class of test classes
- Only global constants are in the constant class
- Replaced the Runner class file by a cli class
- tests for ad_localize class are restricted to the minimum
- No more file generated when there are no data to export
- Less verbose logs. Now, they only describe the different steps of the export process
- do not add `InfoPlist` translations to android `strings.xml`

### Added
- -e, -export_all_sheets option export all sheets from a spreadsheet by [@sjcqs](https://github.com/sjcqs)
- -m, --merge-option to select the merge policy (`keep` or `replace`) by [@sjcqs](https://github.com/sjcqs)
- it is now possible to select which locales you want to export
- key class is tested
- option handler is tested
- execute_export_request is tested (only csv)
- export request is tested
- dedicated folder for fixture files
- add ability to use AdLocalize in a Ruby program
- add documentation for JSON and YAML support. Fixes [#23](https://github.com/applidium/ad_localize/issues/23)

- -e, -export_all_sheets option export all sheets from a spreadsheet by [@sjcqs](https://github.com/sjcqs)
- -m, --merge-option to select the merge policy (`keep` or `replace`) by [@sjcqs](https://github.com/sjcqs)
- it is now possible to select which locales you want to export
- key class is tested
- option handler is tested
- execute_export_request is tested (only csv)
- export request is tested
- dedicated folder for fixture files
- add ability to use AdLocalize in a Ruby program
- add documentation for JSON and YAML support. Fixes [#23](https://github.com/applidium/ad_localize/issues/23)

### Fixed
- comments will now be added to iOS and Android plural files
- do not remove existing files in export output folder. Fixes [#40](https://github.com/applidium/ad_localize/issues/40)

- comments will now be added to iOS and Android plural files
- do not remove existing files in export output folder. Fixes [#40](https://github.com/applidium/ad_localize/issues/40)

### Removed
- no more option -a option to indicate that a service account configuration will be provided. If set, the environment variable `GCLOUD_CLIENT_SECRET` content will be used
- no more substitution of empty wording with by "Missing Translation" when using the option -d
- no more Makefile, the Rakefile is sufficient. Use `bundle exec rake -T` to display the available commands
- no more check for ordered interpolation variables in translations

- no more option -a option to indicate that a service account configuration will be provided. If set, the environment variable `GCLOUD_CLIENT_SECRET` content will be used
- no more substitution of empty wording with by "Missing Translation" when using the option -d
- no more Makefile, the Rakefile is sufficient. Use `bundle exec rake -T` to display the available commands
- no more check for ordered interpolation variables in translations

## [3.6.0] - 2020-06-23

### Added
- add documentation for service account usage by [@sjcqs](https://github.com/sjcqs)
- add compatibility with activesupport 6 by [@Hugo-Hache](https://github.com/Hugo-Hache)

- add documentation for service account usage by [@sjcqs](https://github.com/sjcqs)
- add compatibility with activesupport 6 by [@Hugo-Hache](https://github.com/Hugo-Hache)

### Changed

### Fixed

## [3.5.0] - 2020-05-12

### Added
- add support for private spreadsheet using google service acccount by [@sjcqs](https://github.com/sjcqs). Fixes [#31](https://github.com/applidium/ad_localize/issues/31)
- add makefile for easier testing by [@felginep](https://github.com/felginep)

- add support for private spreadsheet using google service acccount by [@sjcqs](https://github.com/sjcqs). Fixes [#31](https://github.com/applidium/ad_localize/issues/31)
- add makefile for easier testing by [@felginep](https://github.com/felginep)

### Changed
- improve error message to have useful information in case of google spreadsheet use by [@felginep](https://github.com/felginep). Fixes [#27](https://github.com/applidium/ad_localize/issues/27)
- platform folder is no longer generated when there is only one platform selected. The files are directly generated in the output path. By [@felginep](https://github.com/felginep). Fixes [#29](https://github.com/applidium/ad_localize/issues/29)
- raise error when google spreadsheet key is invalid by [@felginep](https://github.com/felginep)

- improve error message to have useful information in case of google spreadsheet use by [@felginep](https://github.com/felginep). Fixes [#27](https://github.com/applidium/ad_localize/issues/27)
- platform folder is no longer generated when there is only one platform selected. The files are directly generated in the output path. By [@felginep](https://github.com/felginep). Fixes [#29](https://github.com/applidium/ad_localize/issues/29)
- raise error when google spreadsheet key is invalid by [@felginep](https://github.com/felginep)

### Fixed
- auto escape strings in Localizable.strings by [@felginep](https://github.com/felginep). Fixes [#26](https://github.com/applidium/ad_localize/issues/26)
- trim keys to prevent user error by [@felginep](https://github.com/felginep). Fixes [#16](https://github.com/applidium/ad_localize/issues/16)

- auto escape strings in Localizable.strings by [@felginep](https://github.com/felginep). Fixes [#26](https://github.com/applidium/ad_localize/issues/26)
- trim keys to prevent user error by [@felginep](https://github.com/felginep). Fixes [#16](https://github.com/applidium/ad_localize/issues/16)

## [3.4.0] - 2019-02-10

### Added
- Rails folks, [@epaillous](https://github.com/epaillous) has improved the YAML support. You can now have multi-level wording.

- Rails folks, [@epaillous](https://github.com/epaillous) has improved the YAML support. You can now have multi-level wording.

## [3.3.0] - 2019-02-10

### Added
- improve React support using keys with dots to generate nested JSON files by [@epaillous](https://github.com/epaillous)

- improve React support using keys with dots to generate nested JSON files by [@epaillous](https://github.com/epaillous)

## [3.2.0] - 2019-12-10

### Added
- Add tests to compare reference exports by [@felginep](https://github.com/felginep)
- [iOS only] Handle [adaptive strings](https://developer.apple.com/documentation/foundation/nsstring/1413104-variantfittingpresentationwidth) by [@felginep](https://github.com/felginep)

- Add tests to compare reference exports by [@felginep](https://github.com/felginep)
- [iOS only] Handle [adaptive strings](https://developer.apple.com/documentation/foundation/nsstring/1413104-variantfittingpresentationwidth) by [@felginep](https://github.com/felginep)

### Changed
- Fix issue with Info.plist format by [@felginep](https://github.com/felginep)
- Do not export plurals for android when there are no values by [@felginep](https://github.com/felginep)

- Fix issue with Info.plist format by [@felginep](https://github.com/felginep)
- Do not export plurals for android when there are no values by [@felginep](https://github.com/felginep)

## [3.1.0] - 2019-09-30

### Added
- [iOS only] Info.plist generation support by [@felginep](https://github.com/felginep)

- [iOS only] Info.plist generation support by [@felginep](https://github.com/felginep)

### Changed
- No more warning log for empty lines by [@felginep](https://github.com/felginep)

- No more warning log for empty lines by [@felginep](https://github.com/felginep)

## [3.0.0] - 2019-02-19

TODO

## [2.1.0] - 2016-12-22

TODO

## [2.0.0] - 2016-07-05

TODO

## [1.1.0] - 2016-04-27

TODO

## [1.0.0] - 2016-04-25

TODO

## [0.1.0] - 2016-04-25

TODO
16 changes: 8 additions & 8 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
ad_localize (4.0.8)
ad_localize (4.0.9)
activesupport (>= 6.1.3.2, < 7.0)
colorize (~> 0.8)
google-apis-sheets_v4 (~> 0.9)
Expand All @@ -26,7 +26,7 @@ GEM
concurrent-ruby (1.1.9)
declarative (0.0.20)
diffy (3.3.0)
faraday (1.7.0)
faraday (1.7.1)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
Expand Down Expand Up @@ -56,13 +56,13 @@ GEM
webrick
google-apis-sheets_v4 (0.9.0)
google-apis-core (>= 0.4, < 2.a)
googleauth (0.17.0)
googleauth (0.17.1)
faraday (>= 0.17.3, < 2.0)
jwt (>= 1.4, < 3.0)
memoist (~> 0.16)
multi_json (~> 1.11)
os (>= 0.9, < 2.0)
signet (~> 0.14)
signet (~> 0.15)
httpclient (2.8.3)
i18n (1.8.10)
concurrent-ruby (~> 1.0)
Expand All @@ -78,7 +78,7 @@ GEM
ruby-progressbar
multi_json (1.15.0)
multipart-post (2.1.1)
nokogiri (1.12.3)
nokogiri (1.12.4)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
os (1.1.1)
Expand All @@ -93,8 +93,8 @@ GEM
rexml (3.2.5)
ruby-progressbar (1.10.1)
ruby2_keywords (0.0.5)
signet (0.15.0)
addressable (~> 2.3)
signet (0.16.0)
addressable (~> 2.8)
faraday (>= 0.17.3, < 2.0)
jwt (>= 1.5, < 3.0)
multi_json (~> 1.10)
Expand All @@ -118,4 +118,4 @@ DEPENDENCIES
rake (~> 12.3)

BUNDLED WITH
2.2.15
2.2.26
2 changes: 1 addition & 1 deletion lib/ad_localize/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module AdLocalize
VERSION = "4.0.8"
VERSION = "4.0.9"
end

0 comments on commit 14017b0

Please sign in to comment.