Skip to content
This repository has been archived by the owner on Sep 28, 2018. It is now read-only.

Releases: inexorabletash/text-encoding

Babel/WebPack support

05 Jan 02:15
Compare
Choose a tag to compare
  • Don't assume global this exists.

Better require usage, spec tracking

17 Nov 15:44
Compare
Choose a tag to compare
  • Don't require encoding-indexes if they are already present
  • Don't expect encoding-indexes to return object with indexes
  • Update indexes to pick up windows-1255 change, add test
  • Fix encode() behavior when called with falsy arguments
  • Add 'first' qualifier to indexes error message

Bug Fixes

14 Sep 03:02
Compare
Choose a tag to compare
  • gb18030 decoder: Use correct index (#49)
  • Shift_JIS encoder: exclude certain jis0208 index entries
  • Big5 encoder: exclude HKSCS extensions

Bye bye, UTF-16

07 Apr 03:16
Compare
Choose a tag to compare

Per a recent update to the Encoding Standard, encoding to UTF-16 is no longer supported by default.

Statistically speaking, there were no users of those encodings with the native implementations of the API in Chrome. There was also no other place where the Web required UTF-16 encoding - even pages served as UTF-16 post form data back as UTF-8, unlike other encodings.

Since this is breaking change for the polyfill, the minor release version was bumped. You can continue to use the NONSTANDARD_allowLegacyEncoding option and pass one of the UTF-16 labels (utf-16le, utf-16be, etc) to use these encodings.

Spec Alignment

25 Feb 03:17
Compare
Choose a tag to compare

Functional spec alignment changes:

  • GB18030 2005 update
  • gb18030 and U+E5E5
  • ISO-2022-JP encoder errors

Other/refactoring:

  • Fix ISO-2022-JP encoder
  • Store error mode as string
  • Closure type annotation: encode never returns null

Performance improvements

29 Dec 03:24
Compare
Choose a tag to compare
  • Tweaks to the internal stream implementation to increase performance
  • More internal documentation/refactoring to align with spec

Spec sync 2015-08-20

21 Aug 05:20
Compare
Choose a tag to compare
v0.5.3

Bump version

Bug fix

20 Dec 04:54
Compare
Choose a tag to compare
v0.5.1

Bump to 0.5.1

Spec Sync - 2014-12

05 Dec 04:08
Compare
Choose a tag to compare
v0.5.0

Bump to 0.5.0

Expose legacy encoding

22 May 03:30
Compare
Choose a tag to compare

Minor library update:

  • Add NONSTANDARD_allowLegacyEncoding option to allow encoding to non-UTF encodings, for testing or when caller doesn't care about Web compatibility
  • closure compiler compatibility