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