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