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