Changelog
โจ Features
- **Mother Classes Enhancements:**
- Implemented `BytesMother`.
- Implemented `StringUUIDMother` and `UUIDMother` classes with corresponding tests.
- Updated `FloatMother` to allow random decimal places when not specified.
- Implemented `DateMother` and `DatetimeMother` with corresponding tests.
๐จ Refactoring
- **Code Improvements:**
- Updated import paths for consistency across mother classes.
- Improved type checking for value parameters in various mother classes.
๐ Bug Fixes
- **Mother Class Fixes:**
- Improved error messages and handled edge cases in `FloatMother`.
- Implemented timezone awareness in `DatetimeMother`.
- Updated `StringDatetimeMother` tests to use `DatetimeMother` for initialization.
- Streamlined `FloatMother` to correctly handle equal `min` and `max` values.
- Added coverage pragma comments for `DatetimeMother`, `NameMother`, `list`, `set`, `tuple`, `dict`, and dictionary edge cases.
- **Testing and Coverage Enhancements:**
- Added coverage pragma comments for edge case handling in `NameMother`.
- Updated bug template for consistency.
๐งช Tests
- Implemented test modules for `BytesMother`, `StringMother`, and `FloatMother`.
๐ Documentation
- **Readme and Usage Documentation:**
- Added a utilization section with examples and real-life use cases.
- Updated example outputs in `README`, `BytesMother`, `StringMother`, and `FloatMother`.
- Added contributing guidelines to `README`.
๐ฆ Build
- Updated `.gitignore` to exclude coverage and environment folders.
- Removed `pytest-asyncio` from development requirements.
๐ท๐ป CI/CD
- Removed JSON files checker from pre-commit configuration.
๐ง Chores
- Updated comments in `.gitignore` for clarity and consistency.
- Corrected typo in `.gitignore` comments.
- Updated license reference in `pyproject.toml` to point to `LICENSE` file.
- Updated version to `2025.01.03`.
---
[Full Changelog](https://github.com/adriamontoto/object-mother-pattern/compare/v2024.12.21...v2025.01.03)