CHANGELOG.md
7.78 KB
3.3.3 / 2016-10-11
- added missing minified version
3.3.2 / 2016-10-11
- added
equalsIgnoreCase
#185
3.3.1 / 2015-08-06
- fix #160
3.3.0 / 2015-06-15
- added
splitRight
andsplitLeft
method #153
3.2.1 / 2015-06-13
- add missing minified version
- update phpjs link in README #154
3.2.0 / 2015-06-02
3.1.3 / 2015-05-29
- fix #142
3.1.2 / 2015-05-29
- fix
extendPrototype()
method
3.1.1 / 2015-03-26
3.1.0 / 2015-03-21
- added
stripLeft([chars])
andstripRight([chars])
#133
3.0.1 / 2015-03-16
- bugfix
underscore()
for single letter "words" #131
S('oneAtATime').underscore().s //'one_at_a_time' instead of 'one_at_atime'
3.0.0 / 2014-12-08
BREAKING Now underscore()
behaves as one would expect.
S('CarSpeed').underscore().s //'_car_speed'
now
S('CarSpeed').underscore().s //'car_speed'
2.2.0 / 2014-10-20
-
endsWith()
,startsWith()
accept multiple arguments: Azharul Islam / #118 -
template()
: allow for spaces for readability: Azharul Islam / #119 -
template()
: if key does not exist, replace with empty string Azharul Islam / #117
2.1.0 / 2014-09-22
- added
strip()
#115
2.0.1 / 2014-09-08
- forgot to bump version in actual
string.js
andstring.js.min
2.0.0 / 2014-09-02
- bugfix
isAlpha()
for empty strings #107 - added .npmignore. Closes #71
-
slugify()
behavior changed, added methodlatinise()
. #112
1.9.1 / 2014-08-05
- bugfix
parseCSV()
Sergio-Muriel / #97 - bugfix
wrapHTML()
Sergio-Muriel / #100 - optimize
isAlpha()
andisAlphaNumeric()
Sergio-Muriel / #101
1.9.0 / 2014-06-23
- added
wrapHTML()
method, (#90)
1.8.1 / 2014-04-23
- bugfix:
toBoolean()
/toBool()
treat1
astrue
. (arowla / #78)
1.8.0 / 2014-01-13
- Changed behavior of 'between()'. Closes #62
1.7.0 / 2013-11-19
-
padLeft
,padRight
, andpad
support numbers as input now (nfriedly / #70)
1.6.1 / 2013-11-07
- fixes to
template()
(jprincipe / #69) - added stringjs-rails to docs. Closes #48
- added Bower support. Closes #61
1.6.0 / 2013-09-16
- modified string.js to make it more extensible (jeffgran / #57)
- fix browser tests, closes #45, #56
1.5.1 / 2013-08-20
- Fixes bug in
template()
for falsey values. Closes #29 - added Makefile
1.5.0 / 2013-07-11
- added correct
lines()
implementation. (daxxog/#47) Closes #52
1.4.0 / 2013-
- updated homepage in
package.json
- The configurable option "Escape character" is documented as "escape" but was implemented as "escapeChar" (Reggino #44)
- removed
lines()
, better to not have it, then to do it incorrectly (#40) - added
humanize()
method, (#34) - added
count()
method, (#41)
1.3.1 / 2013-04-03
- fixed CSV / undefined (Reggino / #37)
- fixed CSV parsing bug with escape. See #32, #35, #37 (Reggino / #37)
- added multi-line CSV parse (Reggino / #37)
1.3.0 / 2013-03-18
- Added methods
between()
,chompLeft()
,chompRight()
,ensureLeft()
,ensureRight()
. (mgutz / #31) - Removed support for Node v0.6. Added support for v0.10
- Modified
parseCSV
to allow for escape input. (seanodell #32) - Allow
toCSV()
to havenull
. - Fix
decodeHTMLEntities()
bug. #30
1.2.1 / 2013-02-09
- Fixed truncate bug. #27
- Added
template()
.
1.2.0 / 2013-01-15
- Added AMD support.
- Fixed replaceAll bug. #21
- Changed
slugify
behavior. #17 - Renamed
decodeHtmlEntities
todecodeHTMLEntities
for consistency.decodeHtmlEntities
is deprecated. #23
1.1.0 / 2012-10-08
- Added
toBoolean()
andtoBool()
method. - Added
stripPunctuation()
method. - Renamed
clobberPrototype()
toextendPrototype()
. - Added
padLeft()
,padRight()
, andpad()
.
1.0.0 / 2012-09-25
- Translated from CoffeeScript to JavaScript.
- Added native JavaScript string functions such as
substr()
,substring()
,match()
,indexOf()
, etc. - Added
length
property. - Renamed
ltrim()
totrimLeft()
andrtrim()
totrimRight()
. - Added
valueOf()
method. - Added
toInt()
`toInteger()and
toFloat()` methods. - Modified behavior of
isEmpty()
to return true onundefined
ornull
. - Constructor will now cast the parameter to a string via its
toString()
method. - Added
VERSION
value. Useful for browser dependency checking. - Added
lines()
method. - Added
slugify()
method. - Added
escapeHTML()
andunescapeHTML()
methods. - Added
truncate()
method. - Added
stripTags()
method. - Added
toCSV()
andparseCSV()
methods.
0.2.2 / 2012-09-20
- Fixed bug in
left()
closes #6 - Upgraded to CoffeeScript 1.3.*. Last CoffeeScript release of
string.js
.
0.2.1 / 2012-03-09
- Updated README to include Quirks/Credits.
- Added method
decodeHtmlEntities()
.
0.2.0 / 2012-03-02
- Fixed method type
cloberPrototype()
toclobberPrototype()
. - Fixed Node.js testing bug that caused
T
andF
to be undefined functions. - Moved browser tests to its own directory.
- Updated README.
- Added
captialize()
. - Added
repeat()
/times()
. - Added
isUpper()
/isLower()
. - Added
dasherize()
,camelize()
, andunderscore()
.
0.1.2 / 2012-02-27
- Package.json updates.
0.1.1 / 2012-02-27
- Package.json updates.
0.1.0 / 2012-02-27
- Added a few more methods.
- Removed default behavior of modifying
String.prototype
- Updated README to be a bit more detailed.
- Ditched Makefiles for Cakefiles.
0.0.4 / 2012-01-27
- Added trim() method for IE browsers
- Moved string.coffee to lib/string.coffee
- Now included a minified
string.js
namedstring.min.js
- Updated README that now includes Browser usage instructions.
0.0.3 / 2012-01-20
- Cleaned package.json file
- Removed development dependency on CoffeeScript and Jasmine
- Changed testing from Jasmine to Mocha
- Added
includes
andcontains
methods