Skip to content

Latest commit

 

History

History
481 lines (248 loc) · 14.8 KB

CHANGELOG.md

File metadata and controls

481 lines (248 loc) · 14.8 KB

3.2.0 (2022-10-21)

⭐ New Features

Committers: 1

3.1.4 (2022-10-20)

🐛 Bug Fixes

  • Fix node 12 support (990fd5f)

3.1.3 (2022-10-20)

🐛 Bug Fixes

  • Remove problematic browser field (0195b03)

3.1.2 (2022-10-20)

🐛 Bug Fixes

  • Remove conditional export that interferes with Nuxt 2

3.1.1 (2022-08-22)

📈 Performance Fixes

Committers: 1

3.1.0 (2022-07-18)

⭐ New Features

  • #780 Allow to change function for warning about missing translations (@Demivan)

Committers: 1

3.0.3 (2022-06-29)

🐛 Bug Fixes

Committers: 1

3.0.2 (2022-06-28)

🐛 Bug Fixes

📝 Documentation

Committers: 3

3.0.1 (2022-01-10)

🐛 Bug Fixes

Committers: 1

v3.0.0 (2021-06-12)

🎉 Stable release 🎉

Complete rewrite of the library since version 2

  • Support Vue 3 and 2
  • Composition api support
  • Webpack loader for defining translation resources in SFC custom blocks
  • Rollup/Vite plugin for defining translation resources in SFC custom blocks
  • Added Typescript type definitions
  • #472 Pass message attributes as i18n component slots props (@davidrios)

v3.0.0-beta.19 (2021-09-01)

🐛 Bug Fixes

  • fluent-vue-cli
    • #686 Fix compiler-sfc trying to access the document (@Demivan)

Committers: 1

v3.0.0-beta.17 (2021-08-28)

⭐ New Features

  • fluent-vue-cli, fluent-vue

🐛 Bug Fixes

  • fluent-vue

📝 Documentation

Committers: 1

v3.0.0-beta.16 (2021-07-19)

⭐ New Features

  • rollup-plugin-fluent-vue

🐛 Bug Fixes

  • fluent-vue-loader

📝 Documentation

Committers: 1

v3.0.0-beta.15 (2021-07-15)

⭐ New Features

  • fluent-vue-loader, fluent-vue
    • #644 Add exports and homepage fields to package.json (@Demivan)

Committers: 1

v3.0.0-beta.14 (2021-06-24)

⭐ New Features

📝 Documentation

Committers: 1

v3.0.0-beta.13 (2021-06-12)

⭐ New Features

💥 Breaking Change

Initialization code changed from:

const enBundle = new FluentBundle('en')
const ukBundle = new FluentBundle('uk')

const fluent = createFluentVue({
  locale: 'en',
  bundles: [enBundle, ukBundle]
})

to:

const enBundle = new FluentBundle('en')
const ukBundle = new FluentBundle('uk')

const fluent = createFluentVue({
  bundles: [enBundle]
})

Instead of using locale property to select current locale, bundles property is now used as current negotiated fallback chain of languages.

This allows consumers to choose language negotiation logic suitable for their app.

Committers: 1

v3.0.0-beta.12 (2021-06-07)

🐛 Bug Fixes

  • fluent-vue
    • #621 Fix directive not updating on locale change with Vue 3.1.0 (@Demivan)

Committers: 1

v3.0.0-beta.11 (2021-06-06)

🐛 Bug Fixes

  • fluent-vue
    • #612 Fix error when using useFluent method from Vue 2 (@Demivan)

Committers: 1

v3.0.0-beta.10 (2021-05-31)

⭐ New Features

🐛 Bug Fixes

📝 Documentation

Committers: 1

v3.0.0-beta.9 (2021-04-13)

⭐ New Features

  • fluent-vue
    • #472 Pass message attributes as i18n component slots props (@davidrios)

Committers: 2

v3.0.0-beta.8 (2021-04-01)

