forked from dm3/clojure.java-time
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCHANGELOG.html
More file actions
112 lines (112 loc) · 7.77 KB
/
CHANGELOG.html
File metadata and controls
112 lines (112 loc) · 7.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>Changelog</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Clojure.java-time</span> <span class="project-version">1.1.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Topics</span></h3><ul><li class="depth-1 "><a href="README.html"><div class="inner"><span>Clojure.Java-Time</span></div></a></li><li class="depth-1 current"><a href="CHANGELOG.html"><div class="inner"><span>Changelog</span></div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><a href="java-time.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>java-time</span></div></a></li><li class="depth-2 branch"><a href="java-time.api.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>api</span></div></a></li><li class="depth-2"><a href="java-time.repl.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>repl</span></div></a></li></ul></div><div class="document" id="content"><div class="doc"><div class="markdown"><h1><a href="#changelog" id="changelog"></a>Changelog</h1>
<h2><a href="#next" id="next"></a>NEXT</h2>
<p>Due to <a href="https://github.com/dm3/clojure.java-time/issues/91">#91</a>, the main <code>java-time</code> namespace has been deprecated. A new namespace <code>java-time.api</code> has been created</p>
<p>Note that this change is entirely optional—<code>java-time</code> and <code>java-time.api</code> will continue to be in sync and may coexist.</p>
<p>See <a href="https://dm3.github.io/clojure.java-time/java-time.html">the docstring for <code>java-time</code></a> for more details.</p>
<h2><a href="#100" id="100"></a>1.0.0</h2>
<p>Released 2022-11-24.</p>
<h3><a href="#new-features" id="new-features"></a>New Features</h3>
<ul>
<li>Previously, Intervals were only allowed to the left of Instants in {before,after}?. Now they can be freely intermixed.</li>
</ul>
<h3><a href="#fixed" id="fixed"></a>Fixed</h3>
<ul>
<li>#78(liquidz): Add missing chrono fields (v0.3.3 has breaking changes)</li>
<li>#81(terop): Remove clj-tuple - no advantages over Clojure vector anymore</li>
<li>#52: Fix before/after on Intervals</li>
<li>#83(imrekoszo): Exclude clojure.core/abs</li>
</ul>
<h3><a href="#enhancements" id="enhancements"></a>Enhancements</h3>
<ul>
<li>add docstrings to all <code>java-time</code> fns</li>
<li>support clj-kondo in <code>java-time</code> ns by adding <code>:arglists</code> to all vars</li>
</ul>
<h3><a href="#internal" id="internal"></a>Internal</h3>
<ul>
<li>Deprecate <code>java-time.util/get-static-fields-of-type</code></li>
<li>Remove <code>java-time.potemkin.namespaces</code></li>
</ul>
<h2><a href="#033" id="033"></a>0.3.3</h2>
<h3><a href="#new-features" id="new-features"></a>New Features</h3>
<ul>
<li>#71(brettrowberry): not-after? and not-before?</li>
<li>#40(davidneu)/#61(puredanger): added/fixed deps.edn</li>
</ul>
<h3><a href="#fixed" id="fixed"></a>Fixed</h3>
<ul>
<li>#72(FieryCod): working with GraalVM</li>
<li>#29(danieldroit): conversion graph construction edge case</li>
<li>#60(robdaemon): locales can mess up predefined-formatters</li>
<li>#51(jimpil): remove reflection during load - improves load time</li>
</ul>
<h3><a href="#docs" id="docs"></a>Docs</h3>
<ul>
<li>#27(emlin)</li>
<li>#35(thobbs)</li>
<li>#36(holyjak)</li>
<li>#38(ProjectFrank)</li>
<li>#39(sashary)</li>
<li>#48(bpringe)</li>
<li>#56,#57(green-coder)</li>
<li>#63(vandr0iy)</li>
<li>#54,#31,#24</li>
</ul>
<h2><a href="#032" id="032"></a>0.3.2</h2>
<h3><a href="#new-features" id="new-features"></a>New Features</h3>
<ul>
<li><code>zone-id?</code> predicate</li>
<li><code>set-clock!</code> - sets the mocked clock value to the supplied instant</li>
<li><code>when-joda-time-loaded</code> - macro which runs code when Joda-Time is on the classpath</li>
<li><code>instant->sql-timestamp</code> - produce a <code>java.sql.Timestamp</code> from an Instant-like object</li>
<li><code>as</code> support for two-field Time entities #21, courtesy Larry Jones</li>
</ul>
<h2><a href="#031" id="031"></a>0.3.1</h2>
<h3><a href="#new-features" id="new-features"></a>New Features</h3>
<ul>
<li><code>clock?</code> predicate</li>
<li><code>mock-clock</code> - returns a mocked instance of <code>java.time.Clock</code>.</li>
</ul>
<h2><a href="#030" id="030"></a>0.3.0</h2>
<h3><a href="#breaking-changes" id="breaking-changes"></a>Breaking changes</h3>
<ul>
<li><code>to-sql-date</code> converts anything convertible to <code>LocalDate</code> into a <code>java.sql.Date</code>. Previously <code>to-sql-date</code> returned a <code>java.util.Date</code> (bug).</li>
<li><a href="https://github.com/dm3/clojure.java-time/issues/10">#10</a> <code>to-sql-timestamp</code> stopped accepting an instant and starting accepting local date time. I mistakenly assumed that <code>java.sql.Timestamp/from(Instant)</code> was deprecated.</li>
</ul>
<h3><a href="#new-features" id="new-features"></a>New Features</h3>
<p>Please see a new section within README - <a href="https://github.com/dm3/clojure.java-time#legacy-date-time-types">Legacy Date-Time Types</a></p>
<ul>
<li><code>java-date</code>, <code>sql-date</code>, <code>sql-timestamp</code>, <code>sql-time</code> - functions which produce the <code>java.util.*</code> date-time objects.</li>
<li><a href="https://github.com/dm3/clojure.java-time/issues/5">#5</a> automatic conversions:
<ul>
<li><code>java.sql.Date</code> -> <code>java.time.LocalDate</code></li>
<li><code>java.sql.Timestamp</code> -> <code>java.time.LocalDateTime</code></li>
<li><code>java.sql.Time</code> -> <code>java.time.LocalTime</code></li>
</ul>
</li>
<li>deprecated <code>to-java-date</code>/<code>to-sql-date</code>/<code>to-sql-timestamp</code></li>
</ul>
<h2><a href="#022" id="022"></a>0.2.2</h2>
<h3><a href="#fixed" id="fixed"></a>Fixed</h3>
<ul>
<li>Wrong primitive type annotation on <code>to-millis-from-epoch</code>, see <a href="https://github.com/jonase/eastwood/blob/master/doc/README-warn-about-bad-tags.txt">Eastwood</a> docs for the explanation.</li>
</ul>
<h2><a href="#021" id="021"></a>0.2.1</h2>
<h3><a href="#fixed" id="fixed"></a>Fixed</h3>
<ul>
<li><a href="https://github.com/dm3/clojure.java-time/issues/1">#1</a>: Reflection warnings in two-field time entity constructors</li>
<li><a href="https://github.com/dm3/clojure.java-time/issues/2">#2</a>: <code>Ordered</code> implementation for <code>java.time.Instant</code></li>
</ul>
<h2><a href="#020" id="020"></a>0.2.0</h2>
<h3><a href="#breaking-changes" id="breaking-changes"></a>Breaking changes</h3>
<ul>
<li><code>zoned-date-time</code> doesn’t accept the zone id as the last argument</li>
<li><code>offset-date-time/offset-time</code> doesn’t accept offset id as the last argument</li>
</ul>
<h3><a href="#new-features" id="new-features"></a>New features</h3>
<ul>
<li><code>with-offset</code>/<code>with-offset-same-instant</code> for offset manipulation</li>
<li><code>with-zone</code>/<code>with-zone-same-instant</code> for zone manipulation</li>
</ul>
</div></div></div></body></html>