.. index:: Changelog Changelog ========= 2.2.0 (17-Apr-2024) ------------------- * Require Python 3.8 * Update dependencies 2.1.2 (09-Aug-2023) ------------------- * Relaxed typings for `create_webhook` and `update_webhook` to allow passing the necessary parameters 2.1.1 (27-Feb-2023) ------------------- * Added the `source_language_iso` attribute for the `Task` model (thanks, @MVasquezDXC) * Updated dependencies 2.1.0 (11-Jan-2023) ------------------- * Updated the `jwt()` method. To request a JWT, you must provide the project ID: .. code-block:: python response = client.jwt("1234.abcd") response.jwt # => "eyJ0eXAiOiJK..." 2.0.0 (09-Dec-2022) ------------------- * Drop support for Python 3.6 * Switch to Poetry to perform dependency management and build * Minor updates 1.7.0 (30-Nov-2022) ------------------- * Added support for the `JWT endpoint `_. .. code-block:: python response = client.jwt() response.jwt # => "eyJ0eXAiOiJK..." 1.6.0 (05-Oct-2022) ------------------- * Added `file_id` attribute to `File` model: .. code-block:: python files = client.files(project_id) files.items[0].file_id # => 839819 1.5.0 (07-Jul-2022) ------------------- * Added support for `Delete file endpoint `_: .. code-block:: python response = client.delete_file(project_id, file_id) response['file_deleted'] # => True 1.4.0 (07-Mar-2022) ------------------- * Added support for OAuth 2 flow. You can now request `OAuth 2 tokens using this client `_: .. code-block:: python auth_client = lokalise.Auth('client id', 'client secret') url = auth_client.auth(["read_projects", "write_team_groups"]) token_data = auth_client.token('auth code') refreshed_token_data = auth_client.refresh('refresh token') * Do not test with Python 3.6 anymore (EOL) 1.3.0 (17-Dec-2021) ------------------- * Added support for `TeamUserBillingDetails endpoint `_ * Added support for `Segments endpoint `_ 1.2.0 (27-Oct-21) ----------------- * Add ability to use `OAuth 2 tokens `_ instead of API tokens obtained from Lokalise profile. .. code-block:: python client = lokalise.OAuthClient('YOUR_OAUTH2_API_TOKEN') project = client.project('123.abc') 1.1.1 (21-Sep-21) ----------------- * Fixed an issue with exception handling when the returned response doesn't contain an `error` key * Update dependencies 1.1.0 (15-Jul-21) ----------------- * Added support for gzip compression. It's off by default but you can enable it by setting the `enable_compression` option to `True`: .. code-block:: python client = lokalise.Client('token', connect_timeout=5, read_timeout=7, enable_compression=True) 1.0.0 (29-Apr-21) ----------------- * The plugin is being actively used for nearly a year, the code is fully reviewed therefore we now consider it to be stable and the first 1.x version is now live. No breaking changes were introduced in this release. 0.4.0 (28-Apr-21) ----------------- * Add `task_id` attribute to `Translation` 0.3.0 (01-Mar-21) ----------------- * Add `payment_method` attribute to `Order` 0.2.0 (02-Feb-21) ----------------- * Add `auto_close_items` attribute for `Task` * Update all dependencies 0.1.1 (22-Dec-20) ----------------- * Update all dependencies * Test against Python 3.9 0.1.0 (30-Jun-20) ----------------- * Initial release