# Changelog ## v0.6.2 - 2024-03-19 - Add support for AR (Arabic) - Support automatically switch API backend ## v0.6.1 - 2024-03-01 - Wrap panic into Result ## v0.6.0 - 2024-02-21 - Fix incorrect implmentation of glossary API ## v0.5.1 - 2024-02-21 - Add `context` field into translate API - make all field in glossary API as public ## v0.5.0 - 2024-02-21 - Add type constraint for glossary APIs ## v0.4.6 - 2024-02-14 - Implement all the glossaries related API ## v0.4.5 - 2024-01-26 - Re-export the `LangConvertError` struct ## v0.4.4 - 2023-11-20 - Add new `languages` endpoint - Add `KO` and `NB` language variant ## [v0.4.3] - 2023-09-11 - Improve code document ## [v0.4.2] - 2023-06-23 - Include formality in impl_requester ## [v0.4.1] - 2023-02-23 - Add `Clone` derive for `Lang` ## [v0.4.0] - 2023-01-26 ### Changed - (**BREAKING**) Implement auto send for all endpoint - (**BREAKING**) `DeepLApi` implementation is now separated to multiple endpoint file - (**BREAKING**) `DeepLApiResponse` is now renamed to `TranslateTextResp` - (**BREAKING**) `DeepLApi` is now init by `::with()` function and build by `.new()` function - Using `docx-rs` to parse document content for testing ## [v0.3.0] - 2023-01-10 ### Changed - (**BREAKING**) `Lang::from` is now replaced with `Lang::try_from` ## [v0.2.0] - 2023-01-08 ### Added - Full API options for endpoint `translate` - New builder for DeepLApi - Complete some missing document ### Changed - Correct all the typo - `reqwest` crate is re-exported - (**BREAKING**) `translate` function only accept `TranslateTextProp` now ## [v0.1.6] - 2022-12-02 ### Fixed - Fix document download issue ### Changed - Use `AsRef` as `UploadDocumentProp::file_path` type - Use only `output` parameter for function `download_document` ## [v0.1.3] - 2022-11-29 ### Added - New upload document API - More language variants implemented - Allow user using Pro version API ## [v0.1.2] - 2022-09-20 ### Added - New API `get_usage()` to get current API usage ### Changed - Replace Anyhow::Result with custom Error