parse-*
functions they behave inconsistently and cuerdas is
a string manipulation library (not parsing library).caseless=
and locale-caseless=
lower-locale
and upper-locale
(no cross platform support).index-of
and last-index-of
(safer versions of clojure.string/*).java.lang.Character
(all arguments should be
strings now, this doesn't have much added value but removing
improves performance).Date: 2019-11-14
Date: 2019-03-31
Date: 2019-01-09
parse-int
precision issues.Date: 2018-07-22
capital
with empty strings.Date: 2018-01-08
pad
function when the provided string
length is larger than the :length
parameter (cljs only).parse-int
and parse-double
unexpected behavior on clj and cljs.Date: 2017-10-06
Date: 2017-02-06
Date: 2016-12-25
Date: 2016-11-15
js-selector
wrong behavior.Date: 2016-10-23
blank?
predicate now properly returns nil
if nil
value is provided.
(BREAKING CHANGE).underscored
deprecated alias.ends-with?
predicate.locale-lower
and locale-upper
functions.caseless=
and locale-caseless=
functions.startswith?
and endswith?
predicate aliases.<<
interpolation macro to istr
(an alias for the old name
is maintained for backward compatibility)title
and similar functions.empty-or-nil?
predicate.Date: 2016-09-17
blank?
, alpha?
, alnum?
digits?
, word?
, letters?
and numeric?
predicates.Date: 2016-08-30
contains?
predicate because it is identical to
includes?
.Date: 2016-08-29
Important: this is a major release and includes many breaking changes among other fixes and improvements. A proper backward compatibility aliases are maintained but not all conserves the exactly same behavior.
This is a complete list of changes:
alpha-numeric?
to alnums?
.numeric?
to digits?
.dasherize
, underscore
, classify
, titleize
,
humanize
with more consistent with clojure naming: kebab
, snake
, pascal
,
title
and human
. Backward compatibility aliases are maintained.
BREAKING CHANGE: -moz-transition
<-> MozTransition
transformations
and similar stuff related to css/js are now handled by new functions:
js-selector
and css-selector
. (Please, see more info in PR #33).parse-long
to parse-int
in jvm impl (make the clj and cljs impl
equivalent).parse-float
to parse-double
in cljs impl (the second arity is
removed and now clj and cljs impl are equivalent).capitalize
to capital
.parse-number
cross-platform (and remove the second arity that used for
specify the precision).words
function unicode aware.blank?
predicate unicode aware.clean
function unicode aware.collapse-whitespace
function unicode aware.capital
function.words
function in terms of nil safety.replace
function in cljs.escape-html
and unescape-html
for clj.word?
predicate (unicode aware).letters?
predicate (unicode aware).numeric?
predicate.locale-upper
and locale-lower
functions.caseless=
and locale-caseless=
functions.fmt
alias to format
function.uslug
function (unicode friendly version of slug
).<<
macro)<<-
function)Date: 2016-06-25
format
function.format
function making it more flexible.Date: 2016-04-12
Date: 2015-12-03
Date: 2015-11-30
to-bool
, words
, alpha?
, among others
(thanks to @jelz).Date: 2015-08-01
Date: 2015-06-21
Date: 2015-03-30
Date: 2015-03-30
Date: 2015-03-14
Date: 2015-01-13
Date: 2015-01-05
Date: 2014-12-23
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close