<a name="1.13.2"></a>
# 1.13.2 (2020-07-19)

### Features
Updates all dependencies internally to properly support Angular 12 and remove many insecure packages

<a name="1.12.1"></a>
# 1.12.1 (2019-06-20)

### Bugfixes

* **internal** 
[#142](https://github.com/martinroob/ngx-i18nsupport/issues/142) Cannot find module '@ngx-i18nsupport/ngx-i18nsupport-lib'
Due to a wrong publishing former version 1.12.0 was totally corrupted.

<a name="1.12.0"></a>
# 1.12.0 (2019-06-14)

### Features

* **API** 
Added 2 testing methods to the `INormalizedMessage` API, `isICUMessage()` and `containsICUMessageRef()`.

<a name="1.11.0"></a>
# 1.11.0 (2018-11-09)

### Features

* **API** [#56](https://github.com/martinroob/ngx-i18nsupport-lib/issues/56) **Modeling the "Notes" part as well by default in the object model**.
Now there are new methods on ITransUnit: `notes()` to read notes from XLIFF-files (version 1.2 and 2.0) and `setNotes` to edit them.
So a translator program can show these notes and edot them too.

<a name="1.10.3"></a>
# 1.10.3 (2018-10-28)

This is the first version build from the monorepo.
It is functionally identically with `ngx-i18nsupport-lib@1.10.2`.

It is reformatted to resolve a lot of lint problems and the package is now published under `@ngx-i18nsupport/ngx-i18nsupport-lib`

<a name="1.10.2"></a>
# [1.10.2](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.10.1...v1.10.2) (2018-09-21)

### Bug Fixes

* **XMB** When setting translation to empty string, state should be "new"

<a name="1.10.1"></a>
# [1.10.1](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.10.0...v1.10.1) (2018-09-21)

### Bug Fixes

* **XMB** [xliffmerge #103](https://github.com/martinroob/ngx-i18nsupport/issues/103)
`xliffmerge` option `useSourceAsTarget` did not work correctly when using format XMB/XTB. The flag was not used in this case.

<a name="1.10.0"></a>
# [1.10.0](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.9.2...v1.10.0) (2018-08-05)

### Bug Fixes

* **beautifier** [#52](https://github.com/martinroob/ngx-i18nsupport-lib/issues/52)
The pretty data beautifier caused some issues ([xliffmerge #97](https://github.com/martinroob/ngx-i18nsupport/issues/97)).
It is now replaced by an own implementation based on the serializer that is part of [xmldom](https://www.npmjs.com/package/xmldom).
This might result in slightly different formatted documents when using `beautifyOutput`

### Features

* **API** [#53](https://github.com/martinroob/ngx-i18nsupport-lib/issues/53)
`importNewTransunit` now allows to specify the ancestor of the newly imported unit. There is an optional new parameter for this, so the change is not breaking.
If you do not use this parametes, the behaviour is the same as before (adding at the end).

<a name="1.9.2"></a>
# [1.9.2](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.9.2...v1.9.1) (2018-06-01)

### Bug Fixes

* **XLIFF 1.2** Invalid order of target element in xlf12 ([#50](https://github.com/martinroob/ngx-i18nsupport-lib/issues/50) and [xliffmerge #90 ](https://github.com/martinroob/ngx-i18nsupport/issues/90)).
When the library creates a new `target` element in XLIFF 1.2 format, the element should follow directly the `source` element.

<a name="1.9.1"></a>
# [1.9.1](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.9.1...v1.9.0) (2018-04-30)

### Bug Fixes

* **internal** problem loading the umd bundle generated by webpack ("ReferenceError: window is not defined", see https://github.com/webpack/webpack/issues/6642

<a name="1.9.0"></a>
# [1.9.0](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.9.0...v1.8.1) (2018-04-30)

### Bug Fixes

* **normalized format** Due to issues found with [xliffmerge #84 Placeholder index is invalid](https://github.com/martinroob/ngx-i18nsupport/issues/84))
the syntax of normalized messages is slightly changed.
Empty tag now is only allowed for a small list of special tags (br, hr, img, area, link, wbr) and closing tag / is removed, former syntax `<img/>`is now `<img>`.
To destinguish muliple tags with same name now there is an id attribute included, former syntax `<mytag></mytag> <mytag></mytag>` is now `<mytag></mytag> <mytag id="1"></mytag>`

* **ICU messages** fixed handling of ICU messages containing markup ([xliffmerge #83 xliffmerge fails when ICU message contains interpolation and/or tags](https://github.com/martinroob/ngx-i18nsupport/issues/83))

### Features

* **internal** updated out of date dependencies (typescript, webpack, tokenizr) to latest versions

* **ICU messages** nested ICU messages can be parsed now.

* **API** now you can use [pretty-data](https://github.com/vkiryukhin/pretty-data) to beautify the xml output. API method `editedContent()` has an additional optional parameter `beautifyOutput?: boolean` for this([xliffmerge #64 Could xlf output be better formatted](https://github.com/martinroob/ngx-i18nsupport/issues/64))

<a name="1.8.1"></a>
# [1.8.1](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.8.1...v1.8.0) (2018-02-23)

### Bug Fixes

* **all formats** new API function `setNewTransUnitTargetPraefix` and `setNewTransUnitTargetSuffix` should not set praefix and suffix for ICU messages. ([xliffmerge #70](https://github.com/martinroob/ngx-i18nsupport/issues/70)).

<a name="1.8.0"></a>
# [1.8.0](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.8.0...v1.7.0) (2018-02-23)

### Features

* **all formats** new API function `setNewTransUnitTargetPraefix` and `setNewTransUnitTargetSuffix` to support setting of praefix and suffix for copied trans units. ([xliffmerge #70](https://github.com/martinroob/ngx-i18nsupport/issues/70)).

<a name="1.7.0"></a>
# [1.7.0](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.7.0...v1.6.2) (2018-02-02)

### Bug Fixes

* **API** Method ITranslationMessagesFile>>importNewTransUnit now returns newly create trans unit (internally needed for xliffmerge).

### Features

* **all formats** library now preserves EOL at end of XML files. ([xliffmerge #66](https://github.com/martinroob/ngx-i18nsupport/issues/66)).

* **internal** updated out of date dependencies (webpack, coveralls, codelyzer, @types/node) to latest versions

<a name="1.6.2"></a>
# [1.6.2](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.6.2...v1.6.1) (2017-10-19)

### Bug Fixes

* **XLIFF 2.0** xliffmerge uses wrong state values for new XLIFF 2.0 segments ([#57](https://github.com/martinroob/ngx-i18nsupport-lib/issues/57)).

<a name="1.6.1"></a>
# [1.6.1](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.6.1...v1.6.0) (2017-08-18)

### Bug Fixes

* **XLIFF 2.0** handle ICU equiv in XLIFF 2.0 ([#43](https://github.com/martinroob/ngx-i18nsupport-lib/issues/43)).

<a name="1.6.0"></a>
# [1.6.0](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.6.0...v1.5.0) (2017-08-18)

### Features

* **API** source content of trans-units are now writable ([#41](https://github.com/martinroob/ngx-i18nsupport-lib/issues/41)).

<a name="1.5.0"></a>
# [1.5.0](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.5.0...v1.4.6) (2017-08-11)

### Features

* **API** description and meaning of trans-units are now writable ([#39](https://github.com/martinroob/ngx-i18nsupport-lib/issues/39)).

<a name="1.4.6"></a>
# [1.4.6](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.4.6...v1.4.5) (2017-06-29)

### Bug Fixes

* **all formats** normalized messages: ICU-References are not converted to native strings ([#37](https://github.com/martinroob/ngx-i18nsupport-lib/issues/37)).

<a name="1.4.5"></a>
# [1.4.5](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.4.5...v1.4.4) (2017-06-16)

### Bug Fixes

* **all formats** normalized messages cannot parse tags with - or digit ([#35](https://github.com/martinroob/ngx-i18nsupport-lib/issues/35)).

<a name="1.4.4"></a>
# [1.4.4](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.4.4...v1.4.3) (2017-06-16)

### Bug Fixes

* **all formats** corrected wrong warning for removed tags, introduced in 1.4.3.

<a name="1.4.3"></a>
# [1.4.3](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.4.3...v1.4.2) (2017-06-16)

### Bug Fixes

* **all formats** Linebreaks are not handled in NormalizedMessage ([#31](https://github.com/martinroob/ngx-i18nsupport-lib/issues/31)).
To fix this, empty tags like `<br/>` or `<img/>`are introduced.

<a name="1.4.2"></a>
# [1.4.2](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.4.2...v1.4.1) (2017-06-09)

### Bug Fixes

* **ICU messages** ICU message containing string `select` or `plural` in message cannot be parsed ([#29](https://github.com/martinroob/ngx-i18nsupport-lib/issues/29)).

<a name="1.4.1"></a>
# [1.4.1](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.4.1...v1.3.1) (2017-06-09)

### Features

* **API** Add support for ICU message usage ([#25](https://github.com/martinroob/ngx-i18nsupport-lib/issues/25)).

<a name="1.3.1"></a>
# [1.3.1](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.3.1...v1.3.0) (2017-06-02)

### Bug Fixes

* **all formats** problems with parsing messages that contain same tag multiple times ([#26](https://github.com/martinroob/ngx-i18nsupport-lib/issues/26)).

<a name="1.3.0"></a>
# [1.3.0](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.3.0...v1.2) (2017-05-26)

### Features

* **API** new API method supportsSetSourceReferences to check wether source refs can be written ([#23](https://github.com/martinroob/ngx-i18nsupport-lib/issues/23)).

### Bug Fixes

* **XMB** xmb files should not be translatable at all ([#22](https://github.com/martinroob/ngx-i18nsupport-lib/issues/22)).

* **XTB** When reading xtb with wrong master xmb, the resulting error is confusing ([#21](https://github.com/martinroob/ngx-i18nsupport-lib/issues/21)).

<a name="1.2.0"></a>
# [1.2.0](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.2.0...v1.1.1) (2017-05-24)

### Features

* **XMB** Add xtb format support as translation of xmb ([#19](https://github.com/martinroob/ngx-i18nsupport-lib/issues/19)).

* **XLIFF 2.0** Add source ref support to XLIFF 2.0 format ([#18](https://github.com/martinroob/ngx-i18nsupport-lib/issues/18)).

<a name="1.1.1"></a>
# [1.1.1](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.1.1...v1.1.0) (2017-05-21)

### Bug Fixes

* Type Number should be number in sourceRef-API

<a name="1.1.0"></a>
# [1.1.0](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.1.0...v1.0.1) (2017-05-21)

### Features

* **API** add an API function to create normalized message from native xml ([#13](https://github.com/martinroob/ngx-i18nsupport-lib/issues/13)).

* **API** add an API function to set sourceReferences ([#14](https://github.com/martinroob/ngx-i18nsupport-lib/issues/14)).

<a name="1.0.1"></a>
# [1.0.1](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.0.1...v1.0.0) (2017-05-19)

### Bug Fixes

* **all formats:** fixed "A linebreak in a message throws exception 'token not recognized'". ([#11](https://github.com/martinroob/ngx-i18nsupport-lib/issues/11)).

* **XLIFF 1.2:** fixed "Typo in errormessage for XLIFF 1.2 files". ([#10](https://github.com/martinroob/ngx-i18nsupport-lib/issues/10)).

<a name="1.0.0"></a>
# [1.0.0](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v1.0.0...v0.1.3) (2017-05-18)

### Features

* **API** API has been sligtly changed to support new features (especially normalized messages)

* **API** add format independent translation messages (normalized messages) ([#2](https://github.com/martinroob/ngx-i18nsupport-lib/issues/2)).

* **API** normalize state and add setter to API ([#8](https://github.com/martinroob/ngx-i18nsupport-lib/issues/8)).

<a name="0.1.3"></a>
# [0.1.3](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v0.1.3...v0.1.2) (2017-05-05)

### Bug Fixes

* **XLIFF 2.0:** fixed "placeholders in targetNormalized are wrong numbered". ([#6](https://github.com/martinroob/ngx-i18nsupport-lib/issues/6)).

<a name="0.1.2"></a>
# [0.1.2](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v0.1.2...v0.1.0) (2017-05-05)

### Bug Fixes

* **XLIFF 2.0:** fixed "cloneWithSourceAsTarget in XLIFF 2.0 does not work". ([#4](https://github.com/martinroob/ngx-i18nsupport-lib/issues/4)).

* **all formats** wrong error message when trans unit contains no ID

<a name="0.1.0"></a>
# [0.1.0](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v0.1.0...v0.0.8) (2017-05-05)

Started issue tracking and git workflow with this release. All work is now always done in a feature branch and merged to master, when it is ready to release.

### Features

* **XLIFF 2.0:** added support for working with XLIFF 2.0 format. ([#1](https://github.com/martinroob/ngx-i18nsupport-lib/issues/1)).

<a name="0.0.8"></a>
# [0.0.8](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v0.0.8...v0.0.7) (2017-05-03)

### Bug Fixes

* `removeTransUnitWithId` did not work

<a name="0.0.7"></a>
# [0.0.7](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v0.0.7...v0.0.6) (2017-05-02)

### Bug Fixes

* normalizedContent did not work correctly. This was caused by differences in writing empty elements between xmldom and cheerio.

<a name="0.0.6"></a>
# [0.0.6](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v0.0.6...v0.0.5) (2017-05-01)

### Bug Fixes

* first stable version

### Features

* replaced cheerio by xmldom
* added support for handling of source elements (references to angular template files)

<a name="0.0.5"></a>
# [0.0.5](https://github.com/martinroob/ngx-i18nsupport-lib/compare/v0.0.5...v0.0.1) (2017-04-28)

### Bug Fixes

* **work in progress:** version for experiments, not to be used in production

# 0.0.1 (2017-04-09)

Initial version based on ngx-i18nsupport 0.2.3.

Extracted the API relevant code into this new module.
