Skip to content

v1.0.3

Compare
Choose a tag to compare
@ttsukagoshi ttsukagoshi released this 03 Jun 19:05
· 112 commits to main since this release

What's Changed

This update addresses the issue that @Fabiombolo has raised in #75: when there was a cell with text length that exceeded Google's limits, the original error message told the user that the text in question was simply too long. Now, the message will inform the user of the maximum acceptable length of the cell text. See #90 for more details.

FYI, this cap on text length comes from Google Apps Script's limitation on the URL length in UrlFetchApp.fetch(), which is 2KB at the time of this release. The DeepL API accepts texts to be translated in the form of https://api-free.deepl.com/v2/translate?auth_key=******&target_lang=en-GB&text=******, so the text length in a cell directly affects the request URL length.

New Feature 🚀

Dev Dependency Updates ⚙️

  • npm(deps-dev): bump @typescript-eslint/eslint-plugin from 5.59.2 to 5.59.8 by @dependabot in #82
  • npm(deps-dev): bump eslint from 8.39.0 to 8.41.0 by @dependabot in #78
  • npm(deps-dev): bump @types/jest from 29.5.1 to 29.5.2 by @dependabot in #80
  • npm(deps-dev): bump @typescript-eslint/parser from 5.59.2 to 5.59.8 by @dependabot in #79
  • npm(deps-dev): bump @types/google-apps-script from 1.0.62 to 1.0.64 by @dependabot in #81
  • npm dedupe by @ttsukagoshi in #83
  • npm(deps-dev): bump typescript from 5.0.4 to 5.1.3 by @dependabot in #84

Misc 🌈

Full Changelog: v1.0.2...v1.0.3