T2s

Latest version: v2021.1

Safety actively analyzes 627604 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

2.2.3

------------------

Features
~~~~~~~~

- Added Bulgarian language support (`302 <https://github.com/pndurette/gTTS/issues/302>`_)

2.2.2

------------------

Features
~~~~~~~~

- Adds a language fallback feature for deprecated languages to maintain compatiblity (e.g. ``en-us`` becomes ``en``). Fallback can be disabled with ``lang_check=False`` or ``--nocheck`` for the cli (`267 <https://github.com/pndurette/gTTS/issues/267>`_)


Bugfixes
~~~~~~~~

- Fix Python 2.7 compatiblity (!). Python 2 is long gone, but the cut wasn't clearly communicated for gTTS, so it was restored. Python 2 support will be completely removed in the next major release. (`255 <https://github.com/pndurette/gTTS/issues/255>`_)
- Language code case sensitivity is maintained throughout (`267 <https://github.com/pndurette/gTTS/issues/267>`_)


Deprecations and Removals
~~~~~~~~~~~~~~~~~~~~~~~~~

- The following list of 'hyphenated' language codes no longer work and have been removed: ``en-us``, ``en-ca``, ``en-uk``, ``en-gb``, ``en-au``, ``en-gh``, ``en-in``, ``en-ie``, ``en-nz``, ``en-ng``, ``en-ph``, ``en-za``, ``en-tz``, ``fr-ca``, ``fr-fr``, ``pt-br``, ``pt-pt``, ``es-es``, ``es-us``, ``zh-cn``, ``zh-tw`` (`267 <https://github.com/pndurette/gTTS/issues/267>`_)
- Removed the ``gtts.get_url()`` method (outdated since ``2.1.0``) (`270 <https://github.com/pndurette/gTTS/issues/270>`_)

2.2.1

------------------

Bugfixes
~~~~~~~~

- ``_package_rpc()`` was erroneously packaging the entire text instead of tokenized part (`252 <https://github.com/pndurette/gTTS/issues/252>`_)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Removes reference to automatic retrieval of languages (`250 <https://github.com/pndurette/gTTS/issues/250>`_)


Misc
~~~~

- `251 <https://github.com/pndurette/gTTS/issues/251>`_

2.2.0

------------------

Features
~~~~~~~~

- Switch to the newer Google TTS API (thanks to `Boudewijn26! <https://github.com/pndurette/gTTS/pull/244>`_). See `his great writeup <https://github.com/Boudewijn26/gTTS-token/blob/master/docs/november-2020-translate-changes.md>`_ for more on the methodology and why this was necessary. (`#226 <https://github.com/pndurette/gTTS/issues/226>`_, `#232 <https://github.com/pndurette/gTTS/issues/232>`_, `#236 <https://github.com/pndurette/gTTS/issues/236>`_, `#241 <https://github.com/pndurette/gTTS/issues/241>`_)


Deprecations and Removals
~~~~~~~~~~~~~~~~~~~~~~~~~

- Removed automatic language download from the main code, which has become too unreliable & slow.
Languages will still be fetched but a pre-generated list will be shipped with ``gTTS``. (`233 <https://github.com/pndurette/gTTS/issues/233>`_, `#241 <https://github.com/pndurette/gTTS/issues/241>`_, `#242 <https://github.com/pndurette/gTTS/issues/242>`_, `#243 <https://github.com/pndurette/gTTS/issues/243>`_)
- Because languages are now pre-generated, removed custom TLD support for language URL (which allowed to get language **names** in other than English) (`245 <https://github.com/pndurette/gTTS/issues/245>`_)


Misc
~~~~

- `245 <https://github.com/pndurette/gTTS/issues/245>`_

2.1.2

------------------

Features
~~~~~~~~

- Update `gTTS-token` to `1.1.4` (`238 <https://github.com/pndurette/gTTS/issues/238>`_)


Bugfixes
~~~~~~~~

- Fixed an issue where some tokens could be empty after minimization (`229 <https://github.com/pndurette/gTTS/issues/229>`_, `#239 <https://github.com/pndurette/gTTS/issues/239>`_)


Improved Documentation
~~~~~~~~~~~~~~~~~~~~~~

- Grammar, spelling and example fixes (`227 <https://github.com/pndurette/gTTS/issues/227>`_)


Misc
~~~~

- `218 <https://github.com/pndurette/gTTS/issues/218>`_, `#230 <https://github.com/pndurette/gTTS/issues/230>`_, `#231 <https://github.com/pndurette/gTTS/issues/231>`_, `#239 <https://github.com/pndurette/gTTS/issues/239>`_

2.1.1

------------------

Bugfixes
~~~~~~~~

- Debug mode now uses a copy of locals() to prevent RuntimeError (`213 <https://github.com/pndurette/gTTS/issues/213>`_)

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.