-
Notifications
You must be signed in to change notification settings - Fork 34
/
CHANGELOG
176 lines (121 loc) · 4.9 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# Releases
## 1.6.2
* remove hashCode caching since it could introduce very subtle bugs
## v1.6.1
* now build by JDK 11 and removed errorprone compiler #52
* introduce sonarqube and remove codecov
* improve javadoc by fixing many typos #53
* some small bugfixes
## v1.6.0
* migrate to github actions, codecov and maven central #49
* add `indexOf` (thx @hlyakhovich) #48
* add `toShortArray` (thx @hlyakhovich) #44
* add `from()` constructor from `short` vararg or array (thx @hlyakhovich) #45
* add an automatic module name to support the JPMS (thx @airsquared) #47
* fix warning of junit 4.13 CVE-2020-15250
## v1.5.0
* fix `leftShift()` and `rightShift()` to respect byte order (thx @gfpeltier)
* fix `bitAt()` to respect byte order (thx @gfpeltier)
## v1.4.0
* add `from()` constructor from `float[]`
* add `from()` constructor from `double[]`
* fix throwing `IllegalArgumentException` instead of `IllegalStateException` in `.toUUID()`
## v1.3.0
* improve hex encoder performance by factor 5
## v1.2.0
* let hex decoder accept odd length string #37
## v1.1.0
* add `unsecureRandom()` constructor which creates random for e.g. tests or deterministic randoms
* adds overwrite method to Bytes (thx @JadePaukkunen)
* make project OSGi compatible #36
* add `toFloatArray()` converter #30
* add `toDoubleArray()` converter #30
## v1.0.0
* add `append()` method supporting multiple byte arrays #26
* add `toCharArray()` method which decodes internal byte array to char[] #27
* add `encodeBase64()` supporting padding-less encoding
* add `toIntArray()` converter #28
* add `toLongArray()` converter #29
* add `AutoCloseable` to MutableBytes interface #31
* add `allocate()` as mutable byte static constructor (thx @petrukhnov)
### Breaking
* removed deprecated `toObjectArray()`; use `toBoxedArray()` instead
## v0.8.0
* add radix encoding/parsing and fix radix tests #6, #20
* add support for Base32 RFC4648 non-hex alphabet encoding/parsing #21
* add constructor for `IntBuffer` and `CharBuffer`
* `parse()` methods now expect more flexible `CharSequence` instead of `String` #23
* `from()` constructor reading from `char[]` has new version that accepts offset and length #24
* add `from()` constructor reading file with offset and length parameter #25
### Breaking
* interface `BinaryToTextEncoding.decode()` changed param to `CharSequence` from `String` #23
### Deprecations (will be removed in v1.0+)
* `parseBase36()`/`encodeBase36()` - use `parseRadix(36)`/`encodeRadix(36)` instead
## v0.7.1
* sign AFTER ProGuard so optimized version has correct jar signature
## v0.7.0
* add `count` method for counting byte arrays (like pattern matching)
* add dedicated `md5` and `sha1` transformer methods
* add `from(Inputstream stream, int maxlength)` limiting stream reading constructor #13
* add indexOf() with `fromIndex` parameter #14
* add support for base64 url safe encoding #15
* use EMPTY constant instance for empty byte array to safe memory #16
* add `startsWith()` and `endsWidth()` methods #12
* add cache for calculating the hashCode
* add HMAC byte transformer #11
* add unsigned sort transformer #17
* add `.immutable()` converter in MutableBytes #18
## v0.6.0
* add `encodeCharsetToBytes()` feature #7
* add new `from(char[] charArray, Charset charset)` constructor with improved logic #8
* add constructor/converter from/to UUID #9
* add `empty()` constructor, creating empty byte array
### Deprecations (will be removed in v1.0+)
* `toObjectArray()` renamed to `toBoxedArray()`
## v0.5.0
* better resource handling for compression
* add nullSafe from() constructor
* rename `toObjectArray()` to `toBoxedArray()` (will be removed in 1.0)
* add appendNullSafe and append string with encoding
* add proguard optimized version (can be used with classifier 'optimized')
* add constant time equals
* fix or() operator using and() internally #2
## v0.4.6
* add appending with strings
* add boolean, float, double and char array constructor
* try to fix radix encoder missing prefixing 0 byte
## v0.4.5
* add nullSafe wrapper
* fix accepting illegal hex string when parsing
## v0.4.4
* add feature for gathering parts of the array as primitives (e.g. intAt(int position))
* add to unsigned byte conversations
* add overloaded equals
## v0.4.3
* add toFloat/toDouble
* add resize mode (from 0 or length)
* fix bitAt bug
* add in place byte array shift feature
## v0.4.2
* add check method if transformer supports inplace
* add contains method
* add Iterable interface
* add setByteAt
* add construction from DataInput
## v0.4.1
* add bitAt() utility
* add hash feature
* add checksum transformer
* add gzip transformer
## v0.4.0
* logical expressions in validators
* more validators
## v0.3.1
* better validation and more creation possibilities
* create from bigInteger, int[], long[] and Byte[]
## v0.3.0
* better type hierarchy with read-only and mutable types
* add validator feature
* add bit switch feature
## v0.2.0
initial version