Skip to content

Commit 6efd57a

Browse files
CodingAnarchyclaude
andcommitted
release: Version 1.15.1 with migration system fixes
- Bump version to 1.15.1 for bugfix release - Update CHANGELOG.md with comprehensive list of fixes: - Migration system improvements with proper SQL parsing - Database schema fixes for dependency optimization - Web dashboard accuracy improvements - Enhanced statistics and monitoring capabilities 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 5681720 commit 6efd57a

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.15.1] - 2025-01-23
11+
1012
### Added
1113
- **📊 Enhanced Statistics and Monitoring**
1214
- Added `get_jobs_completed_in_range` method to `DatabaseQueue` trait for time-based job queries
@@ -15,11 +17,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1517
- Enhanced TestQueue implementation with proper time-based filtering for completed jobs
1618

1719
### Fixed
20+
- **🔧 Migration System Improvements**
21+
- Implemented proper SQL parsing in migration runners using `sqlparser-rs` dependency
22+
- Fixed migration execution issues with complex SQL statements containing:
23+
- Single-quoted strings with escape sequences
24+
- Dollar-quoted strings ($tag$...$tag$) for PL/pgSQL functions
25+
- Comments (-- and /* */) within migrations
26+
- Complex function definitions and procedural blocks
27+
- Replaced naive semicolon splitting with robust SQL parsing for both PostgreSQL and MySQL
28+
- Added fallback parsing mechanisms for edge cases to maintain compatibility
29+
- Fixed migration 012 dependency optimization to handle empty tables correctly
30+
- Fixed migration 014 function definitions to work with proper dollar-quoting
31+
- Restored proper trigger function creation for automatic timestamp updates
1832
- **🔧 Web Dashboard Improvements**
1933
- Fixed hourly trends to use actual time-bucketed data instead of repeating the same average for each hour
2034
- Improved accuracy of hourly statistics by querying actual job completion data for each time bucket
2135
- Enhanced error rate calculation to be based on actual completed and failed job counts per hour
2236
- Fixed processing time calculations to use real data from jobs completed within specific hour windows
37+
- **🗃️ Database Schema Fixes**
38+
- Fixed PostgreSQL dependency resolution queries to work with UUID array operations
39+
- Corrected jsonb to UUID array conversion logic in dependency optimization migration
40+
- Updated postgres.rs implementation to use proper UUID array syntax with ANY() operations
2341

2442
## [1.15.0] - 2025-01-17
2543

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ members = [
99
resolver = "2"
1010

1111
[workspace.package]
12-
version = "1.15.0"
12+
version = "1.15.1"
1313
edition = "2024"
1414
license = "MIT"
1515
repository = "https://github.com/CodingAnarchy/hammerwork"
@@ -19,7 +19,7 @@ documentation = "https://docs.rs/hammerwork"
1919
rust-version = "1.86"
2020

2121
[workspace.dependencies]
22-
hammerwork = { version = "1.15.0", path = "." }
22+
hammerwork = { version = "1.15.1", path = "." }
2323
tokio = { version = "1.0", features = ["full"] }
2424
sqlx = { version = "0.8", features = ["runtime-tokio-rustls", "chrono", "uuid", "json"] }
2525
chrono = { version = "0.4", features = ["serde"] }

0 commit comments

Comments
 (0)