Skip to content

Conversation

@shivasurya
Copy link
Owner

Summary

Bump codepathfinder Python DSL package from v1.0.0 to v1.1.0 for PyPI release.

This release includes significant enhancements to argument matching capabilities that were developed after the initial v1.0.0 release on November 9, 2025.

What's New in v1.1.0

✨ New Features

  • Positional Argument Matching - Match function calls by argument position

    calls("open", match_position={1: "w"})  # Match second argument
  • Keyword Argument Matching - Match function calls by named arguments

    calls("app.run", match_name={"debug": True})
  • Tuple Indexing - Match nested tuple arguments

    calls("socket.bind", match_position={"0[0]": "0.0.0.0"})
  • Wildcard Support in Arguments - Pattern matching in argument values

    calls("chmod", match_position={1: "0o7*"})
    calls("connect", match_position={"0[0]": "192.168.*"})
  • Type Hints - Comprehensive type annotations for better IDE support

🐛 Bug Fixes

📝 Changes

  • Added CHANGELOG.md to track version history
  • Updated codepathfinder/__init__.py version to 1.1.0
  • Updated pyproject.toml version to 1.1.0

Related PRs

Verification

Compared local changes with published v1.0.0 on PyPI:

  • Only matchers.py has changes (3,787 bytes → 7,978 bytes)
  • All other files unchanged
  • Changes are backwards compatible

Post-Merge Actions

After merging, manual PyPI publishing will be performed:

cd python-dsl/
python -m build
python -m twine upload dist/*

Checklist

  • Version bumped in __init__.py
  • Version bumped in pyproject.toml
  • CHANGELOG.md created with full release notes
  • Changes are backwards compatible
  • Merge to main
  • Publish to PyPI manually

🤖 Generated with Claude Code

Release v1.1.0 includes enhanced argument matching capabilities:

- Add positional argument matching (match_position parameter)
- Add keyword argument matching (match_name parameter)
- Add tuple indexing for nested arguments
- Add wildcard support in argument values
- Add comprehensive type hints
- Fix critical bugs in argument matching

Related PRs: #386, #389, #390

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@safedep
Copy link

safedep bot commented Nov 28, 2025

SafeDep Report Summary

Green Malicious Packages Badge Green Vulnerable Packages Badge Green Risky License Badge

No dependency changes detected. Nothing to scan.

This report is generated by SafeDep Github App

@shivasurya shivasurya self-assigned this Nov 28, 2025
@shivasurya shivasurya merged commit e8ee8d9 into main Nov 28, 2025
1 check passed
@shivasurya shivasurya deleted the release/python-dsl-v1.1.0 branch November 28, 2025 02:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants