Skip to content

V0.21 - #71

Merged
cosmo-ray merged 5 commits into
mainfrom
v0.21
Nov 16, 2026
Merged

cosmo-ray merged 5 commits into
mainfrom
v0.21

Conversation

@cosmo-ray

Copy link
Copy Markdown
Contributor

📦 Pull Request Template

Description

Please include a summary of the changes and the related context. If this is a feature, explain the motivation. If it's a bug fix, describe what was broken.

Fixes: # (if applicable)

Type of Change

Please check the relevant option(s):

  • 🐛 Bug fix
  • ✨ New feature
  • 🧹 Code cleanup or refactor
  • 📝 Documentation update
  • 🔧 Build or CI-related change
  • 🔒 Security fix
  • Other (specify):

How Has This Been Tested?

Please describe the test strategy:

  • Manual testing
  • Unit tests
  • Integration tests
  • Not tested yet

Commands used (if applicable):

# Example
my-cli-tool build --verbose
my-cli-tool test

Checklist

  • I have followed the Contributing Guidelines
  • I have added tests or explained why they are not needed
  • I have updated relevant documentation (README, examples, etc.)
  • My changes follow the Conventional Commits specification
  • My commits include appropriate Gitmoji

Additional Context

Add any additional context or screenshots if necessary.

Add CLI tests for the still-uncovered csonpath.h branches:
- compile errors: empty subpath in filter, missing bracket after
  filter operand, bad subpath inside a union
- setting the root object
- filter subpath !=, > and < against numeric and mismatched types

Covers 9 previously unique uncovered lines in csonpath.h.
The clean target omitted this test, so after a previous build its
executable was considered up to date while its .gcno file had been
deleted. gcovr then failed with "GCOV could not find source file" on
subsequent coverage runs.
Signed-off-by: matthias.gatto <matthias.gatto@outscale.com>
Now that `?key` compiles to a plain comparison, accept `&` where the
operand would be: emit the implicit `!= null` comparison, then continue
with the regular AND path. The right-hand side is therefore any filter,
not just another existence test: cover ?b==1, !=, <, >=, null, strings,
regex, nested getters, subpath operands, chained && and union branches,
plus the missing-parent skip cases.
Signed-off-by: matthias.gatto <matthias.gatto@outscale.com>
@cosmo-ray
cosmo-ray merged commit c2008d6 into main Nov 16, 2026
17 checks passed
@cosmo-ray
cosmo-ray deleted the v0.21 branch November 16, 2026 12:52

This branch was successfully deployed

1 active and 1 inactive deployments
publish — c2008d6a Deployed Nov 16, 2026 by cosmo-ray via publish #5
auto-build — c2008d6a Deployed Nov 16, 2026 by cosmo-ray via build-windows #303
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants