Repository navigation
v0.2.1
What's New in v0.2.1
π Documentation Updates
This patch release updates the package-level documentation to align with the v0.2.0 API changes and provide accurate examples for users.
π§ Changes
Package Documentation (doc.go)
- Removed outdated API: Eliminated
ResetDatabaseconfiguration field from code examples - Updated strategy description: Changed from "reusing databases" to "template-based creation with DROP DATABASE isolation"
- Enhanced feature list: Updated to emphasize DROP DATABASE strategy and concurrent support
- Performance benefits: Updated to reflect complete isolation, concurrent support, and complex schema advantages
- Comment accuracy: Changed "Reset and return to pool" to "Drop database and return resource to pool"
Description Updates
- Package overview: Now correctly describes DROP DATABASE strategy for complete isolation
- Key features: Updated to highlight excellent concurrent support and automatic cleanup
- Performance section: Reflects current architecture with complete isolation and simplified maintenance
π― Impact
This release ensures that:
- Package documentation matches the actual v0.2.0 API
- Code examples work correctly with current library version
- Users have accurate information about performance characteristics
- Documentation reflects the simplified architecture without Strategy pattern
π For Users
If you're using v0.2.0, the package documentation now correctly shows:
config := &testdbpool.Config{
ID: "myapp-test",
Pool: connPool,
SetupTemplate: setupSchema,
// ResetDatabase removed - DROP DATABASE used automatically
}Full Changelog: v0.2.0...v0.2.1