6.6 KiB
6.6 KiB
Changelog
3.2.3
- Add romanian characters to
cleanDiacritics
#470 - Fix global leaks
- Full changelog
3.2.2
- Fix
slugify
regression #448 - Full changelog
3.2.1
- Export
cleanDiacritics
in index.js - Full changelog
3.2.0
- Add
cleanDiacritics
#444 - Add
wrap
#410 lines
: add support to CR ending lines #440- Documentation improvements
- Small performance improvements
- Full changelog
3.1.1
- Add coverage folder to npmignore
- Full changelog
3.1.0
- Meteor integration baeb0da
- Add flag to capitalize to lowercase remaining characters #408
- Move to mocha #409
- Add support for more htmlEntites in escapeHTML and unescapeHTML #417
- Performance improvement in levenshtein #427
- Full changelog
3.0.3
- Provide
dist
in npm package #402 - Full changelog
3.0.2
- Fix .gitignore for bower #400
- Some docs cleanup
- Full changelog
3.0.1
- Minor fixes in the documentation #390 and 5135cb9
- Fix bower warnings #393
humanize
now usestrim
#392- Full changelog
3.0.0
- Each function is now extracted to individual CommonJS modules
- Browserify users can now load only the functions they actually use
- Usage as Underscore.js or Lo-Dash mixin is now discouraged as there is too many colliding methods
- The prebuild library now exports a
s
global instead of_s
and trying to stick itself to existing underscore instances - New gh-pages with documentation
- Implement chaining without Underscore.js
- String.prototype methods can be chained with underscore.string functions #383
- Don't compare lowercase versions of strings in naturalCmp #326
- Always return +-1 or 0 in naturalCmp #324
- Align [starts|ends]With with the ES6 spec #345
- New functions
decapitalize
,pred
,dedent
andreplaceAll
slugify
now actually replaces all special chars with a dashslugify
supports Easter E languages #340join
is now a conflicting function #320- New decapitalize flag for
camelize
#370 toNumber
allows negative decimal precision #332- Full changelog
2.4.0
- Move from rake to gulp
- Add support form classify camelcase strings
- Fix bower.json
- Full changelog
2.3.3
- Add
toBoolean
- Add
unquote
- Add quote char option to
quote
- Support dash-separated words in
titleize
- Full changelog
2.3.2
- Add
naturalCmp
- Bug fix to
camelize
- Add ă, ș, ț and ś to
slugify
- Doc updates
- Add support for component
- Full changelog
2.3.1
- Bug fixes to
escapeHTML
,classify
,substr
- Faster
count
- Documentation fixes
- Full changelog
2.3.0
- Added
numberformat
method - Added
levenshtein
method (Levenshtein distance calculation) - Added
swapCase
method - Changed default behavior of
words
method - Added
toSentenceSerial
method - Added
surround
andquote
methods
2.2.1
- Same as 2.2.0 (2.2.0rc on npm) to fix some npm drama
2.2.0
- Capitalize method behavior changed
- Various performance tweaks
2.1.1
- Fixed words method bug
- Added classify method
2.1.0
- AMD support
- Added toSentence method
- Added slugify method
- Lots of speed optimizations
2.0.0
- Added prune, humanize functions
- Added .string (.str) namespace for Underscore.string library
- Removed includes function
For upgrading to this version you need to mix in Underscore.string library to Underscore object:
_.mixin(_.string.exports());
and all non-conflict Underscore.string functions will be available through Underscore object.
Also function includes
has been removed, you should replace this function by _.str.include
or create alias _.includes = _.str.include
and all your code will work fine.
1.1.6
- Fixed reverse and truncate
- Added isBlank, stripTags, inlude(alias for includes)
- Added uglifier compression
1.1.5
- Added strRight, strRightBack, strLeft, strLeftBack
1.1.4
- Added pad, lpad, rpad, lrpad methods and aliases center, ljust, rjust
- Integration with Underscore 1.1.6
1.1.3
- Added methods: underscored, camelize, dasherize
- Support newer version of npm
1.1.2
- Created functions: lines, chars, words functions
1.0.2
- Created integration test suite with underscore.js 1.1.4 (now it's absolutely compatible)
- Removed 'reverse' function, because this function override underscore.js 'reverse'