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