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