File size: 7,325 Bytes
bc20498 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 |
# Changelog
### 3.3.6
* Rebuild all assets for the release packages
### 3.3.5
* Security fix
* [Full changelog](https://github.com/epeli/underscore.string/compare/3.2.4...3.2.5)
### 3.3.4
* set standalone in browserify `s`
### 3.3.1 / 3.3.2 / 3.3.3
* fix release script
### 3.3.0
* `sprintf` and `vsprintf` is now marked as deprecated [#479](https://github.com/epeli/underscore.string/pull/479)
* `wrap` is added to `exports` [#489](https://github.com/epeli/underscore.string/pull/489)
* new build chain without gulp
* [Full changelog](https://github.com/epeli/underscore.string/compare/3.2.3...3.3.0)
### 3.2.3
* Add romanian characters to `cleanDiacritics` [#470](https://github.com/epeli/underscore.string/pull/470)
* Fix global leaks
* [Full changelog](https://github.com/epeli/underscore.string/compare/3.2.2...3.2.3)
### 3.2.2
* Fix `slugify`regression [#448](https://github.com/epeli/underscore.string/pull/448)
* [Full changelog](https://github.com/epeli/underscore.string/compare/3.2.1...3.2.2)
### 3.2.1
* Export `cleanDiacritics` in index.js
* [Full changelog](https://github.com/epeli/underscore.string/compare/3.2.0...3.2.1)
### 3.2.0
* Add `cleanDiacritics` [#444](https://github.com/epeli/underscore.string/pull/444)
* Add `wrap` [#410](https://github.com/epeli/underscore.string/pull/410)
* `lines`: add support to CR ending lines [#440](https://github.com/epeli/underscore.string/pull/440)
* Documentation improvements
* Small performance improvements
* [Full changelog](https://github.com/epeli/underscore.string/compare/3.1.1...3.2.0)
### 3.1.1
* Add coverage folder to npmignore
* [Full changelog](https://github.com/epeli/underscore.string/compare/3.1.0...3.1.1)
### 3.1.0
* Meteor integration [baeb0da](https://github.com/epeli/underscore.string/commit/baeb0da0053549e5346184630a7e0c5007b8be4f)
* Add flag to capitalize to lowercase remaining characters [#408](https://github.com/epeli/underscore.string/pull/408)
* Move to mocha [#409](https://github.com/epeli/underscore.string/pull/409)
* Add support for more htmlEntites in escapeHTML and unescapeHTML [#417](https://github.com/epeli/underscore.string/pull/417)
* Performance improvement in levenshtein [#427](https://github.com/epeli/underscore.string/pull/427)
* [Full changelog](https://github.com/epeli/underscore.string/compare/3.0.3...3.1.0)
### 3.0.3
* Provide `dist` in npm package [#402](https://github.com/epeli/underscore.string/pull/402)
* [Full changelog](https://github.com/epeli/underscore.string/compare/3.0.2...3.0.3)
### 3.0.2
* Fix .gitignore for bower [#400](https://github.com/epeli/underscore.string/issues/400)
* Some docs cleanup
* [Full changelog](https://github.com/epeli/underscore.string/compare/3.0.1...3.0.2)
### 3.0.1
* Minor fixes in the documentation [#390](https://github.com/epeli/underscore.string/pull/390) and [5135cb9](https://github.com/epeli/underscore.string/commit/5135cb9026034e9ea206c2ed8588db1eeb3ce95a)
* Fix bower warnings [#393](https://github.com/epeli/underscore.string/pull/393)
* `humanize` now uses `trim` [#392](https://github.com/epeli/underscore.string/pull/392)
* [Full changelog](https://github.com/epeli/underscore.string/compare/3.0.0...3.0.1)
### 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](https://github.com/epeli/underscore.string/pull/383)
* Don't compare lowercase versions of strings in naturalCmp [#326](https://github.com/epeli/underscore.string/issues/326)
* Always return +-1 or 0 in naturalCmp [#324](https://github.com/epeli/underscore.string/pull/324)
* Align [starts|ends]With with the ES6 spec [#345](https://github.com/epeli/underscore.string/pull/345)
* New functions `decapitalize`, `pred`, `dedent` and `replaceAll`
* `slugify` now actually replaces all special chars with a dash
* `slugify` supports Easter E languages [#340](https://github.com/epeli/underscore.string/pull/340)
* `join` is now a conflicting function [#320](https://github.com/epeli/underscore.string/pull/320)
* New decapitalize flag for `camelize` [#370](https://github.com/epeli/underscore.string/pull/370)
* `toNumber` allows negative decimal precision [#332](https://github.com/epeli/underscore.string/pull/332)
* [Full changelog](https://github.com/epeli/underscore.string/compare/2.4.0...3.0.0)
## 2.4.0
* Move from rake to gulp
* Add support form classify camelcase strings
* Fix bower.json
* [Full changelog](https://github.com/epeli/underscore.string/compare/v2.3.3...2.4.0)
## 2.3.3
* Add `toBoolean`
* Add `unquote`
* Add quote char option to `quote`
* Support dash-separated words in `titleize`
* [Full changelog](https://github.com/epeli/underscore.string/compare/v2.3.2...2.3.3)
## 2.3.2
* Add `naturalCmp`
* Bug fix to `camelize`
* Add ă, ș, ț and ś to `slugify`
* Doc updates
* Add support for [component](http://component.io/)
* [Full changelog](https://github.com/epeli/underscore.string/compare/v2.3.1...v2.3.2)
## 2.3.1
* Bug fixes to `escapeHTML`, `classify`, `substr`
* Faster `count`
* Documentation fixes
* [Full changelog](https://github.com/epeli/underscore.string/compare/v2.3.0...v2.3.1)
## 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` and `quote` 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:
```javascript
_.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'
|