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
+29-2
Original file line number
Diff line number
Diff line change
@@ -4,13 +4,40 @@ This project does its best to adhere to [Semantic Versioning](http://semver.org/
4
4
5
5
6
6
--------
7
-
### [0.22.0](N/A) - 2020-04-18
7
+
### [0.23.0](N/A) - 2021-06-28
8
+
#### Added
9
+
* Lots of additional unit tests
10
+
*`TypeExtractor.isSimpleLiteral()` used to determine whether a `FieldDef.initializer` should be serialized as a literal value `"initializer"` or an `"initializerExpression"`
11
+
12
+
#### Changed
13
+
*`FieldExtractor` now parses field default value assignments and returns `FieldDef` instead of `FieldSig` (`FieldDef` contains `initializer` field)
14
+
*`FieldExtractor` constructor requires a new 3rd parameter, an `OperatorUtil<>`
15
+
*`ClassAst` remove `T_ENUM` type parameter, enum members in a parsed enum will be represented by `T_FIELD`
16
+
*`FieldDef.initializerToJson()` signature changed significantly to support new multiple token initializer expressions
17
+
*`AccessModifierParser` and `AccessModifierEnum` removed `parseFromSrc()`, cleaned up code, added documentation
18
+
*`AccessModifierParser``tryParseFromSrc(String)` and `defaultAccessModifier(String, ...)` modified to takes `List<String>` for correctness and to simplify call sites
19
+
*`AstExtractor.createFieldParser()` and implementations (`CsBlock` and `JavaBlock`) now return `AstParser<List<FieldDef>>` instead of `...FieldSig`
20
+
*`BlockUtil``parseKeyword()` and `tryParseKeyword()` replaced with `tryToBlock()`
21
+
*`CsBlockParser._extractBlocksFromTree()` renamed `extractBlocksFromTree()` (which was already public)
22
+
*`AstParser` added `blockComplete()` with empty default implementation, will be called by `BlockExtractor`
23
+
24
+
#### Removed
25
+
* Merged `FieldSig` and `FieldSigResolved` into `FieldDef` and `FieldDefResolved`
26
+
27
+
#### Fixed
28
+
* C# annotation parsing fixed to handle multiple annotations in the same block, i.e. '[Annotation(One), Annotation(Two), ...]'
29
+
* An issue with nested classes/interfaces getting assigned the incorrect access modifiers
*`ProjectClassSet``resolveSimpleName()` in favor of moving the two lines of code to the single calling location
10
37
11
38
#### Fixed
12
39
* C# full type name resolution fixed to resolve against the parent namespaces the class resides in (affects types in class signatures, method signatures, and fields)
13
-
* Java class signature parsing fixed to support both `extends` and implements in the same signature `implements`(can't believe I overlooked this and didn't have a unit test)
40
+
* Java class signature parsing fixed to support both `extends` and `implements` in the same signature (can't believe I overlooked this and didn't have a unit test!)
/** Write a field initializer to a JSON field named 'initializer' if the value is a number, boolean, string, or null literal, else write it to a field named 'initializerExpression'
0 commit comments