Skip to content

v0.17.0: Merge pull request #97 from robisim74/dev-inline-v3

Compare
Choose a tag to compare
@robisim74 robisim74 released this 25 Nov 14:29
· 55 commits to main since this release
2b1ed24

Qwik version: ^1.2.18

What's new
This release adds support for inlining also in dev mode, removes the context for inlined translations and replace translation functions:

  • same behavior in dev and prod mode
  • reduce the usage of scoped translation
  • hot reload for json changes
  • inlineTranslate & inlinePlural functions:
    • work in props and attributes
    • work out of context
    • translating meta tags in head no longer requires dynamic translations
    • can work on server
  • routing functions: localizePath and translatePath

Breaking changes

  • Old inlineTranslate => new inlineTranslate without context
  • Rename useTranslate to inlineTranslate
  • Rename usePlural to inlinePlural
  • Remove QwikSpeakProvider component => useQwikSpeak
  • Remove Speak component => useSpeak
  • Testing: QwikSpeakProvider component => QwikSpeakMockProvider component

Please, check the docs, quick start and tutorials for more details.

  • Merge pull request #97 from robisim74/dev-inline-v3 2b1ed24

v0.16.0...v0.17.0