changelogs.md


demivan/fluent-vue

Repository  -  API  -  Source

3.2.0

October 21, 2022

:star: New Features

Committers: 1

3.1.4

October 20, 2022

:bug: Bug Fixes

  • Fix node 12 support (990fd5f)

3.1.3

October 20, 2022

:bug: Bug Fixes

  • Remove problematic browser field (0195b03)

3.1.2

October 20, 2022

:bug: Bug Fixes

  • Remove conditional export that interferes with Nuxt 2

3.1.1

August 22, 2022

:chart_with_upwards_trend: Performance Fixes

Committers: 1

3.1.0

July 18, 2022

:star: New Features

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

Committers: 1

3.0.3

June 29, 2022

:bug: Bug Fixes

Committers: 1

3.0.2

June 28, 2022

:bug: Bug Fixes

:pencil: Documentation

Committers: 3

3.0.1

January 10, 2022

:bug: Bug Fixes

Committers: 1

3.0.0

June 12, 2021

:tada: Stable release :tada:

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)

3.0.0

:bug: Bug Fixes

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

Committers: 1

3.0.0

:star: New Features

  • fluent-vue-cli, fluent-vue

:bug: Bug Fixes

  • fluent-vue

:pencil: Documentation

Committers: 1

3.0.0

:star: New Features

  • rollup-plugin-fluent-vue

:bug: Bug Fixes

  • fluent-vue-loader

:pencil: Documentation

Committers: 1

3.0.0

:star: New Features

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

Committers: 1

3.0.0

:star: New Features

:pencil: Documentation

Committers: 1

3.0.0

:star: New Features

:boom: 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

3.0.0

:bug: Bug Fixes

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

Committers: 1

3.0.0

:bug: Bug Fixes

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

Committers: 1

3.0.0

:star: New Features

:bug: Bug Fixes

:pencil: Documentation

Committers: 1

3.0.0

:star: New Features

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

Committers: 2

3.0.0

Bug Fixes

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

3.0.0

3.0.0

Bug Fixes

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

Features

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

3.0.0

Bug Fixes

  • component: fix runtime warning (80fae89)

3.0.0

Features

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

3.0.0

Bug Fixes

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

3.0.0

3.0.0

Bug Fixes

Features

3.0.0

3.0.0

Bug Fixes

  • do not remove root context (de1042f)

3.0.0

Bug Fixes

  • bring back ability to dynamically add bundles (e1360d3)

3.0.0

3.0.0

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

2.4.5

April 13, 2020

Bug Fixes

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

2.4.4

April 13, 2020

Bug Fixes

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

2.4.3

March 7, 2020

Bug Fixes

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

2.4.2

February 18, 2020

Bug Fixes

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

2.4.1

February 16, 2020

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

1.3.0

August 8, 2019

Bug Fixes

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

Features

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

1.2.0

August 8, 2019

Features

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

1.1.0

August 7, 2019

Features

  • directive: initial directive implementation (31e4595)

1.0.0

August 7, 2019

Bug Fixes

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