You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Changelog.md
+24-2Lines changed: 24 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,7 +94,7 @@ What was added:
94
94
* Static field "new" to obtain clone of variable and "class" to obtain class of variables value!
95
95
* 4 new protocols:
96
96
** MapProtocol - to serialize maps!
97
-
**ScopeProtocols (reading only) to read scopes using protocol!
97
+
**ScopeProtocol (reading only) to read scopes using protocol!
98
98
** AutoProtocol - will automatically serialize selected fields with getters and setters!
99
99
** EnumProtocol - to serialize any java enum!
100
100
** SelfSerializableProtocol - operates with SelfSerializable interface!
@@ -150,11 +150,33 @@ What was added:
150
150
* SerializationProtocol API - long known protocol system for more complex objects. It contains 8 protocols as before! Now protocols are operated by ObjectConverter!
151
151
* New import system that allows you to import some class once with certain alias and then use it with that alias, similar to java!
152
152
* Too big integers are now automatically converted into long without necessarily of using L suffix!
153
-
* Small new syntax features and alot of small enhancements!
153
+
* Small new syntax features and alot of small enhancements (shortened version of variable being initialized to scope)!
154
154
* Alot of string utility methods from Serializer become public and some were moved into converters where they are mainly used!
155
155
* Registry object which is Collection type that can store only one instance per class!
156
156
* Some new functions in Scope!
157
157
* Deprecated methods were removed!
158
158
* Source code was excluded from main jar to save space and is now available in separate src.zip file! Now on java doc files will not be provided and src.zip should be used instead!
159
159
* Small bugs fixed but there were alot of internal changes in this update so they might be another bugs so I encourage you to report any bug you encounter!
160
160
#
161
+
162
+
# SerialX 1.3.2
163
+
164
+
Release date: 10.25.2021 (Morning)
165
+
166
+
What was added:
167
+
* Serializer now abstract class which inherits Scope so now it is Scope that can serialize itself! Serialization and deserialization methods are now not static and original functionality has been split into two separated objects that inherit Serializer:
168
+
* JussSerializer - which is responsible for serializing and deserializing objects using Juss format (original functionality of Serializer).
169
+
* JsonSerializer - which is responsible for serializing and deserializing objects using Json format (successors of JsonSelxUtils)
170
+
* JsonSelxUtils was replaced with JsonSerializer that is capable of both reading and writing Json!
171
+
* Main formatting and reading algorithms can be now overridden by extending JsonSerializer, JussSerializer or Serializer!
172
+
* Ability to set multiple variables on one value, for example x = y = z = 5
173
+
* Ability to remove multiple variables by setting them on null!
174
+
* Variables of scope are now settable from outer world, for example someScope.x = 9
175
+
* Compare identity operator (triple equals) was added and transtype comparison logic was changed, mainly between primitive datatypes!
176
+
* Logical operators now have higher precedence over comparison operators by default!
177
+
* Logic behind operators can now be overridden by extending belonging operator DataParser!
178
+
* Adding some new utility and functionalities!
179
+
* Small syntax features (scopes now don't have to be separated with semicolon if they are in new line)!
180
+
* Package name was renamed from "ugp.org.SerialX" to "org.ugp.serialx"!
0 commit comments