Skip to content

The agent that turns websites into APIs!

chore: prepare v0.2.4 release - add changelog and clean build script

kalil032154b59d82ec21
diff --git a/.gitignore b/.gitignore
index 5f9c975..ddf4449 100644
--- a/.gitignore
+++ b/.gitignore
@@ -77,10 +77,15 @@ cython_debug/
# Project specific
har/
-scripts/
+scripts/*
+!scripts/clean_build.sh
scripts_built/
-!scripts/*/api_client.py
-!scripts/*/example_usage.py
-!scripts/*/README.md
+src/reverse_api/scripts/
.reverse-api/
-*.har
\ No newline at end of file
+*.har
+
+RELEASE_NOTES.md
+RELEASE.md
+prompt*.md
+
+test*
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6bcc6ba..a4e8d58 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [0.2.4] - 2025-12-27
+
+### Fixed
+- **Version string**: Fixed `--version` flag to correctly display 0.2.4 instead of outdated 0.2.0
+ - Previous release (0.2.3) was built with stale bytecode cache
+ - Added clean build script (`scripts/clean_build.sh`) to prevent future stale builds
+
## [0.2.3] - 2025-12-27
### Changed
diff --git a/scripts/clean_build.sh b/scripts/clean_build.sh
new file mode 100755
index 0000000..5a3c16a
--- /dev/null
+++ b/scripts/clean_build.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+# Clean build script - removes all build artifacts and caches before building
+
+set -e # Exit on error
+
+echo "🧹 Cleaning build artifacts..."
+
+# Remove Python cache files
+echo " β†’ Removing __pycache__ directories..."
+find . -type d -name "__pycache__" -exec rm -rf {} + 2>/dev/null || true
+find . -type f -name "*.pyc" -delete 2>/dev/null || true
+find . -type f -name "*.pyo" -delete 2>/dev/null || true
+
+# Remove build directories
+echo " β†’ Removing build directories..."
+rm -rf dist/ build/ *.egg-info src/*.egg-info 2>/dev/null || true
+
+# Remove any .pyc files in src
+echo " β†’ Removing compiled Python files in src/..."
+find src -type f -name "*.pyc" -delete 2>/dev/null || true
+
+echo "βœ… Clean complete!"
+echo ""
+echo "πŸ—οΈ Building package..."
+uv build
+
+echo ""
+echo "βœ… Build complete!"
+echo ""
+echo "πŸ“¦ Built files:"
+ls -lh dist/