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