Skip to content

Commit

Permalink
Set version to 2023.10.15-405
Browse files Browse the repository at this point in the history
  • Loading branch information
niwinz committed Oct 15, 2023
1 parent 8d8367c commit 6731ee3
Show file tree
Hide file tree
Showing 8 changed files with 307 additions and 102 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pom.xml.asc
*.jar
*.class
*.swp
.shadow-cljs
/.lein-*
/.nrepl-port
/doc/dist
Expand Down
18 changes: 18 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
# Changelog

## Version 2023.10.15-405

- Add performance improvement on `word?` predicate (x3 aprox)
- Add performance improvement for `letters?` predicate (x3 aprox)
- Add performance improvement for default case of `trim`, `rtrim` and `ltrim` (arity 1)
- Add performance improvement to `camel`, `snake` and `kebab` (x9 in cljs)
- Add `unindent` helper as replacement for `<<-`

**Important**: these changes introduces some minor _breaking changes_;
in practice, these changes should be considered safe and most likely
will not affect you at all; because users are probably already
managing `nil` explicitly.

- Make `blank?` return `true` when value is `nil`
- Make `empty?` return `true` when value is `nil`
- Deprecate `empty-or-nil?` predicate


## Version 2022.06.16-403

- Handle `nils` on concat macro.
Expand Down
2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
(:require [clojure.tools.build.api :as b]))

(def lib 'funcool/cuerdas)
(def version (format "2022.06.16-%s" (b/git-count-revs nil)))
(def version (format "2023.10.15-%s" (b/git-count-revs nil)))
(def class-dir "target/classes")
(def basis (b/create-basis {:project "deps.edn"}))
(def jar-file (format "target/%s-%s.jar" (name lib) version))
Expand Down
18 changes: 11 additions & 7 deletions deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
{:dev
{:extra-paths ["test" "dev"]
:extra-deps
{org.clojure/clojurescript {:mvn/version "1.11.54"}
org.clojure/clojure {:mvn/version "1.11.1"}
org.clojure/tools.deps.alpha {:mvn/version "RELEASE"}
{org.clojure/clojure {:mvn/version "1.11.1"}
org.clojure/clojurescript {:mvn/version "1.11.60"}

;; org.clojure/tools.deps.alpha {:mvn/version "RELEASE"}
org.clojure/tools.namespace {:mvn/version "RELEASE"}
com.bhauman/figwheel-main {:mvn/version "RELEASE"}
com.bhauman/rebel-readline-cljs {:mvn/version "RELEASE"}
;; com.bhauman/rebel-readline-cljs {:mvn/version "RELEASE"}
com.bhauman/rebel-readline {:mvn/version "RELEASE"}
thheller/shadow-cljs {:mvn/version "2.25.8"}
criterium/criterium {:mvn/version "RELEASE"}}}

:outdated
Expand All @@ -23,17 +24,20 @@
org.clojure/tools.reader {:mvn/version "RELEASE"}
codox-theme-rdash/codox-theme-rdash {:mvn/version "RELEASE"}}}

:shadow-cljs
{:main-opts ["-m" "shadow.cljs.devtools.cli"]}

:repl
{:main-opts ["-m" "rebel-readline.main"]}

:build
{:extra-deps {io.github.clojure/tools.build {:git/tag "v0.8.1" :git/sha "7d40500"}}
{:extra-deps {io.github.clojure/tools.build {:git/tag "v0.9.6" :git/sha "8e78bcc"}}
:ns-default build}

:test
{:extra-paths ["test"]
:extra-deps
{io.github.cognitect-labs/test-runner
{:git/tag "v0.5.0" :git/sha "b3fd0d2"}}
{:git/tag "v0.5.1" :git/sha "dfb30dd"}}
:exec-fn cognitect.test-runner.api/test
:exec-args {:patterns [".*-test.*"]}}}}
3 changes: 2 additions & 1 deletion dev/user.clj
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
[clojure.pprint :refer [pprint]]
[clojure.test :as test]
[clojure.repl :refer :all]
[cuerdas.core :as str]
[criterium.core :refer [quick-bench bench with-progress-reporting]]))

(defn- run-tests
([] (run-tests #"^cuerdas.*"))
([] (run-tests #"^cuerdas.*-test$"))
([o]
(r/refresh)
(cond
Expand Down
2 changes: 1 addition & 1 deletion doc/user-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ aljibe de madera.
Add the following dependency to your project.clj file:

```clojure
funcool/cuerdas {:mvn/version "2022.03.27-397"}
funcool/cuerdas {:mvn/version "2023.10.15-405"}
```

## Quick start
Expand Down
Loading

0 comments on commit 6731ee3

Please sign in to comment.