better cache
[nikiroo-utils.git] / changelog.md
CommitLineData
b771aed5
NR
1# nikiroo-utils
2
82fcfcde
NR
3## Version WIP
4
5- new: can now select the TempFiles root
6- new: can now select the Image temporary root
7- fix: Cache now offer some tracing when cleaning the cache
8
ce3972ea 9## Version 4.7.0
e361afe4
NR
10
11- tracer: traces on stderr by default
ce3972ea
NR
12- new: downloader one more public method
13- fix: downloader use original URL for cache ID
e361afe4 14
79961c53 15## Version 4.6.2
5b46737c 16
79961c53 17- fix: formatNumber/toNumber and decimals
5b46737c 18
43d2b562
NR
19## Version 4.6.0
20
21- new: proxy
22- new: StringUtils formatNumber and toNumber
23- fix: UI Desc (NPE)
24
40fe10ff 25## Version 4.5.2
3f277541
NR
26
27- Serial: fix b64/not b64 error
b6200792
NR
28- Serial: perf improvement
29- Base64: perf improvement
875fbf21 30- new: Proxy selector
3f277541 31
96d4aebe
NR
32## Version 4.5.1
33
34- Progress: fix deadlock in rare cases
35
a359464f
NR
36## Version 4.5.0
37
38- Base64: allow access to streams
39- Deprecated: do not use our on deprecated functions
40- Serial: fix ZIP/noZIP error
41
bb60bd13
NR
42## Version 4.4.5
43
44- Base64: allow access to not-zipped Base64 utilities
45- Justify text: better handling of full text lines
46- jDoc: improve
47- IOUtils: new convenience method for reading a File into bytes
48
903453a2
NR
49## Version 4.4.4
50
51- Java 1.6: fix bad dependency so it can compiles on 1.6 again
52- TempFilesTest: fix test
53- Serial: fix for some constructors
54- Serial: better default choice for ZIP/noZIP content
55
3232fdd1
NR
56## Version 4.4.3
57
58- Test assertions: fix files/dir content comparison code
59
d62784c7
NR
60## Version 4.4.2
61
62- Test assertions: can now compare files/dir content
63
8d56ee50
NR
64## Version 4.4.1
65
66- Image: fix undocumented exception on save images
67- TempFiles: crash early on error
68
c022aaa5 69## Version 4.4.0
ce060f5a 70
c022aaa5
NR
71- Text justification: now supports bullet lists and HR lines
72- Text justification: fix a bug with dashes (-) and a crash
ce060f5a 73- Image to text converion fixes
c022aaa5
NR
74- Serial: now supports anonymous inner classes
75- Test: now allow an Exception argument to the "fail(..)" command
76- Downloader: add an optional cache
77- Cache: auto-clean when saving
78- Bridge: fix a NPE when tracing
79- New: justify, img2aa and bridge tools (see package Main)
80
ce060f5a 81
4110f63b
NR
82## Version 4.3.0
83
84- New: IOUtils.Unzip()
f6d228ae 85- TestCase: better message for lists comparisons
4110f63b 86
e772626b
NR
87## Version 4.2.1
88
89- Fix small bug in Downloader
90
1ca23ef7 91## Version 4.2.0
9695f591 92
1ca23ef7 93- New getLanguage() in TransBundle
9695f591 94
6f0d5ab1
NR
95## Version 4.1.0
96
97- New TempFiles (Image.java now uses it instead of memory)
98- Auto cache cleaning + better errors in ImageUtilsAndroid
99- New String justification options
100
e8aa5bf9
NR
101## Version 4.0.1
102
103- Android compatibility (see configure.sh --android=yes)
104
80500544
NR
105## Version 4.0.0
106
107- Deplace all dependencies on java.awt into its own package (ui)
108
f4053377
NR
109## Version 3.1.6
110
111- Fix Serialiser issue with custom objects and String in a custom object
112- Fix Progress/ProgressBar synchronisation issues
113- Fix Bridge default maxPrintSize parameter
114
d827da2a
NR
115## Version 3.1.5
116
117- Fix Cache with no-parent file
118- Fix Progress (Error <> RuntimeException)
119
0ff71477
NR
120## Version 3.1.4
121
122- Fix error handling for tracers in Server
123
4b7d32e7
NR
124## Version 3.1.3
125
126- Fix ImageUtils.fromStream with non-resetable streams
127
217a3310
NR
128## Version 3.1.2
129
130- Fix Server regarding the client version passed to the handler
131- Improve ServerBridge options
132
452f38c8
NR
133## Version 3.1.1
134
135- Some fixes and trace handling changes in ServerBridge
136- Some fixes in Import/Export (objects serialisation)
137
8537d55a
NR
138## Version 3.1.0
139
140- New ServerBridge (including tests)
141
79ce1a49 142## Version 3.0.0
f157aed8
NR
143
144- jDoc
145- Fix bugs in Server (it was not possible to send objects back to client)
79ce1a49
NR
146- Improve code in Server (including tests), breaks API
147- Remove some deprecated things
f157aed8 148
530d4062
NR
149## Version 2.2.3
150
151- Fix in readSmallStream
152- Change traces handling
153
2ee6c205
NR
154## Version 2.2.2
155
156- New method in Cache: manually delete items
157
5e66d142
NR
158## Version 2.2.1
159
160- Small fixes, especially in Progress
161
16c492f5
NR
162## Version 2.2.0
163
164- New classes:
165 - Downloader: download URL from recalcitrant websites
166 - Cache: manage a local cache
167
3f8349b7
NR
168## Version 2.1.0
169
170- Better IOUtils
171
b771aed5
NR
172## Version 2.0.0
173
174- API change
175 - IOUtils is now split between itself and ImageUtils -- some changes required in dependant projects
176 - Some slight renaming in StringUtils/IOUtils/ImageUtils
177
178- New class ImageText
179 - To create ASCII art
180
181## Version 1.6.3
182
183- Version.java
184 - Fix toString issues + test + update scripts
185
186## Version 1.6.2
187
188- Version.java
189 - Now supports "tag" on the versions (i.e., 0.0.4-niki1 -> tag is "niki", tagVersion is 1)
190
191## Version 1.6.1
192
193- Serialisation utilities
194 - Now supports enums and BufferedImages
195
196## Version 1.6.0
197
198- Serialisation utilities
199 - Server class to send/receive objects via network easily
200 - Serialiser now supports Arrays + fixes
201
202## Version 1.5.1
203
204- Serialisation utilities
205 - SerialUtils is now public and can be used to dynamically create an Object
206 - The Importer is now easier to use
207
208## Version 1.5.0
209
210- Bundles: change in Bundles and meta data
211 - The meta data is more complete now, but it breaks compatibility with both Bundles and @Meta
212 - A description can now be added to a bundle item in the graphical editor as a tooltip
213
214- Serialisation utilities
215 - A new set of utilities to quickly serialise objects
216
217## Version 1.4.3
218
219- Bugfix: unhtml
220 - Also replace non-breakable spaces by normal spaces
221
222## Version 1.4.2
223
224- Bugfix: Deltree
225 - Deltree was not OK for files...
226
227## Version 1.4.1
228
229- Progress
230 - Better handling of min==max case
231 - New methods .done() and .add(int step)
232
233## Version 1.4.0
234
235- R/W Bundles
236 - Bundle is now Read/Write
237
238- Bundle Configuration
239 - New UI controls to configure the Bundles graphically
240
241## Version 1.3.6
242
243- Fix for Java 1.6 compat
244 - Java 1.6 cannot compile it due to variables with ambigous names (which
245 - Java 1.8 can identify)
246
247## Version 1.3.5
248
249- Improve ProgressBar UI
250 - It now shows all the progression bars of the different steps of progression at the same time
251
252## Version 1.3.4
253
254- Improve TestCase error reporting
255 - We know display the full stack trace even for AssertionErrors
256
257- Extends Version
258 - ...with new methods: isOlderThan(Version) and isNewerThan(Version)
259
260## Version 1.3.3
261
262- New Version class
263 - Which can parse versions from the running program
264
265## Version 1.2.3
266
267- Add openResource and getVersion in IOUtils
268 - The file VERSION is supposed to exist
269
270- Give more informartion on AssertErrors
271 - The TestCase were not always helpful in case of AssertExceptions; they now print the stacktrace (they only used to do it for non-assert exceptions)
272
273- Fix configure.sh
274 - The VERSION file was not added, the Main method was not the correct one (so it was not producing working runnable JAR, yet it stated so)
275
276## Version 1.2.2
277
278- Fix bug in Bundle regarding \t handling
279 - ...tests should be written (later)
280
281## Version 1.2.1
282
283- New drawEllipse3D method
284 - ...in UIUtils
285
286## Version 1.1.1
287
288- Add UI component for Progress
289 - Still a WIP, it only show the current progress bar, still not the children bars (it's planned)
290
291## Version 1.1.0
292
293- Add progress reporting, move to ui package
294 - A new progress reporting system (and tests) in the new ui package (some other classes have been moved into ui, too: WrapLayout and UIUtils)
295
296## Version 1.0.0
297
298- Add WrapLayout and UIUtils
299 - A FlowLayout that automatically wrap to the next line (from existing code found on internet) and a method to set a fake-native look & feel
300
301## Version 0.9.7
302
303- Improve toImage and allow non-resetable InputStreams
304 - ...though they are then automatically saved onto disk then re-opened, then the file is deleted at the end of the process -- bad perfs
305 - Worse, it does it even if no EXIF metadata are present (because it cannot know that before reading the Stream, and cannot save a partially, non-resetable Stream to disk)
306
307- Reoarganize some methods from String to IO
308
309## Version 0.9.6
310
311- New test system
312 - Now some unit tests have been added, as well as the support classes
313
314## Version 0.9.5
315
316- Resource bundle bug
317 - UTF-8 strings were sometimes wrangled
318 - It is fixed by using a Bundle#Control, whih sadly is only available in Java 1.6+
319
320## Version 0.9.4
321
322- Compatibility bug
323 - Again... because of some useless imports made there for a wrong jDoc comment
324
325## Version 0.9.3
326
327- Compatibility bug
328 - The library did not work with JDK versions prior to 1.8 because of a dependency on Base64
329 - A new (public domain) class was used instead, which is compatible with Java 1.5 this time
330
331## Version 0.9.2
332
333- Initial version
334 - ...on GIT
335