Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

2.14.0

Compare
Choose a tag to compare
@knalli knalli released this 11 Feb 22:45
· 129 commits to master since this release

Important notes

  • This finally supports AngularJS 1.6 and messageformat.js 1.0 officially - until now you have to override the dependency manually. No more.
  • I'm glad to announce this release contains outstanding and long awaited fixes for translate-cloak and partial loader. A big "thank you" to @mtwar
  • #1671 should be worth looking into

Bug Fixes

  • $translate: reassign language promises in refresh, update translation tables at the appropriate time, and simplify the routine (351eb8f)
  • $translatePartialLoader: prevent duplicate simultaneous HTTP requests (8b2cea8)
  • service: add explicit promise rejection handler for $translate.use (f4dc14a)
  • service: avoid sanitize/esape calls on null/undefined param values (331e0dd)
  • service: fix missing promise rejection handlers (776993b)
  • staticFilesLoader: do not use empty string as $http params (ac2a038), closes #1646
  • tests: rewrite tests for AJS 1.6 compatibility (7c9d2c9)
  • translate: handle null translation (1e57b4f), closes #665
  • translateCloak: incorrect element reference, inappropriate decloak at onReady, inappropriate decloak at $translateChangeSuccess (a4d2795)

Features

  • dependencies: update to messageformat 1.0.2 (d4a0468)
  • service: add translationId as param of custom interpolation service interface (5de40de)
  • tests: add current AngularJS 1.6 in test scopes (d8abdc5)