Skip to content

chore: bump version to 0.4.0#7

Merged
thinkall merged 1 commit into
mainfrom
chore/bump-version-0.4.0
May 6, 2026
Merged

chore: bump version to 0.4.0#7
thinkall merged 1 commit into
mainfrom
chore/bump-version-0.4.0

Conversation

@thinkall
Copy link
Copy Markdown
Owner

@thinkall thinkall commented May 6, 2026

Summary

Bump version 0.3.7 → 0.4.0 (minor) reflecting the new user-facing CLI surface added in PR #5 and stabilized in PR #6.

What's in 0.4.0 since 0.3.7 (PR #4)

  • PR feat(cli): add featcopilot CLI for agentic usage #5 ΓÇö feat(cli): new agent-friendly featcopilot CLI with info / transform / explain subcommands. Stable JSON contract (stdout=result, stderr=failures, deterministic exit codes), --config JSON file support, parquet-conditional I/O, captured warnings in JSON warnings field. ~4900 lines including featcopilot/cli.py and tests/test_cli.py.
  • PR chore: post-CLI cleanup — fix Feature.compute, llm exports, cache silence; add CLI docs #6 ΓÇö chore(post-CLI cleanup): three correctness fixes ΓÇö Feature.compute _SAFE_BUILTINS whitelist (so len/range/int/sum actually work in stored snippets, with proper isolation across calls and a single shared namespace for comprehensions/lambdas), SyncCopilotFeatureClient added to the public featcopilot.llm API to match the OpenAI/LiteLLM sync clients, FeatureCache exception paths now log instead of silently swallowing. New docs/user-guide/cli.md covering the CLI; mkdocs.yml nav updated; sample-output version in docs/getting-started/installation.md corrected. +12 regression tests pinning each new contract.

Files changed

File Old New
pyproject.toml version = "0.3.7" version = "0.4.0"
docs/getting-started/installation.md # Output: 0.3.7 # Output: 0.4.0
docs/user-guide/cli.md (info JSON sample) "version": "0.3.7" "version": "0.4.0"

Verification

  • Pre-commit: clean.
  • pip install -e . ΓåÆ import featcopilot; featcopilot.__version__ returns "0.4.0".
  • python -m pytest tests/test_cli.py: 135 passed. The test_info_json_emits_supported_options test (and friends) cross-checks payload["version"] == __version__ so the doc sample / pyproject value / runtime value stay in sync.

Release follow-ups (out of scope of this PR)

PR #5 added the agent-friendly `featcopilot` CLI (`info` /
`transform` / `explain`) ΓÇö a new user-facing surface that warrants
a minor-version bump under semver. PR #6 followed up with three
correctness fixes (`Feature.compute` safe-builtins, `SyncCopilotFeatureClient`
public-API consistency, `FeatureCache` exception logging) and the
new CLI documentation page.

This commit bumps:

- `pyproject.toml::version` 0.3.7 → 0.4.0
- `docs/getting-started/installation.md` sample expected output
- `docs/user-guide/cli.md` `info` JSON sample

The CLI's `info --json` reports the actual installed version via
`featcopilot.__version__` (read from package metadata at import
time), so all three references stay in sync once installed.

Local: `python -m pytest tests/test_cli.py` passes 135/135 with the
bumped version (the `test_info_json_emits_supported_options` and
related tests cross-check `payload["version"] == __version__`).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 6, 2026 09:48
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Bumps the package version to 0.4.0 and updates documentation examples to match, reflecting the expanded user-facing CLI surface introduced in prior PRs.

Changes:

  • Update pyproject.toml project version from 0.3.7 to 0.4.0.
  • Refresh docs samples to show 0.4.0 in CLI info --json output and installation verification snippet.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
pyproject.toml Bumps the published package version to 0.4.0.
docs/user-guide/cli.md Updates the sample info --json payload version to 0.4.0.
docs/getting-started/installation.md Updates the installation verification example output version to 0.4.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov Bot commented May 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.32%. Comparing base (05b7bf5) to head (42f5367).

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #7   +/-   ##
=======================================
  Coverage   89.32%   89.32%           
=======================================
  Files          38       38           
  Lines        4358     4358           
=======================================
  Hits         3893     3893           
  Misses        465      465           
Flag Coverage Δ
unittests 89.32% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@thinkall thinkall merged commit 4a8caa2 into main May 6, 2026
11 checks passed
@thinkall thinkall deleted the chore/bump-version-0.4.0 branch May 6, 2026 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants