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