Releases: dlang-community/libdparse
v0.21.0
What's Changed
- Add IfCondition to while (since DMD-FE 2.097.0) by @WebFreak001 in #462
- add gh-pages deployment CI script - Fix #461 by @WebFreak001 in #468
- Add scope to foreach by @WebFreak001 in #470
- Fix isStringLiteral with unicode strings by @WebFreak001 in #472
- fix AST tests not reading last line of file by @WebFreak001 in #474
- Fix #471, implement auto ref lambdas by @WebFreak001 in #473
- implement bitfield parsing by @WebFreak001 in #476
Full Changelog: v0.20.0...v0.21.0
v0.20.0
same as 0.19.3 with the std.experimental.allocator changes, but now as minor bump instead of a patch bump.
v0.19.3
v0.19.4
Reverts back to 0.19.2, before the std.experimental.allocator change, which will be released as 0.20.0
v0.19.2
v0.19.1
What's Changed
- fix out of bounds error & add some precautions by @WebFreak001 in #456
Full Changelog: v0.19.0...v0.19.1
v0.19.0
What's Changed
- Improve error message for formatter unittest failures by @MoonlightSentinel in #452
- Add Github Actions by @MoonlightSentinel in #453
- Implement
ThrowExpression's proposed by DIP 1034 by @MoonlightSentinel in #451 - Support parsing of shortened function bodies by @Hackerpilot in #439
- allow in/out contract expressions in shortened methods by @WebFreak001 in #454
- Parse comments after } in function declaration by @CyberShadow in #438
- add same-line docs to aggregate types & templates by @WebFreak001 in #455
AST Changes:
- removed:
ThrowStatement - added:
ThrowExpression - added:
ShortenedFunctionBody
BREAKING: ThrowStatement was removed, ThrowExpression was added - ThrowExpression is (as expression) more flexible than the statement variant but occurs differently in the AST tree. To aid in migration, ThrowStatement is aliased to ThrowExpression. (as long as you only visit it and not access its members renaming it will suffice as migration, otherwise check e.g. how D-Scanner migrated)
POTENTIAL BREAKAGE: SpecifiedFunctionBody is no longer the only way how a regular function may be specified. ShortenedFunctionBody (having in/out expression contracts and a single expression for the function body as members) may be used now too. (see DIP1043)
Full Changelog: v0.18.1...v0.19.0
v0.18.1
Fix GC cleaning up allocator-created memory
v0.18.0
v0.17.0
- Support parsing module declarations with user-defined attributes.
- Added the
atAttributesfield to theModuleDeclarationAST class.