Skip to content

Releases: lucocozz/Argus

v0.2.1

13 May 00:28
09a054d

Choose a tag to compare

Bug Fixes

  • FLAG_REQUIRED now enforced on options (#54)
    Previously, only TYPE_POSITIONAL arguments triggered the required check.
    A required option (OPTION_STRING, OPTION_INT, etc.) at root or subcommand
    level was silently accepted when missing, causing argus_parse to return
    ARGUS_SUCCESS and the action handler to run with the option unset (often
    segfaulting downstream when callers dereferenced the unset value).

Internal

  • Bumped ARGUS_VERSION and the Meson project version from 0.1.0 to 0.2.1.
    The previous v0.2.0 tag shipped without bumping these constants, so the
    library reported 0.1.0 at runtime even on the latest release. If you were
    on v0.2.0, printf("%s", ARGUS_VERSION) will now correctly print 0.2.1.
  • CI: Ubuntu artifact step is now version-agnostic (no hardcoded libargus.so.0.1.0).

Tests

  • Added 4 regression tests covering FLAG_REQUIRED enforcement on options at
    both root-level and subcommand scopes.

Note

Issue #53 (V_CHOICE_STR
validator not detecting errors on subcommands) was already fixed in v0.2.0 by
commit c15296a — users
who experienced this on v0.1.0 should now see it working correctly.

Full Changelog: v0.2.0...v0.2.1

v0.2.0

01 Oct 19:42

Choose a tag to compare

🚀 Release v0.2.0

📝 Changes

Added

  • Printing subcommand list on command execution that cannot be executed directly.
  • Support for variadic positional arguments, allowing multiple values for a single positional argument.

Changed

  • Changed help output DEFAULT_MAX_LINE_WIDTH from 80 to 100.
  • Changed ARGUS_RELEASE into ARGUS_DEBUG

Fixed

  • Disabled pedantic option on library compilation.
  • Defining argus_init() as a static inline function.
  • Fixed unexecuted validators in subcommand.

Removed

  • Group description option.
  • Cleanup non essential regex patterns.

v0.1.0

05 Jul 08:33
c9e101e

Choose a tag to compare

🚀 Release v0.1.0