Skip to content

Releases: robisim74/qwik-speak

v0.15.3

24 Aug 19:50
Compare
Choose a tag to compare
  • Fix: add noSerialize to functions to avoid Code(3) error (#57) 15d47bf
  • Docs: update SSG in adapters ab575c4

v0.15.2...v0.15.3

v0.15.2

05 Aug 08:46
Compare
Choose a tag to compare
  • Tools(extract): fix filename option (#74) ce1beff
  • Add gitattributes & other fixes e5fc41f

v0.15.1...v0.15.2

v0.15.1

27 Jul 06:53
Compare
Choose a tag to compare
  • Tools(Inline): improve logs and add default value 0ec5bca
  • Add gpt-translate-json 2dbd725

v0.15.0...v0.15.1

v0.15.0

12 Jul 19:49
Compare
Choose a tag to compare

Qwik version: ^1.1.4

v0.14.2...v0.15.0

v0.14.2

10 Jul 20:59
Compare
Choose a tag to compare

Qwik version: ^1.1.4

v0.14.1...v0.14.2

v0.14.1

08 Jun 16:22
Compare
Choose a tag to compare

Qwik version: ^1.1.4

v0.14.0...v0.14.1

v0.14.0

21 May 13:46
Compare
Choose a tag to compare

Qwik version: ^1.1.4

  • Feat: support params in arrays/objects 0312563
  • Merge pull request #54 from robisim74/use-functions 1fefc4f
  • Parser: fix conditional params (#52) e3d5ec6

BREAKING CHANGES
Due to problems in recent versions of Qwik, the $translate function and other translation/localization functions have been removed in favor of use* functions:

Before

import { $translate as t } from 'qwik-speak';

export default component$(() => {
  return (
      <h1>{t('app.title@@Qwik Speak')}</h1>
  );
});

After

import { useTranslate } from 'qwik-speak';

export default component$(() => {
  const t = useTranslate();
  
  return (
      <h1>{t('app.title@@Qwik Speak')}</h1>
  );
});

Pros

Cons

  • More boilerplate code

Other translation/localization functions:

  • $inlineTranslate => inlineTranslate (only renaming)
  • $plural => usePlural
  • formatDate => useFormatDate
  • formatNumber => useFormatNumber
  • relativeTime => useRelativeTime
  • displayName => useDisplayName

The doc is updated.

v0.13.0...v0.14.0

v0.13.0

17 May 17:06
Compare
Choose a tag to compare
  • Fix(Inline): $inlineTranslate params 93609f4
  • Refactor: remove useTranslate$ 9523857
  • Refactor: remove origin from loadTranslation$ aed2570

BREAKING CHANGES

  • Remove useTranslate$ in favor of $inlineTranslate due to better performance
  • Remove origin parameter from the signature of loadTranslation$: see here for how to achieve the same using server$ if you are fetching json files

v0.12.2...v0.13.0

v0.12.2

12 May 16:35
Compare
Choose a tag to compare

v0.12.1

11 May 19:38
Compare
Choose a tag to compare
  • Fix: params type & parsing 4a4507e

v0.12.0...v0.12.1