Skip to content

Commit

Permalink
Release 0.16.0
Browse files Browse the repository at this point in the history
  • Loading branch information
luciolucio committed Mar 3, 2023
1 parent 5cedab7 commit 7172ee5
Show file tree
Hide file tree
Showing 13 changed files with 76 additions and 67 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changes

* UNRELEASED
* 0.16.0 - 3Mar2023
* API now throws when holi has no record of holidays for given year
* Improved performance of API fns even more, up to 100x faster!

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ Contribute a fix, or a new calendar to the project - see [CONTRIBUTING.md](CONTR

## I want a calendar that holi doesn't have

Build yourself a [custom library](https://cljdoc.org/d/io.github.luciolucio/holi/0.15.0/doc/custom-holidays), with your
Build yourself a [custom library](https://cljdoc.org/d/io.github.luciolucio/holi/0.16.0/doc/custom-holidays), with your
own holiday calendars.
2 changes: 1 addition & 1 deletion build.clj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(ns build
(:require [clojure.tools.build.api :as b]))

(def version "0.15.0")
(def version "0.16.0")

(def lib 'io.github.luciolucio/holi)
(def basis (b/create-basis {:project "deps.edn"}))
Expand Down
2 changes: 1 addition & 1 deletion doc/01-README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ on [Slack](http://clojurians.slack.com): `@Lucio Assis`

## Usage

See the [API docs](https://cljdoc.org/d/io.github.luciolucio/holi/0.15.0/api/luciolucio.holi) for detail on holi's
See the [API docs](https://cljdoc.org/d/io.github.luciolucio/holi/0.16.0/api/luciolucio.holi) for detail on holi's
utilities: `add`, `weekend?`, `holiday?`, `business-day?` and `non-business-day?`.

## A note on terminology
Expand Down
4 changes: 2 additions & 2 deletions doc/04-CUSTOM.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
Generate a new clojure deps project:

```
curl -LO https://raw.githubusercontent.com/luciolucio/holi/0.15.0/new-holi-project.sh
curl -LO https://raw.githubusercontent.com/luciolucio/holi/0.16.0/new-holi-project.sh
bash new-holi-project.sh
```

Follow the instructions in its README to create holiday calendar files of your own and generate
a jar. It will expose the [same API as holi](https://cljdoc.org/d/io.github.luciolucio/holi/0.15.0/api/luciolucio.holi)
a jar. It will expose the [same API as holi](https://cljdoc.org/d/io.github.luciolucio/holi/0.16.0/api/luciolucio.holi)
but your holidays will be available instead.
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
</head>
<body>
<div id="app"></div>
<script src="js/app-main.59FC5C931934FF57C89F9BB98DA71D27.js" type="text/javascript"></script>
<script src="js/app-main.CB06BD956374527A055E223B30664792.js" type="text/javascript"></script>
</body>
</html>

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/js/manifest.edn
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{:module-id :app-main, :name :app-main, :output-name "app-main.59FC5C931934FF57C89F9BB98DA71D27.js", :entries [luciolucio.holi.showcase.main.core luciolucio.holi.showcase.main.core], :depends-on nil, :sources ["goog/base.js" "goog/debug/error.js" "goog/dom/nodetype.js" "goog/asserts/asserts.js" "goog/reflect/reflect.js" "goog/math/long.js" "goog/math/integer.js" "goog/dom/asserts.js" "goog/functions/functions.js" "goog/string/typedstring.js" "goog/string/const.js" "goog/i18n/bidi.js" "goog/html/trustedtypes.js" "goog/html/safescript.js" "goog/fs/url.js" "goog/fs/blob.js" "goog/html/trustedresourceurl.js" "goog/string/internal.js" "goog/html/safeurl.js" "goog/html/safestyle.js" "goog/object/object.js" "goog/html/safestylesheet.js" "goog/dom/htmlelement.js" "goog/dom/tagname.js" "goog/array/array.js" "goog/labs/useragent/useragent.js" "goog/labs/useragent/util.js" "goog/labs/useragent/browser.js" "goog/dom/tags.js" "goog/html/safehtml.js" "goog/html/uncheckedconversions.js" "goog/dom/safe.js" "goog/string/string.js" "goog/collections/maps.js" "goog/structs/structs.js" "goog/uri/utils.js" "goog/uri/uri.js" "goog/string/stringbuffer.js" "cljs/core.cljs" "shadow/js.js" "node_modules/@emotion/sheet/dist/sheet.browser.cjs.js" "node_modules/@emotion/stylis/dist/stylis.browser.cjs.js" "node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.cjs.js" "node_modules/@emotion/cache/dist/cache.browser.cjs.js" "node_modules/@emotion/hash/dist/hash.browser.cjs.js" "node_modules/@emotion/unitless/dist/unitless.browser.cjs.js" "node_modules/@emotion/memoize/dist/memoize.browser.cjs.js" "node_modules/@emotion/serialize/dist/serialize.browser.cjs.js" "node_modules/@emotion/utils/dist/utils.browser.cjs.js" "node_modules/create-emotion/dist/create-emotion.browser.cjs.js" "node_modules/emotion/dist/emotion.cjs.prod.js" "node_modules/emotion/dist/emotion.cjs.js" "luciolucio/holi/showcase/commons/style.cljs" "luciolucio/holi/showcase/components/util.cljs" "luciolucio/holi/showcase/components/layout/stack_container/core.cljs" "luciolucio/holi/showcase/components/layout/inline_container/core.cljs" "clojure/string.cljs" "tick/protocols.cljc" "node_modules/@js-joda/core/dist/js-joda.js" "java/time.cljs" "cljs/tools/reader/impl/utils.cljs" "cljs/tools/reader/reader_types.cljs" "cljs/tools/reader/impl/inspect.cljs" "cljs/tools/reader/impl/errors.cljs" "cljs/tools/reader/impl/commons.cljs" "cljs/tools/reader.cljs" "cljs/tools/reader/edn.cljs" "cljs/reader.cljs" "time_literals/data_readers_cljs.cljc" "time_literals/read_write.cljc" "cljc/java_time/extn/calendar_awareness.cljc" "cljc/java_time/local_date.cljs" "cljc/java_time/local_date_time.cljs" "cljc/java_time/local_time.cljs" "cljc/java_time/clock.cljs" "cljc/java_time/instant.cljs" "cljc/java_time/zone_id.cljs" "cljc/java_time/zone_offset.cljs" "cljc/java_time/zoned_date_time.cljs" "cljc/java_time/offset_date_time.cljs" "cljc/java_time/offset_time.cljs" "cljc/java_time/year_month.cljs" "cljc/java_time/month.cljs" "cljc/java_time/year.cljs" "cljc/java_time/day_of_week.cljs" "cljc/java_time/period.cljs" "cljc/java_time/duration.cljs" "cljc/java_time/extn/predicates.cljc" "java/time/temporal.cljs" "cljc/java_time/temporal/temporal_amount.cljs" "cljc/java_time/temporal/temporal.cljs" "cljc/java_time/temporal/temporal_adjusters.cljs" "cljc/java_time/temporal/chrono_field.cljs" "cljc/java_time/temporal/chrono_unit.cljs" "java/time/format.cljs" "cljc/java_time/format/date_time_formatter.cljs" "cljs/java_time/extend_eq_and_compare.cljs" "tick/core.cljc" "luciolucio/holi/constants.cljc" "luciolucio/holi/util.cljc" "luciolucio/holi/core.cljc" "luciolucio/holi.cljc" "goog/string/stringformat.js" "node_modules/object-assign/index.js" "node_modules/react/cjs/react.production.min.js" "node_modules/react/index.js" "clojure/walk.cljs" "reagent/debug.cljs" "reagent/impl/util.cljs" "reagent/impl/batching.cljs" "reagent/impl/protocols.cljs" "clojure/set.cljs" "reagent/ratom.cljs" "reagent/impl/component.cljs" "reagent/impl/input.cljs" "reagent/impl/template.cljs" "reagent/core.cljs" "node_modules/@js-joda/locale_en-us/dist/index.js" "tick/locale_en_us.cljc" "luciolucio/holi/showcase/pages/home/core.cljs" "node_modules/scheduler/cjs/scheduler.production.min.js" "node_modules/scheduler/index.js" "node_modules/react-dom/cjs/react-dom.production.min.js" "node_modules/react-dom/index.js" "reagent/dom.cljs" "luciolucio/holi/showcase/main/core.cljs" "shadow/module/app-main/append.js"]}]
[{:module-id :app-main, :name :app-main, :output-name "app-main.CB06BD956374527A055E223B30664792.js", :entries [luciolucio.holi.showcase.main.core luciolucio.holi.showcase.main.core], :depends-on nil, :sources ["goog/base.js" "goog/debug/error.js" "goog/dom/nodetype.js" "goog/asserts/asserts.js" "goog/reflect/reflect.js" "goog/math/long.js" "goog/math/integer.js" "goog/dom/asserts.js" "goog/functions/functions.js" "goog/string/typedstring.js" "goog/string/const.js" "goog/i18n/bidi.js" "goog/html/trustedtypes.js" "goog/html/safescript.js" "goog/fs/url.js" "goog/fs/blob.js" "goog/html/trustedresourceurl.js" "goog/string/internal.js" "goog/html/safeurl.js" "goog/html/safestyle.js" "goog/object/object.js" "goog/html/safestylesheet.js" "goog/dom/htmlelement.js" "goog/dom/tagname.js" "goog/array/array.js" "goog/labs/useragent/useragent.js" "goog/labs/useragent/util.js" "goog/labs/useragent/browser.js" "goog/dom/tags.js" "goog/html/safehtml.js" "goog/html/uncheckedconversions.js" "goog/dom/safe.js" "goog/string/string.js" "goog/collections/maps.js" "goog/structs/structs.js" "goog/uri/utils.js" "goog/uri/uri.js" "goog/string/stringbuffer.js" "cljs/core.cljs" "shadow/js.js" "node_modules/@emotion/sheet/dist/sheet.browser.cjs.js" "node_modules/@emotion/stylis/dist/stylis.browser.cjs.js" "node_modules/@emotion/weak-memoize/dist/weak-memoize.browser.cjs.js" "node_modules/@emotion/cache/dist/cache.browser.cjs.js" "node_modules/@emotion/hash/dist/hash.browser.cjs.js" "node_modules/@emotion/unitless/dist/unitless.browser.cjs.js" "node_modules/@emotion/memoize/dist/memoize.browser.cjs.js" "node_modules/@emotion/serialize/dist/serialize.browser.cjs.js" "node_modules/@emotion/utils/dist/utils.browser.cjs.js" "node_modules/create-emotion/dist/create-emotion.browser.cjs.js" "node_modules/emotion/dist/emotion.cjs.prod.js" "node_modules/emotion/dist/emotion.cjs.js" "luciolucio/holi/showcase/commons/style.cljs" "luciolucio/holi/showcase/components/util.cljs" "luciolucio/holi/showcase/components/layout/stack_container/core.cljs" "luciolucio/holi/showcase/components/layout/inline_container/core.cljs" "clojure/string.cljs" "tick/protocols.cljc" "node_modules/@js-joda/core/dist/js-joda.js" "java/time.cljs" "cljs/tools/reader/impl/utils.cljs" "cljs/tools/reader/reader_types.cljs" "cljs/tools/reader/impl/inspect.cljs" "cljs/tools/reader/impl/errors.cljs" "cljs/tools/reader/impl/commons.cljs" "cljs/tools/reader.cljs" "cljs/tools/reader/edn.cljs" "cljs/reader.cljs" "time_literals/data_readers_cljs.cljc" "time_literals/read_write.cljc" "cljc/java_time/extn/calendar_awareness.cljc" "cljc/java_time/local_date.cljs" "cljc/java_time/local_date_time.cljs" "cljc/java_time/local_time.cljs" "cljc/java_time/clock.cljs" "cljc/java_time/instant.cljs" "cljc/java_time/zone_id.cljs" "cljc/java_time/zone_offset.cljs" "cljc/java_time/zoned_date_time.cljs" "cljc/java_time/offset_date_time.cljs" "cljc/java_time/offset_time.cljs" "cljc/java_time/year_month.cljs" "cljc/java_time/month.cljs" "cljc/java_time/year.cljs" "cljc/java_time/day_of_week.cljs" "cljc/java_time/period.cljs" "cljc/java_time/duration.cljs" "cljc/java_time/extn/predicates.cljc" "java/time/temporal.cljs" "cljc/java_time/temporal/temporal_amount.cljs" "cljc/java_time/temporal/temporal.cljs" "cljc/java_time/temporal/temporal_adjusters.cljs" "cljc/java_time/temporal/chrono_field.cljs" "cljc/java_time/temporal/chrono_unit.cljs" "java/time/format.cljs" "cljc/java_time/format/date_time_formatter.cljs" "cljs/java_time/extend_eq_and_compare.cljs" "tick/core.cljc" "luciolucio/holi/constants.cljc" "luciolucio/holi/util.cljc" "luciolucio/holi/core.cljc" "luciolucio/holi.cljc" "goog/string/stringformat.js" "node_modules/object-assign/index.js" "node_modules/react/cjs/react.production.min.js" "node_modules/react/index.js" "clojure/walk.cljs" "reagent/debug.cljs" "reagent/impl/util.cljs" "reagent/impl/batching.cljs" "reagent/impl/protocols.cljs" "clojure/set.cljs" "reagent/ratom.cljs" "reagent/impl/component.cljs" "reagent/impl/input.cljs" "reagent/impl/template.cljs" "reagent/core.cljs" "node_modules/@js-joda/locale_en-us/dist/index.js" "tick/locale_en_us.cljc" "luciolucio/holi/showcase/pages/home/core.cljs" "node_modules/scheduler/cjs/scheduler.production.min.js" "node_modules/scheduler/index.js" "node_modules/react-dom/cjs/react-dom.production.min.js" "node_modules/react-dom/index.js" "reagent/dom.cljs" "luciolucio/holi/showcase/main/core.cljs" "shadow/module/app-main/append.js"]}]
2 changes: 1 addition & 1 deletion new-holi-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fi

echo ""
echo "Downloading template..."
curl -LO https://github.com/luciolucio/holi/raw/0.15.0/resources/holi-template.zip
curl -LO https://github.com/luciolucio/holi/raw/0.16.0/resources/holi-template.zip

echo ""
echo "Decompressing template..."
Expand Down
Binary file modified resources/holi-template.zip
Binary file not shown.
2 changes: 1 addition & 1 deletion resources/holi-template/resources/deps.edn
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{:paths ["src"]
:deps {org.clojure/clojure {:mvn/version "1.11.1"}
io.github.luciolucio/holi {:mvn/version "0.15.0"}}
io.github.luciolucio/holi {:mvn/version "0.16.0"}}
:aliases {:build {:extra-deps {io.github.clojure/tools.build {:git/tag "v0.8.3" :git/sha "0d20256"}}
:ns-default build}
:generate {:main-opts ["-m" "luciolucio.holi.generate"]}}}
2 changes: 1 addition & 1 deletion showcase/deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:deps {org.clojure/clojurescript {:mvn/version "1.11.60"}
reagent/reagent {:mvn/version "1.1.1"}
tick/tick {:mvn/version "0.5.0"}
io.github.luciolucio/holi {:mvn/version "0.14.0"}}
io.github.luciolucio/holi {:mvn/version "0.16.0"}}

:aliases {:shadow-cli {:extra-deps {thheller/shadow-cljs {:mvn/version "2.20.20"}}
:main-opts ["-m" "shadow.cljs.devtools.cli"]}
Expand Down
2 changes: 1 addition & 1 deletion showcase/src/luciolucio/holi/showcase/pages/home/core.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
(defn header []
[:div {:class header-style}
[inline-container {:spacing "0em" :justify "space-between"}
[:div "Holi calendar showcase" [version "0.15.0"]]
[:div "Holi calendar showcase" [version "0.16.0"]]
[:a {:href "https://cljdoc.org/d/io.github.luciolucio/holi/CURRENT"} "Back to docs"]]])

(defn view []
Expand Down

0 comments on commit 7172ee5

Please sign in to comment.