Skip to content

Commit 5e12199

Browse files
committed
regenerate site
1 parent f6e0092 commit 5e12199

File tree

8 files changed

+17
-17
lines changed

8 files changed

+17
-17
lines changed

articles/cookbooks/cli_build_projects/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ <h2 id="toolsbuild-and-the-clojure-cli"><code>tools.build</code> and the Clojure
183183
:main-args ["-e" "(clojure-version)"]})]
184184
(b/process cmd)))
185185
</code></pre><p>We can run this with:</p><pre><code>clojure -T:build run
186-
</code></pre><p>and we'll see the version of Clojure we're running: <code>"1.11.3"</code>.</p><p><strong>Error Handling</strong></p><p>Since we will generally want the build to fail if the command exits with
186+
</code></pre><p>and we'll see the version of Clojure we're running: <code>"1.11.4"</code>.</p><p><strong>Error Handling</strong></p><p>Since we will generally want the build to fail if the command exits with
187187
a non-zero status, we'll check the return value of <code>b/process</code> and throw
188188
an exception if the exit status is non-zero:</p><pre><code class="clojure"> (when-not (zero? (:exit (b/process cmd)))
189189
(throw (ex-info (str "run failed for " aliases) opts)))
@@ -242,7 +242,7 @@ <h2 id="toolsbuild-and-the-clojure-cli"><code>tools.build</code> and the Clojure
242242
that specify versions of Clojure to test against, and then use those in a
243243
new <code>test-multi</code> function in <code>build.clj</code>.</p><p>Add these aliases to <code>deps.edn</code>:</p><pre><code class="clojure"> :1.9 {:override-deps {org.clojure/clojure {:mvn/version "1.9.0"}}}
244244
:1.10 {:override-deps {org.clojure/clojure {:mvn/version "1.10.3"}}}
245-
:1.11 {:override-deps {org.clojure/clojure {:mvn/version "1.11.3"}}}
245+
:1.11 {:override-deps {org.clojure/clojure {:mvn/version "1.11.4"}}}
246246
</code></pre><p>When these aliases are used in combination with other aliases, the default
247247
version of Clojure will be overridden with the specified version. We can see
248248
this by running <code>clojure -T:build run :aliases '[:1.9]'</code> and seeing <code>"1.9.0"</code>
@@ -283,7 +283,7 @@ <h2 id="toolsbuild-and-the-clojure-cli"><code>tools.build</code> and the Clojure
283283
Running tests in #{"test"}
284284

285285
Testing example-test
286-
1.11.3
286+
1.11.4
287287

288288
Ran 1 tests containing 1 assertions.
289289
0 failures, 0 errors.
@@ -360,7 +360,7 @@ <h2 id="toolsbuild-and-the-clojure-cli"><code>tools.build</code> and the Clojure
360360
&lt;dependency&gt;
361361
&lt;groupId&gt;org.clojure&lt;/groupId&gt;
362362
&lt;artifactId&gt;clojure&lt;/artifactId&gt;
363-
&lt;version&gt;1.11.3&lt;/version&gt;
363+
&lt;version&gt;1.11.4&lt;/version&gt;
364364
&lt;/dependency&gt;
365365
&lt;/dependencies&gt;
366366
&lt;repositories&gt;

articles/cookbooks/date_and_time/index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77

88
<meta name="description" content="This cookbook covers working with Java&#39;s java.time package in two styles, the
9-
first with interop and the second using libraries.This guide covers Clojure 1.11.3 and Java 8 or later.">
9+
first with interop and the second using libraries.This guide covers Clojure 1.11.4 and Java 8 or later.">
1010

1111
<meta property="og:description" content="This cookbook covers working with Java&#39;s java.time package in two styles, the
12-
first with interop and the second using libraries.This guide covers Clojure 1.11.3 and Java 8 or later.">
12+
first with interop and the second using libraries.This guide covers Clojure 1.11.4 and Java 8 or later.">
1313

1414
<meta property="og:url" content="https://clojure-doc.org/articles/cookbooks/date_and_time/" />
1515
<meta property="og:title" content="Date and Time" />
@@ -65,7 +65,7 @@ <h2>Date and Time</h2>
6565
</div>
6666

