Improved
v0.9.0-beta
What's Changed
- v0.9.0-beta by @00JCIV00 in https://github.com/00JCIV00/cova/pull/48
Full Changelog: https://github.com/00JCIV00/cova/compare/v0.8.0-beta...v0.9.0-beta
v0.9.0
New Features
- Implemented Argument Groups to help organize Arguments for Usage/Help messages and analysis.
- Implemented Aliases for Commands & Options and Value Child Types.
- Added more methods to make analyzing Arguments even easier.
- Added customizable Callback Functions and new Formatting options for Usage/Help messages.
- Implemented Mandatory Options with the new
mandatoryfield. - Implemented Option Termination which is configurable under
cova.ParseConfig. - Revamped the handling of Values with an Enum Child Type to make them seamless to work with.
- Revamped Conversions for fields w/ default values.
- Tested on additional platforms.
- Updated Installation to use the new
zig fetch --save. - Updated the Docs and Guides with more features and examples.
Breaking
- Changed the
get,check, andmatchmethods for analyzing Options & Values to use Argument Groups. - Added new
global_andchild_type_prefixes for certain fields. - Added Allocator parameter requirement for all Callback Functions.
Fixes & Optimizations
- Fixed bug with Long Option parsing.
- Fixed bug with Boolean Value parsing.
- Fixed Alignment Issue on ARM devices.
- Fixed bug with
Command.Custom.getVals(). - Fixed bug with
Command.Custom.to()parsing. - Fixed Zig removal of
meta.trait. - Fixed Zig "local variable is never mutated" errors.
- Removed several unnecessary, erroneous uses of
constand@constCast(). - Optimized the default size of the
Value.GenericUnion and added customization options allowing for much smaller binaries. - Optimized parts of Argument Initialization/De-initialization.