Skip to content

Latest commit

 

History

History
292 lines (169 loc) · 12.3 KB

Changelog.md

File metadata and controls

292 lines (169 loc) · 12.3 KB

1.10.2 (2018-09-21)

Bug Fixes

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

1.10.1 (2018-09-21)

Bug Fixes

  • XMB xliffmerge #103 xliffmerge option useSourceAsTarget did not work correctly when using format XMB/XTB. The flag was not used in this case.

1.10.0 (2018-08-05)

Bug Fixes

  • beautifier #52 The pretty data beautifier caused some issues (xliffmerge #97). It is now replaced by an own implementation based on the serializer that is part of xmldom. This might result in slightly different formatted documents when using beautifyOutput

Features

  • API #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).

1.9.2 (2018-06-01)

Bug Fixes

  • XLIFF 1.2 Invalid order of target element in xlf12 (#50 and xliffmerge #90 ). When the library creates a new target element in XLIFF 1.2 format, the element should follow directly the source element.

1.9.1 (2018-04-30)

Bug Fixes

  • internal problem loading the umd bundle generated by webpack ("ReferenceError: window is not defined", see webpack/webpack#6642

1.9.0 (2018-04-30)

Bug Fixes

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 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)

1.8.1 (2018-02-23)

Bug Fixes

  • all formats new API function setNewTransUnitTargetPraefix and setNewTransUnitTargetSuffix should not set praefix and suffix for ICU messages. (xliffmerge #70).

1.8.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).

1.7.0 (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).

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

1.6.2 (2017-10-19)

Bug Fixes

  • XLIFF 2.0 xliffmerge uses wrong state values for new XLIFF 2.0 segments (#57).

1.6.1 (2017-08-18)

Bug Fixes

  • XLIFF 2.0 handle ICU equiv in XLIFF 2.0 (#43).

1.6.0 (2017-08-18)

Features

  • API source content of trans-units are now writable (#41).

1.5.0 (2017-08-11)

Features

  • API description and meaning of trans-units are now writable (#39).

1.4.6 (2017-06-29)

Bug Fixes

  • all formats normalized messages: ICU-References are not converted to native strings (#37).

1.4.5 (2017-06-16)

Bug Fixes

  • all formats normalized messages cannot parse tags with - or digit (#35).

1.4.4 (2017-06-16)

Bug Fixes

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

1.4.3 (2017-06-16)

Bug Fixes

  • all formats Linebreaks are not handled in NormalizedMessage (#31). To fix this, empty tags like <br/> or <img/>are introduced.

1.4.2 (2017-06-09)

Bug Fixes

  • ICU messages ICU message containing string select or plural in message cannot be parsed (#29).

1.4.1 (2017-06-09)

Features

  • API Add support for ICU message usage (#25).

1.3.1 (2017-06-02)

Bug Fixes

  • all formats problems with parsing messages that contain same tag multiple times (#26).

1.3.0 (2017-05-26)

Features

  • API new API method supportsSetSourceReferences to check wether source refs can be written (#23).

Bug Fixes

  • XMB xmb files should not be translatable at all (#22).

  • XTB When reading xtb with wrong master xmb, the resulting error is confusing (#21).

1.2.0 (2017-05-24)

Features

  • XMB Add xtb format support as translation of xmb (#19).

  • XLIFF 2.0 Add source ref support to XLIFF 2.0 format (#18).

1.1.1 (2017-05-21)

Bug Fixes

  • Type Number should be number in sourceRef-API

1.1.0 (2017-05-21)

Features

  • API add an API function to create normalized message from native xml (#13).

  • API add an API function to set sourceReferences (#14).

1.0.1 (2017-05-19)

Bug Fixes

  • all formats: fixed "A linebreak in a message throws exception 'token not recognized'". (#11).

  • XLIFF 1.2: fixed "Typo in errormessage for XLIFF 1.2 files". (#10).

1.0.0 (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).

  • API normalize state and add setter to API (#8).

0.1.3 (2017-05-05)

Bug Fixes

  • XLIFF 2.0: fixed "placeholders in targetNormalized are wrong numbered". (#6).

0.1.2 (2017-05-05)

Bug Fixes

  • XLIFF 2.0: fixed "cloneWithSourceAsTarget in XLIFF 2.0 does not work". (#4).

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

0.1.0 (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).

0.0.8 (2017-05-03)

Bug Fixes

  • removeTransUnitWithId did not work

0.0.7 (2017-05-02)

Bug Fixes

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

0.0.6 (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)

0.0.5 (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.