6767
<p>This cookbook covers working with Java's <code>java.time</code> package in two styles, the
68-
first with interop and the second using libraries.</p><p>This guide covers Clojure 1.11.3 and Java 8 or later.</p><p>This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution
68+
first with interop and the second using libraries.</p><p>This guide covers Clojure 1.11.4 and Java 8 or later.</p><p>This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution
6969
3.0 Unported License</a> (including images &amp; stylesheets). The source is
7070
available <a href="https://github.com/clojure-doc/clojure-doc.github.io">on Github</a>.</p><h1 id="introduction">Introduction</h1><p>This cookbook does not assume a background in Java, if you have such a
7171
background the interop section might be of interest.</p><p>This cookbook will be useful if you got your Clojure environment setup, know
@@ -75,7 +75,7 @@ <h2>Date and Time</h2>
7575
literal</a> is used
7676
to represent a <code>java.util.Date</code> object.</li></ul><p>While in JavaScript:
7777
TBD</p><h2 id="libraries">Libraries</h2><ul><li><a href="https://github.com/dm3/clojure.java-time">clojure.java-time</a><blockquote><p>A Clojure wrapper for Java 8 Date-Time API.</p></blockquote></li><li><a href="https://github.com/henryw374/cljc.java-time">cljc.java-time</a><blockquote><p>A Clojure(Script) library which mirrors the java.time api through kebab-case-named vars.</p></blockquote></li><li><a href="https://github.com/juxt/tick">tick</a><blockquote><p>A Clojure(Script) &amp; babashka library for dealing with time. Intended as a replacement for clj-time.</p></blockquote></li></ul><h1 id="preliminaries">Preliminaries</h1><p>The examples below assume the following <code>deps.edn</code></p><pre><code class="clojure">{:paths ["src"]
78-
:deps {org.clojure/clojure {:mvn/version "1.11.3"}
78+
:deps {org.clojure/clojure {:mvn/version "1.11.4"}
7979
clojure.java-time/clojure.java-time {:mvn/version "1.3.0"}
8080
com.widdindustries/cljc.java-time {:mvn/version "0.1.21"}}}
8181
</code></pre><h1 id="recipes">Recipes</h1><h2 id="clojurejava-time"><code>clojure.java-time</code></h2><h3 id="basics">Basics</h3><p>For the people coming from a non-Java background, we are creating an <em>instance</em>

articles/cookbooks/parsing_xml_with_zippers/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h2>Parsing XML in Clojure</h2>
8484
:url ""
8585
:license {:name "Eclipse Public License"
8686
:url "https://www.eclipse.org/legal/epl-v10.html"}
87-
:dependencies [[org.clojure/clojure "1.11.3"]
87+
:dependencies [[org.clojure/clojure "1.11.4"]
8888
[org.clojure/data.zip "1.0.0"]])
8989
</code></pre><p>We are including a dependency on
9090
<a href="https://github.com/clojure/data.zip">clojure.data.zip</a>, which is a

articles/ecosystem/libraries_authoring/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2>Ecosystem: Library Development and Distribution</h2>
7979
as the name of the new project we create and publish here, but you
8080
can use whatever name you want -- just remember to substitute that
8181
wherever you see <code>my-cool-lib</code> in this guide.</p><p>This guide uses Clojure 1.11 and a recent version of the Clojure CLI
82-
(at least 1.11.1.1139; current version is 1.11.3.1463 as of May 2024),
82+
(at least 1.11.1.1139; current version is 1.11.4.1474 as of August 2024),
8383
and requires you have <code>git</code>
8484
installed (though very little familiarity with <code>git</code> is required).</p><blockquote><p>Note: you should always ensure you have an up-to-date version of the Clojure CLI installed! See <a href="https://clojure.org/releases/tools">Tools Releases</a>. Several of the examples here require 1.11.1.1139 or later: <code>clojure -version</code> should tell you the version you have installed.</p></blockquote><p>It's assumed that you're already somewhat familiar with Clojure. If
8585
not, see the <a href="/articles/tutorials/getting_started/">Getting Started</a> and

articles/tutorials/basic_web_development/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h2>Basic Web Development</h2>
8080
<a href="/articles/tutorials/introduction/">Introduction</a> guides.</p><p>This work is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by/3.0/">Creative Commons
8181
Attribution 3.0 Unported License</a> (including images &amp;
8282
stylesheets). The source is available <a href="https://github.com/clojure-doc/clojure-doc.github.io">on
83-
Github</a>.</p><p>This guide uses Clojure 1.11.3, as well as current versions of the
83+
Github</a>.</p><p>This guide uses Clojure 1.11.4, as well as current versions of the
8484
component libraries noted below.</p><h2 id="conceptual-overview-of-components">Conceptual Overview of Components</h2><p>We'll use four major components (briefly described below) for our
8585
little webapp:</p><ul><li>Ring</li><li>Compojure</li><li>Hiccup</li><li>H2</li></ul><h3 id="ring">Ring</h3><p><a href="https://github.com/ring-clojure/ring">Ring</a> (<a href="https://clojars.org/ring">at
8686
clojars</a>) is a foundational Clojure web
@@ -236,7 +236,7 @@ <h2>Basic Web Development</h2>
236236
the value for that column.</p><p>You can try the code out in the <code>comment</code> form by evaluating each expression
237237
in it, and you should see the same results as the inline comments show.</p><p>You can also try those calls yourself in a standalone REPL,
238238
if you like:</p><pre><code class="clojure">clj
239-
Clojure 1.11.3
239+
Clojure 1.11.4
240240
user=&gt; (require 'my-webapp.db)
241241
nil
242242
;; you must require a namespace before you go into it:

articles/tutorials/getting_started_cli/index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ <h2>Getting Started with the Clojure CLI</h2>
8080
see the list of all the options available.</p><h2 id="trying-out-the-repl">Trying out the REPL</h2><p>Once you have the Clojure CLI installed, you can run it from anywhere you like
8181
to get a REPL:</p><pre><code>$ clj
8282
</code></pre><p>You should be greeted with the Clojure version and a "<code>user=&gt;</code>" prompt. Try it out:</p><pre><code class="clojure">$ clj
83-
Clojure 1.11.3
83+
Clojure 1.11.4
8484
user=&gt; (+ 1 1)
8585
;; ⇒ 2
8686
user=&gt; (distinct [:a :b :a :c :a :d])
@@ -109,10 +109,10 @@ <h2>Getting Started with the Clojure CLI</h2>
109109
<code>clojure.main</code> can also evaluate expressions:</p><pre><code>$ clojure -M -e '(println "Hello, Command!")'
110110
Hello, Command!
111111
</code></pre><p>or:</p><pre><code>$ clojure -M -e '(clojure-version)'
112-
"1.11.3"
112+
"1.11.4"
113113
</code></pre><p>The <code>-e</code> option prints the value returned by the expression (if it is not <code>nil</code>).</p><blockquote><p>Note: you can find more detailed information about <a href="https://clojure-doc.org/articles/ecosystem/libraries_authoring/#creating-new-projects">Creating New Projects</a> later in this guide.</p></blockquote><h3 id="working-in-the-repl">Working in the REPL</h3><p>In your project directory, start up a repl (<code>clj</code>) and
114114
run your <code>-main</code> function to see its output in the repl:</p><pre><code>$ clj
115-
Clojure 1.11.3
115+
Clojure 1.11.4
116116
user=&gt; (require 'my.proj)
117117
nil
118118
user=&gt; (my.proj/-main)

cryogen.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><atom:link href="https://clojure-doc.org/" rel="self" type="application/rss+xml"/><title>Clojure Guides</title><link>https://clojure-doc.org/</link><description>Clojure Documentation</description><lastBuildDate>Fri, 30 Aug 2024 16:57:03 -0700</lastBuildDate><generator>clj-rss</generator></channel></rss>
1+
<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><atom:link href="https://clojure-doc.org/" rel="self" type="application/rss+xml"/><title>Clojure Guides</title><link>https://clojure-doc.org/</link><description>Clojure Documentation</description><lastBuildDate>Fri, 30 Aug 2024 17:24:12 -0700</lastBuildDate><generator>clj-rss</generator></channel></rss>

feed.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><atom:link href="https://clojure-doc.org/" rel="self" type="application/rss+xml"/><title>Clojure Guides</title><link>https://clojure-doc.org/</link><description>Clojure Documentation</description><lastBuildDate>Fri, 30 Aug 2024 16:57:03 -0700</lastBuildDate><generator>clj-rss</generator></channel></rss>
1+
<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><atom:link href="https://clojure-doc.org/" rel="self" type="application/rss+xml"/><title>Clojure Guides</title><link>https://clojure-doc.org/</link><description>Clojure Documentation</description><lastBuildDate>Fri, 30 Aug 2024 17:24:12 -0700</lastBuildDate><generator>clj-rss</generator></channel></rss>

0 commit comments

Comments
 (0)