This repository has been archived by the owner on Jan 29, 2024. It is now read-only.
2.14.0
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)