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