Releases: vegansk/nimboost
Releases · vegansk/nimboost
Fixed compilation warnings when used latest nim version
Improvements of ``richstring``, ``parsers`` and ``typeutils``
- Fixed
fmt
macro on windows - Added
parseEnum
working also withbool
enum - Fixed hex formatting
- Added more modifiers to
data
macro - Other fixes
Fix usage of ``copy`` modifier with exported types
v0.4.4 Bump version
Add ``copy`` modifier to ``data`` macro
This modifier produces copy macro for the generated type. Example:
data X, copy:
a = 1
b = "b"
let x = initX()
let y = x.copyX(b = "B")
assert y.b == "B"
Small improvements
- added
show
modifier todata
macro to produce operator$
for generated type - added
radix
parameter to str->number parsers - fixed quotes handling in
fmt
macro - fixed CI
Fix multiline string handling in string interpolation
v0.4.1 Fix multiline string handling in string interpolation
The data keyword
This release adds data
keyword with functionality of generating types, with constructors, immutable fields and default values for optional parameters.
The documentation can be found here
Added macro that generates object constructors
v0.3.6 Add ``genConstructor`` documentation