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