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