Skip to content

Commit 991fa60

Browse files
committed
Split changelog out
1 parent 4f0ee45 commit 991fa60

2 files changed

Lines changed: 89 additions & 87 deletions

File tree

CHANGELOG.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Change Log
2+
3+
* Release 1.0.next
4+
* Planning to add `:multi true` to modify behavior of `:update-fn` [TCLI-96](https://clojure.atlassian.net/browse/TCLI-96).
5+
6+
* Release 1.0.194 2020-02-20
7+
* Switch to 1.0.x versioning.
8+
* Document the `:missing` option [TCLI-95](https://clojure.atlassian.net/browse/TCLI-95).
9+
* Release 0.4.2 2019-03-26
10+
* Restore ClojureScript compatibility (Martin Klepsch)
11+
[TCLI-94](https://clojure.atlassian.net/browse/TCLI-94).
12+
* Replace `clojure.pprint/cl-format` for better compatibility with GraalVM
13+
[TCLI-93](https://clojure.atlassian.net/browse/TCLI-93).
14+
* Release 0.4.1 2018-09-22
15+
* Add `:update-fn` as the preferred way to handle non-idempotent options. It
16+
is a simpler alternative to using `:assoc-fn` for some such options.
17+
* Add `:default-fn` as a way to compute default option values after parsing.
18+
This is particularly useful with `:update-fn` since you can use it to
19+
override the `:default` value if necessary
20+
[TCLI-90](https://clojure.atlassian.net/browse/TCLI-90).
21+
* Release 0.4.0 on 2018-09-12
22+
* Convert everything to use `.cljc` files and add `clj`/`deps.edn` support
23+
[TCLI-91](https://clojure.atlassian.net/browse/TCLI-91). This **drops
24+
support for Clojure 1.7 and earlier** but brings full feature parity to
25+
ClojureScript. Tests for Clojure can be run with `clj -A:test:runner` and
26+
for ClojureScript with `clj -A:test:cljs-runner`. Multi-version testing is
27+
possible with aliases `:1.8`, `:1.9`, and `:master`.
28+
* Release 0.3.7 on 2018-04-25
29+
* Fix NPE from `nil` long option
30+
[TCLI-89](https://clojure.atlassian.net/browse/TCLI-89) (Peter Schwarz).
31+
* Release 0.3.6 on 2018-04-11
32+
* Restore support for `--no` prefix in long options
33+
[TCLI-88](https://clojure.atlassian.net/browse/TCLI-88) (Arne Brasseur).
34+
* Release 0.3.5 on 2016-05-04
35+
* Fix `summarize` in cljs after renaming during TCLI-36 below
36+
[TCLI-85](https://clojure.atlassian.net/browse/TCLI-85).
37+
* Release 0.3.4 on 2016-05-01
38+
* Clarify use of `summarize` via expanded docstring and make both of the
39+
functions it calls public so it is easier to build your own `:summary-fn`.
40+
[TCLI-36](https://clojure.atlassian.net/browse/TCLI-36).
41+
* Release 0.3.3 on 2015-08-21
42+
* Add `:missing` to option specification to produce the given error message
43+
if the option is not provided (and has no default value).
44+
[TCLI-12](https://clojure.atlassian.net/browse/TCLI-12)
45+
* Add `:strict` to `parse-opts`:
46+
If true, treats required option arguments that match other options as a
47+
parse error (missing required argument).
48+
[TCLI-10](https://clojure.atlassian.net/browse/TCLI-10)
49+
* Release 0.3.2 on 2015-07-28
50+
* Add `:no-defaults` to `parse-opts`:
51+
Returns sequence of options that excludes defaulted ones. This helps
52+
support constructing options from multiple sources (command line, config file).
53+
* Add `get-default-options`:
54+
Returns sequence of options that have defaults specified.
55+
* Support multiple validations [TCLI-9](https://clojure.atlassian.net/browse/TCLI-9)
56+
* Support in-order arguments [TCLI-5](https://clojure.atlassian.net/browse/TCLI-5):
57+
`:in-order` processes arguments up to the first unknown option;
58+
A warning is displayed when unknown options are encountered.
59+
* Release 0.3.1 on 2014-01-02
60+
* Apply patch for [TCLI-8](https://clojure.atlassian.net/browse/TCLI-8):
61+
Correct test that trivially always passes
62+
* Apply patch for [TCLI-7](https://clojure.atlassian.net/browse/TCLI-7):
63+
summarize throws when called with an empty sequence of options
64+
* Release 0.3.0 on 2013-12-15
65+
* Add public functions `parse-opts` and `summarize` to supersede `cli`,
66+
addressing [TCLI-3](https://clojure.atlassian.net/browse/TCLI-3),
67+
[TCLI-4](https://clojure.atlassian.net/browse/TCLI-4), and
68+
[TCLI-6](https://clojure.atlassian.net/browse/TCLI-6)
69+
* Add ClojureScript port of `parse-opts` and `summarize`, available in
70+
`cljs.tools.cli`.
71+
* Move extra documentation of `cli` function to
72+
https://github.com/clojure/tools.cli/wiki/Documentation-for-0.2.4
73+
* Release 0.2.4 on 2013-08-06
74+
* Applying patch for [TCLI-2](https://clojure.atlassian.net/browse/TCLI-2)
75+
(support an assoc-fn option)
76+
* Release 0.2.3 on 2013-08-06
77+
* Add optional description string to prefix the returned banner
78+
* Release 0.2.2 on 2012-08-09
79+
* Applying patch for [TCLI-1](https://clojure.atlassian.net/browse/TCLI-1)
80+
(do not include keys when no value provided by :default)
81+
* Release 0.2.1 on 2011-11-03
82+
* Removing the :required option. Hangover from when -h and --help were
83+
implemented by default, causes problems if you want help and dont
84+
provide a :required argument.
85+
* Release 0.2.0 on 2011-10-31
86+
* Remove calls to System/exit
87+
* Remove built-in help options
88+
* Release 0.1.0
89+
* Initial import of Clargon codebase

README.md

Lines changed: 0 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -327,93 +327,6 @@ only `parse-opts` and `summarize` were available.
327327

328328
* [Compatibility Test Matrix](http://build.clojure.org/job/tools.cli-test-matrix/)
329329

330-
## Change Log
331-
332-
* Release 1.0.194 2020-02-20
333-
* Switch to 1.0.x versioning.
334-
* Document the `:missing` option [TCLI-95](http://clojure.atlassian.net/browse/TCLI-95).
335-
* Release 0.4.2 2019-03-26
336-
* Restore ClojureScript compatibility (Martin Klepsch)
337-
[TCLI-94](http://clojure.atlassian.net/browse/TCLI-94).
338-
* Replace `clojure.pprint/cl-format` for better compatibility with GraalVM
339-
[TCLI-93](http://clojure.atlassian.net/browse/TCLI-93).
340-
* Release 0.4.1 2018-09-22
341-
* Add `:update-fn` as the preferred way to handle non-idempotent options. It
342-
is a simpler alternative to using `:assoc-fn` for some such options.
343-
* Add `:default-fn` as a way to compute default option values after parsing.
344-
This is particularly useful with `:update-fn` since you can use it to
345-
override the `:default` value if necessary
346-
[TCLI-90](http://clojure.atlassian.net/browse/TCLI-90).
347-
* Release 0.4.0 on 2018-09-12
348-
* Convert everything to use `.cljc` files and add `clj`/`deps.edn` support
349-
[TCLI-91](http://clojure.atlassian.net/browse/TCLI-91). This **drops
350-
support for Clojure 1.7 and earlier** but brings full feature parity to
351-
ClojureScript. Tests for Clojure can be run with `clj -A:test:runner` and
352-
for ClojureScript with `clj -A:test:cljs-runner`. Multi-version testing is
353-
possible with aliases `:1.8`, `:1.9`, and `:master`.
354-
* Release 0.3.7 on 2018-04-25
355-
* Fix NPE from `nil` long option
356-
[TCLI-89](http://clojure.atlassian.net/browse/TCLI-89) (Peter Schwarz).
357-
* Release 0.3.6 on 2018-04-11
358-
* Restore support for `--no` prefix in long options
359-
[TCLI-88](http://clojure.atlassian.net/browse/TCLI-88) (Arne Brasseur).
360-
* Release 0.3.5 on 2016-05-04
361-
* Fix `summarize` in cljs after renaming during TCLI-36 below
362-
[TCLI-85](http://clojure.atlassian.net/browse/TCLI-85).
363-
* Release 0.3.4 on 2016-05-01
364-
* Clarify use of `summarize` via expanded docstring and make both of the
365-
functions it calls public so it is easier to build your own `:summary-fn`.
366-
[TCLI-36](http://clojure.atlassian.net/browse/TCLI-36).
367-
* Release 0.3.3 on 2015-08-21
368-
* Add `:missing` to option specification to produce the given error message
369-
if the option is not provided (and has no default value).
370-
[TCLI-12](http://clojure.atlassian.net/browse/TCLI-12)
371-
* Add `:strict` to `parse-opts`:
372-
If true, treats required option arguments that match other options as a
373-
parse error (missing required argument).
374-
[TCLI-10](http://clojure.atlassian.net/browse/TCLI-10)
375-
* Release 0.3.2 on 2015-07-28
376-
* Add `:no-defaults` to `parse-opts`:
377-
Returns sequence of options that excludes defaulted ones. This helps
378-
support constructing options from multiple sources (command line, config file).
379-
* Add `get-default-options`:
380-
Returns sequence of options that have defaults specified.
381-
* Support multiple validations [TCLI-9](http://clojure.atlassian.net/browse/TCLI-9)
382-
* Support in-order arguments [TCLI-5](http://clojure.atlassian.net/browse/TCLI-5):
383-
`:in-order` processes arguments up to the first unknown option;
384-
A warning is displayed when unknown options are encountered.
385-
* Release 0.3.1 on 2014-01-02
386-
* Apply patch for [TCLI-8](http://clojure.atlassian.net/browse/TCLI-8):
387-
Correct test that trivially always passes
388-
* Apply patch for [TCLI-7](http://clojure.atlassian.net/browse/TCLI-7):
389-
summarize throws when called with an empty sequence of options
390-
* Release 0.3.0 on 2013-12-15
391-
* Add public functions `parse-opts` and `summarize` to supersede `cli`,
392-
addressing [TCLI-3](http://clojure.atlassian.net/browse/TCLI-3),
393-
[TCLI-4](http://clojure.atlassian.net/browse/TCLI-4), and
394-
[TCLI-6](http://clojure.atlassian.net/browse/TCLI-6)
395-
* Add ClojureScript port of `parse-opts` and `summarize`, available in
396-
`cljs.tools.cli`.
397-
* Move extra documentation of `cli` function to
398-
https://github.com/clojure/tools.cli/wiki/Documentation-for-0.2.4
399-
* Release 0.2.4 on 2013-08-06
400-
* Applying patch for [TCLI-2](http://clojure.atlassian.net/browse/TCLI-2)
401-
(support an assoc-fn option)
402-
* Release 0.2.3 on 2013-08-06
403-
* Add optional description string to prefix the returned banner
404-
* Release 0.2.2 on 2012-08-09
405-
* Applying patch for [TCLI-1](http://clojure.atlassian.net/browse/TCLI-1)
406-
(do not include keys when no value provided by :default)
407-
* Release 0.2.1 on 2011-11-03
408-
* Removing the :required option. Hangover from when -h and --help were
409-
implemented by default, causes problems if you want help and dont
410-
provide a :required argument.
411-
* Release 0.2.0 on 2011-10-31
412-
* Remove calls to System/exit
413-
* Remove built-in help options
414-
* Release 0.1.0
415-
* Initial import of Clargon codebase
416-
417330
## License
418331

419332
Copyright (c) Rich Hickey and contributors. All rights reserved.

0 commit comments

Comments
 (0)