Bug Fixes

  • component: fix i18n component not rerendering on args change (#459) (57a2c12)

v3.0.0-beta.7 (2021-03-15)

v3.0.0-beta.6 (2021-03-15)

Bug Fixes

  • loader: trim leading and trailing newlines added by vue-loader (63d71fc)

Features

  • composition: Add $t and $ta methods to useFluent() (2697abe)

v3.0.0-beta.5 (2021-01-14)

Bug Fixes

  • component: fix runtime warning (80fae89)

v3.0.0-beta.4 (2020-12-21)

Features

  • add hmr to fluent-vue-loader (4c05f49)

v3.0.0-beta.3 (2020-11-26)

Bug Fixes

  • allow $ta method to work without text (#170) (5597392)
  • i18n component not working with message overrides (#236) (7b3c170)

v3.0.0-beta.2 (2020-10-08)

v3.0.0-beta.1 (2020-10-08)

Bug Fixes

Features

v3.0.0-beta.0 (2020-08-02)

v3.0.0-alpha.3 (2020-08-02)

Bug Fixes

  • do not remove root context (de1042f)

v3.0.0-alpha.2 (2020-08-02)

Bug Fixes

  • bring back ability to dynamically add bundles (e1360d3)

v3.0.0-alpha.1 (2020-08-02)

v3.0.0-alpha.0 (2020-07-12)

Code Refactoring

  • add 'locale' option for selecting locale (56a1aac)
  • change how plugin is initialized (da7728f)

Features

  • loader: add webpack fluent-vue-loader (69e5423)

BREAKING CHANGES

  • plugin initialization code changed:
import { createFluentVue } from 'fluent-vue'

const fluent = createFluentVue({
  locale: 'en',
  bundles: bundles
})

Vue.use(fluent)
  • instead of using order of bundles for selecting locale 'locale' property on fluent object should be used

v2.4.5 (2020-04-13)

Bug Fixes

  • package: update yarn.lock to reduce vulnerabilities (faae0be)

v2.4.4 (2020-04-13)

Bug Fixes

  • package.json & yarn.lock to reduce vulnerabilities (#59) (8f61162)

v2.4.3 (2020-03-07)

Bug Fixes

  • package: update @fluent/dedent to version 0.2.0 (2363355)
  • package: update @fluent/sequence to version 0.5.0 (27e5d23)

v2.4.2 (2020-02-18)

Bug Fixes

  • reduce bundle size by not bundling npm dependencies (6faca34)
  • types: improve typescript type definitions (a07a8e3)

v2.4.1 (2020-02-16)

Bug Fixes

  • package: make @fluent/bundle a peer dependency and @fluent/dedent a dev dependency (14c487c), closes #43
  • package: update @fluent/bundle to version 0.15.0 (2991da9)

Features

  • component: add component for component interpolation (79bac0a)
  • directive: add whitelist for allowed attributes on element (ee9c516), closes #11
  • directive: allow to not set element textContent from translations (b4f67fd)
  • directive: update translations when parameters change (3c7dfe4)
  • method: add a way to get message attrs (48f68bb), closes #9
  • refresh vue components when bundle list changes (bfc3039)
  • plugin: allow passing multiple bundles to plugin (699838f)

BREAKING CHANGES

  • plugin: Instead on bundle option plugin now accepts bundles option with array of bundles

v1.3.0 (2019-08-08)

Bug Fixes

  • directive: fix localization when element does not have attributes (a3581fd)

Features

  • directive: allow to localize attributes (d395b42)
  • directive: simplify directive arguments (ed4ccff)

v1.2.0 (2019-08-08)

Features

  • directive: use directive argument for translation key (c0bf0c7)

v1.1.0 (2019-08-07)

Features

  • directive: initial directive implementation (31e4595)

v1.0.0 (2019-08-07)

Bug Fixes

  • build: fix coverage issue (71841fb)
  • lint: fix ts-lint warning (20ca5be)