This repository was archived by the owner on Oct 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathCHANGES
136 lines (78 loc) · 4.06 KB
/
CHANGES
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
Changes from 1.5.4 to 1.5.5, 30 April 2014
==========================================
- Bind *ns* to file's ns during read. This solves an issue where Slamhound may
incorrectly alias namespaces as `user` when run from the command line.
- Add support for definterface and gen-class.
Changes from 1.5.3 to 1.5.4, 03 April 2014
==========================================
- Prefer imports whose package name matches a project namespace.
- Detect class names in metadata used for Java annotations.
- Fix detection of metadata attached to literal collections.
- Fix two file handle leaks.
- Call (shutdown-agents) in slam.hound/-main.
- Allow the file arguments of `swap-in-reconstructed-ns-form` and
`reconstruct` to be anything implementing clojure.java.io/Coercions.
- Use the system file separator when searching for files to reconstruct.
- Parse ns declarations that incorrectly use symbols instead of keywords for
ns reference clauses. e.g. `(require [])` vs `(:require [])`
Changes from 1.5.2 to 1.5.3, 23 March 2014
==========================================
- Add support for the :rename option in :require and :use forms.
- Add support for core.typed.
- Blacklist all namespaces beginning with "cljs". When Slamhound supports
ClojureScript, this will be revisited.
- Correctly identify aliases that shadow existing namespaces.
- Fix "Disjoin current ns from candidate namespaces" from 1.5.0.
- Update ns pretty-printing for long :require libspecs.
Changes from 1.5.1 to 1.5.2, 14 March 2014
==========================================
- Handle case where an alias is used to refer to private vars.
- Use a cache to greatly improve the performance of repeated searches for
a missing reference type.
- Improve class import search performance.
- Find namespaces with trailing and mixed dashes/underscores when importing
classes created by deftype and defrecord.
Changes from 1.5.0 to 1.5.1, 29 January 2014
============================================
- Require matching ns when importing classes created by deftype and defrecord.
- Support vars with Unicode characters.
- No more reflection warnings.
Changes from 1.4.0 to 1.5.0, 24 November 2013
=============================================
- Prefer aliases with shorter "alias" distance (number of insertions to create
anchored subsequence).
- Prefer alias that are namespace initialisms.
- Prevent multiple aliases to a single namespace.
- Disjoin current ns from candidate namespaces.
- Prefer candidates from project namespaces.
- Find consumed references within syntax-quotes. Closes #14
- Find special case token `/` and vars with trailing `'`s during regrow.
- Prefer capitalized vars that shadow class names when they appear in the old
ns map. Closes #27
- Use old ns form to disambiguate potential classes for import. Closes #26
- The :require flags :reload, :reload-all, and :verbose are parsed and
re-emitted.
- Parse multiple ns clauses of the same type.
- Metadata maps in ns forms are parsed and re-emitted.
- Multiple :key value options are emitted per libspec; i.e. no separate :as
and :refer vectors.
- Refer candidates are now subject to :exclude rules from the old ns.
- Excluding vars in clojure.core also excludes vars from cljs.core.
- New ns form parser for more reliable disambiguation.
https://github.com/technomancy/slamhound/pull/53
- Allow slamhound.el to work with either nrepl.el or cider.
- Include dynamically generated Classes in :import search.
- Avoid excessive tempfile creation.
- Honor existing :refer :all and :use clauses.
https://github.com/technomancy/slamhound/issues/29#issuecomment-22086914
- Preserve file comment headers.
- Fix multiline docstrings.
- Drop support for slime from elisp interface.
Changes from 1.3.3 to 1.4.0, 20 June 2013
=========================================
- Force print newlines between namespaces in short :requires. Closes #23
- Fix docstring unescaping. Closes #40
- Prefer candidates where last segment matches.
- Ignore temp files when globbing directories.
- Make sure the PushBackReader is actually closed.
- Remove lein1 compatibility gunk.