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