Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

Latest commit

 

History

History
261 lines (223 loc) · 17.6 KB

en_VersionHistory.md

File metadata and controls

261 lines (223 loc) · 17.6 KB

Version History and note about versioning

Version History

Version 5.3.0 (October 13, 2017)

  • fall back to loading patterns from GitHub (#275, #311 )
  • fix regex to match urls like example.co.uk
  • oncopy-handler is now registered on parent-elements only (#310)
  • fixed issue when toggling hyphenation for elements with class="urlhyphenate"
  • removed deprecated showModalDialog
  • some refactoring to meet JSLint standards

Version 5.2.0 (August 07, 2017)

This minor release add the following features:

  • updated patterns for german
  • support for Irish (thanks to Kevin Scannell)
  • support for Georgian (thanks to Levan Shoshiashvili)
  • support for Church Slavonic (thanks to Aleksandr Andreev)
  • adopt the more restrictive coding standarts of new JSLint
  • adds some missing chars and adjusts leftmin in french patterns
  • fixes an issue with extremly long words (#226)
  • fixes an issue where Hyphenator_Loader didn't yield correct results (#231)
  • fixes an issue with character substitution (#246)
  • Adds options to control leftmin and rightmin (#240)
  • Adds options to prevent ugly hyphenation of compound words (#261)
  • fixes an issue with orphan control (#264)
  • fixes an issue when toggling non-ASCII hyphenchars (#267)
  • fixes issue in mergeAndPack (#276)
  • fixes an issue where URLs are not correctly detected (#287, #289, #290)
  • fixes an issue with the toggleBox (#291)
  • fixes an issue with words that already contain shy (#297)

Version 5.1.0 (June 24, 2015)

This minor release brings the following changes:

  • patterns are stored in DOM-Storage in the raw format (instead of as trie); this is faster since building the trie is highly optimised and much faster than unpacking and parsing the huge indexed trie.
  • fixes a performance issue when checking if String.normalize() is supported
  • fires hyphenation of elements immediately instead on timeout (better perf)
  • deferred writing to storage works with frames, too
  • fixes an issue with toggling hyphenation

Version 5.0.1 (April 27, 2015)

Bugfix release:

  • Fixes error in bower.json
  • Hyphenator_Loader.js only relayouts once

Version 5.0.0 (April 13, 2015)

This major release brings the following changes:

  • better performance 1: The way how the patterns are represented in memory has changed. Instead of a huge objegt tree a (typed) array is used. Arrays use less memory and typed arrays are not garbage collected. To build the typed array information about the length of the arrays are necessary. This information is stored in the pattern files. Make sure to also replace old pattern files by new ones! Since the format of the pattern files changes mergeAndPack.html and compressor.html have changed, too. So this is seen as a major release.
  • better performance 2: the regular expressions for finding words are less captive
  • better performance 3: messaging and waiting for patterns to be loaded is more accurate
  • better performance 4: some rare-case and not so rare JIT deoptimizations are gone
  • fixes issue215
  • fixes issues with compound characters (only if String().normalize is supported)
  • fixes an issue where a DOM Exception 1: Index greater as allowed occured

Version 4.3.0 (October 17, 2014)

This minor release brings the following changes:

  • added support for Serbian Cyrillic (thanks to Milan Gurjanov)
  • jsdoc3 formatted code comments in the source file
  • the core functions are slightly faster (specially in chrome: removed some deopts)
  • better performance when checking for CSS3 hyphens support
  • new method for hyphenating URL-styled text (fixed issue188 and issue198)
  • prevention of a memory leak in some rare cases (fixed issue192)
  • Hyphenator. emits a warning to the console, when it is invoked twice (see documentation)
  • Code refactoring for better readability And some bugfixes:
  • fixed an issue with Hyphenator.js running in private mode (fixed issue108)
  • fixed an issue with the Bookmarklet (fixed issue185)
  • fixed an issue with ommited tags (fixed issue194)
  • workaround for a bug in Konqueror 4.8.4 (fixed issue202)

4.2.0 (April 25, 2013)

This minor release brings the following changes:

  • added support for Romanian (thanks to irragal)
  • hiding and unhiding of elements is now done by adding classes
  • patterns stored in DOMStorage are now versioned (fixed issue169)
  • Hyphenator.js now uses a modalDialog to ask for languages if o language is defined (issue171)
  • there are two new functions that can be defined: onbeforewordhyphenation and onafterwordhyphenation And some bugfixes:
  • fixed issue when accessing external style sheets (fixed issue164)
  • togglebox works when elements are hyphenated by CSS (fixed issue168)
  • hyphenation now works for elements with a supported language on pages that have a unsupported main language (fixed issue177)
  • elements now hide during hyphenation when using a selector function (fixed issue172)
  • some general refactoring and code changes

4.1.0 (October 18, 2012)

This minor release brings the following changes:

  • bookmarklet uses CSS3hyphenation
  • updated jslint and made it happier
  • faster pattern checking (async)
  • use of querySelectorAll in some browsers
  • globally hide and unhide text by setting CSS classes (faster)
  • included test for CSS3hyphenation availability
  • made Hyphenator.js ready for IE10
  • added support for Esperanto (thanks to Sergio Pokrovskij)
  • added support for Estonian (thanks to Peeter Marvet)
  • added support for Serbian latin (thanks to (Sonja Keljević)
  • some general commenting and code reordering Ans some bugfixes:
  • fixed issue with getComputedStyle for older Firefox (<4)
  • fixed issue158 (Not working when called after the document load, thanks to davenewtron)
  • fixed issue162 (Object Document has no method 'getAttribute')
  • fixed issue165 (words not cached)
  • fixed issue166 (added polish prompter string)
  • fixed issue148 (safe copy not working correctly with toggle box)
  • fixed an issue where words with apostrophes weren't treated correctly

4.0.0 (August 05, 2011)

This major release brings the following new features:

  • Faster hyphenation algorithm based on a trie (thanks to Bram Stein)
  • Faster DOM traversal
  • Overall: 30% less execution time
  • Support for CSS3-Hyphenation (issue133)
  • progressive unhiding of hyphenated elements (issue123)
  • Added support for Slovak (thanks to Zdenko Podobny) And some bugfixes:
  • fixed issue with oncopy and IE9
  • fixed issue138 (HTML5 Elements)
  • fixed issue142 (no-nb -> nb-no)

3.3.0 (April 6, 2011)

This minor release brings the following changes:

  • Support for Catalan (Thanks to Jordi Rosell)
  • Fixed issue125 (Words containing ZWNJ are hyphenated now)
  • Fixed issue126 (support for substituted chars: e.g. long s in german fraktur)
  • Fixed issue131 (fixed version number)

3.2.0 (November 14, 2010)

This minor release brings the following changes:

  • Support for Latvian (Thanks to Kristaps Karlsons)
  • Support for Norwegian (Thanks to Erik Erik Seierstad)
  • Added feature to store configuration (issue113)
  • Added feature to defer Hyphenation (because of issue113)
  • Added feature to set a default language (issue115)
  • Fixed issue110 (oncopy is only registered on elements owned by hyphenator)
  • Fixed issue112 (better prompterString for Turkish)
  • Fixed issue121 (wrong rightmin in en-us)

3.1.0 (September 2, 2010)

This minor release brings the following changes:

  • Support for Belarusian (Thanks to Olexandr Zhydenko)
  • Updated Patterns for German and Ukrainian
  • Possibilities to control if/how the last words of a paragraph are hyphenated
  • Fixed issue105 (NS_ERROR_DOM_SECURITY_ERR)
  • Fixed issue106 (iframe)
  • Fixed issue107 (compatibility with Google Closure Compiler)
  • Fixed issue108 (QUOTA_EXCEEDED_ERR)
  • Fixed an issue with global exceptions not set correctly
  • internal changes to support automated testsuite

3.0.0 (July 1, 2010)

This major release brings a the following new features:

  • remove hyphenation from copied text (issue34)
  • store patterns in DOM storage (issue18)
  • hyphenate frames/iframes (issue82)
  • support for latin (Thanks to Pablo Rodríguez)
  • support for modern (monoton and polyton) and ancient greek (Thanks to Pablo Rodríguez)
  • support for slovenian (Thanks to Mojca Miklavec)
  • support for bcp47 language tags
  • support for en-us and en-gb
  • updated patterns
  • supports possibility to make settings in bookmarklets (issue91) An many bugfixes:
  • Fixed issue85
  • Fixed issue95

2.5.0 (February 27, 2010)

This minor release brings a the following changes:

  • Support for Armenian (Thanks to Sahak Petrosyan)
  • Support for Lithuanian (Thanks to Rogutės Sparnuotos)
  • Added a tool to compute reduced pattern sets (reducePatternSet.html)
  • Worked on issue70
  • Fixed issue72
  • Fixed issue73
  • Fixed issue75
  • Updated the runOnContentLoaded function to most recent state of the art

2.4.0 (October 09, 2009)

This minor release brings a the following changes:

  • Support for Turkish (thanks to Andreas Lappe)
  • Fixed issue69
  • There's no longer a 'Zero With Space' inserted after hyphens (issue70)
  • Fixed issue71

2.3.1 (August 05, 2009)

This bugfix release fixes

  • an issue with sites that don't use utf8.
  • an issue with compressor.html

2.3.0 (July 14, 2009)

This minor release brings a the following changes:

  • Support for Hungarian (thanks to Péter Nagy)
  • Support for Czech (thanks to Martin Hasoň)
  • Support for Ukrainian (thanks to Alexey Grekov)
  • Updated patterns for german (thanks to the trennmuster-group)
  • Pattern files are passing jslint w/o warning
  • Fixed issues in compressor.html and merge+pack.html
  • Fixed issue65

2.2.0 (May 06, 2009)

This minor release brings a the following changes:

  • Support for portuguese
  • Functions like hyphenateDocument(), hyphenateElement() and hyphenateWord() are made private. Instead there's a new public function hyphenate().
  • Fixed issue55, issue56, issue60
  • Internal code beautifying (check with jslint)
  • new service merge+pack.html bundled with the package: easily create a customized and packed all-in-one script file of Hyphenator.js

2.1.0 (Apr 05, 2009)

This minor release brings a the following changes:

  • It's licensed under LGPL version 3.0
  • The DOM isn't cluttered anymore with lang and style attributes after Hyphenator.js is run and some bugfixes:
  • fixed issue 53: language is recognized even if it's uppercase

2.0.0 (Mar 15, 2009)

This major release brings a big improvement:

  • pattern files are packed by removing the spaces between patterns. Thus, pattern files are 12% smaller in average. As a downside they are harder to create; therefore I created a helper compressor.html Further there are some new features:
  • support for danish (thanks to Henrik Ryom)
  • you may now define a class for elements that should NOT be hyphenated (donthyphenateclassname)
  • hyphenation of AJAX-loaded elements is possible
  • exceptions can be defined for ALL languages
  • Hyphenator.config throws an error, when a key is misspelled or unknown. and some bugfixes:
  • added textarea to the elements that will not be hyphenated
  • fixed a bug that occured when no language has been indicated in the prompt.
  • some internal improvements

1.0.2 (Mar 08, 2009)

Fixed issue 47: Hyphenator.js works in Opera, now.

1.0.1 (Mar 02, 2009)

A pure bugfix release. It fixes three issues:

  • issue 43: Hyphenator.js didn't work when JSON.js was loaded
  • issue 44: zwsp weren't removed, when hyphenation was turned off
  • an issue that broke Hyphenator.js when there was a internal script on the page befor Hyphenator.js

1.0.0 (Feb 21, 2009)

First release after twelve betas.

See beta version history (german).

Version Numbers

You may want to know, how the version numbers are built. Each version number consists of three numbers separated by a dot:

A.B.C

The first number (A) denotes the number of the major release. This number is changed if there's a change in the API or an important new feature.

The second number (B) denotes the number of a minor release. The numbering begins fom 0, when the major release has changed. A minor release is caused by a new language or an important bugfix.

The third number (C) is the bugfix number. The numbering begins from 0, when the minor release number has changed.