Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 31 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,35 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.4.2] - 2025-09-01

### Changed
- **Type Detection Optimization (PR #39, [4480577](https://github.com/nao1215/filesql/commit/4480577))**: Improved column type inference performance
- Optimized type detection algorithms for faster processing
- Enhanced performance when analyzing large datasets
- Reduced overhead in column type classification
- **Code Refactoring (PR #37, [f78146e](https://github.com/nao1215/filesql/commit/f78146e))**: Cleaned up codebase and improved maintainability
- Removed unused code and dead functions
- Simplified internal logic for better readability
- Refactored complex functions into smaller, more focused units
- **Development Guidelines ([1774b7d](https://github.com/nao1215/filesql/commit/1774b7d))**: Updated CHANGELOG maintenance rules
- Enhanced documentation for commit reference formatting
- Improved traceability with GitHub links to commits and PRs

### Fixed
- **Chunk Size Configuration (PR #38, [9cda8b6](https://github.com/nao1215/filesql/commit/9cda8b6))**: Fixed incorrect chunk size settings
- Resolved issues with chunk size configuration in streaming operations
- Improved memory efficiency with proper chunk size handling
- **Test Stability (PR #36, [9fa5dbc](https://github.com/nao1215/filesql/commit/9fa5dbc))**: Fixed broken and flaky tests
- Resolved intermittent test failures
- Improved test reliability across different environments
- Enhanced test isolation for parallel execution

### Technical Improvements
- Updated benchmark code to use Go 1.22+ range syntax for cleaner iteration patterns
- Improved overall code quality through refactoring and optimization
- Enhanced development workflow with better documentation standards

## [0.4.1] - 2025-08-31

### Added
Expand Down Expand Up @@ -351,7 +380,8 @@ For users upgrading from v0.3.x:
- Multi-language documentation (7 languages)
- Standard database/sql interface implementation

[Unreleased]: https://github.com/nao1215/filesql/compare/v0.4.1...HEAD
[Unreleased]: https://github.com/nao1215/filesql/compare/v0.4.2...HEAD
[0.4.2]: https://github.com/nao1215/filesql/compare/v0.4.1...v0.4.2
[0.4.1]: https://github.com/nao1215/filesql/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/nao1215/filesql/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/nao1215/filesql/compare/v0.2.0...v0.3.0
Expand Down
10 changes: 5 additions & 5 deletions types_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -766,7 +766,7 @@ func BenchmarkInferColumnType(b *testing.B) {
}

b.ResetTimer()
for i := 0; i < b.N; i++ {
for range b.N {
_ = inferColumnType(values)
}
})
Expand All @@ -787,7 +787,7 @@ func BenchmarkInferColumnType(b *testing.B) {
}

b.ResetTimer()
for i := 0; i < b.N; i++ {
for range b.N {
_ = inferColumnType(values)
}
})
Expand All @@ -812,7 +812,7 @@ func BenchmarkIsDatetime(b *testing.B) {
}

b.ResetTimer()
for i := 0; i < b.N; i++ {
for range b.N {
for _, value := range testValues {
_ = isDatetime(value)
}
Expand All @@ -835,7 +835,7 @@ func BenchmarkGetSampleValues(b *testing.B) {

b.Run(fmt.Sprintf("size_%d", size), func(b *testing.B) {
b.ResetTimer()
for i := 0; i < b.N; i++ {
for range b.N {
_ = getSampleValues(values)
}
})
Expand All @@ -862,7 +862,7 @@ func BenchmarkClassifyValue(b *testing.B) {
}

b.ResetTimer()
for i := 0; i < b.N; i++ {
for range b.N {
for _, value := range testValues {
_ = classifyValue(value)
}
Expand Down
Loading