v0.9.0-beta
Pre-release
Pre-release
What's Changed
Full Changelog: 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
mandatory
field. - 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
, andmatch
methods 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
const
and@constCast()
. - Optimized the default size of the
Value.Generic
Union and added customization options allowing for much smaller binaries. - Optimized parts of Argument Initialization/De-initialization.