Releases: molshape/CASRegistryNumbers
Releases · molshape/CASRegistryNumbers
Update v1.1.2
What's Changed
Full Changelog: v1.1.1...v1.1.2
This update introduces several improvements to the codebase, focusing on code quality, type safety, and workflow enhancements. The most notable changes include stricter type annotations and error handling in the CAS class, the addition of a type stub file for better static analysis, and updates to the CI workflow to include type checking and improved dependency management.
Code quality and type safety improvements:
- Updated the
CASclass methods (__format__,__eq__, and__lt__) to use more precise type annotations (objectinstead ofCASfor comparison methods), added docstrings for clarity, and improved error handling when comparing objects of different types. - Added a new type stub file
casregnum.pyithat provides explicit type signatures for all public methods and properties of theCASclass, enhancing static type checking and editor support.
Continuous Integration and dependency management:
- Enhanced the GitHub Actions CI workflow by renaming jobs for clarity (
test→code-tests,lint→code-quality), running tests using configuration frompyproject.toml, and adding a step formypytype checking. [1] [2] [3] - Updated development dependencies in
pyproject.tomlto specify minimum versions, addedmypy, and moved test coverage options into the pytest configuration for consistency. [1] [2]
Version update:
- Bumped the package version from
1.1.1to1.1.2to reflect these improvements.
Update v1.1.1
What's Changed
Full Changelog: v1.1.0...v1.1.1
Update v1.1.0
- Add release workflow
release.ymlfor GitHub Actions - Refactor CI pipeline with
ci.yml, delete previous pipelinepython-app.yml - Switch to
uvfor package management and dependency handling - Reorganize files for better consistency and implementation
- Improve documentation by adding docstrings
- Update
README.mdto show badges and current status - Bump to version 1.1.0 and implement
__version__
Update v1.0.1
- pytest testing
- flake8 testing
Update v1.0.0
casregnum is now ready for its first productivity release