Releases: NCBM/exactypes
Releases Β· NCBM/exactypes
v0.4.0
Changelog
All notable changes to this project will be documented in this file.
[0.4.0] - 2025-01-11
π Features
- Support
Exception.add_note()forAnnotationError - Add errcheck support for
CCallWrapper
π Bug Fixes
- Change all examples to use the same libc
- Remove useless
SupportsBool - Update typing of array types
π Refactor
- Add
WinFnTypesupport
π Documentation
- Add examples in readme
π¨ Styling
- Ignore ruff A005
βοΈ Miscellaneous Tasks
- Change cliff settings
v0.3.0
Changelog
All notable changes to this project will be documented in this file.
[0.3.0] - 2024-12-05
β BREAKING CHANGE
- BREAKING CHANGE: reorganize pointer type helpers
π Features
- Allow
c_void_pparameter to accept pointer-like
π Bug Fixes
- Fix typing issue
- Fix typing issue x2
- Only allow
Nonefor restype
βοΈ Miscellaneous Tasks
- Create missing LICENSE
- Remove unused ignores
v0.2.1
Changelog
All notable changes to this project will be documented in this file.
[0.2.1] - 2024-12-04
π Bug Fixes
- Allow
Noneto support void-return functions
π¨ Styling
- Add more check rules
βοΈ Miscellaneous Tasks
- Update example cstruct_4 to show native type compatibility
- Bump version to 0.2.1
v0.2.0
Changelog
All notable changes to this project will be documented in this file.
[0.2.0] - 2024-11-29
π Features
- Add array wrapper preliminarily
- Add compat-type array
- Add array field
- Add array fields mark in datafields
- Improve error messages of annotation errors
- Add flexible array support
π Bug Fixes
- Update some types
- Better messages and representations
- Getitem for char/wchar array type
- Fix type errors
- Make correct typing on char array and wchar array
- Remove useless array fields typing
π Refactor
- Change some typings for array
- Remove weird hack of class attributes
- Reorganize _cdataobject function and add simple array support
π Documentation
- Add docstrings
π¨ Styling
- Try fix no_type_check annotation
- Try fix no_type_check annotation
π§ͺ Testing
- Add tests for exceptions
βοΈ Miscellaneous Tasks
- Add python-staticcheck
- Give up venv
- Capitalize 'ruff' in action name
- Update example cstruct_4
- Update readme
- Remove unused exceptions
- Add re-exports in module init
- Bump version to v0.2.0
v0.1.0
Changelog
All notable changes to this project will be documented in this file.
[0.1.0] - 2024-11-07
π Features
- Upload code
- Add padding support for cdataobject
- Add CFnType preliminarily
- Add wrapper for annotated function
- Add C complex type of Python 3.14
- Support default values
- Support va_args and keyword arguments for cfunc
- Allow export CFnType from CCallWrapper
- Remove temporary fields for resolving
π Bug Fixes
- Wrong determination of Structure and Union type
- Allow incomplete arguments for cdataobject
- Remove value() in padding fields in example
- Adjust a typing
- Use cache before creating a new function type
- Allow unset default value as None
- Better annotation support for C union
- Make _create_pyfunctype return type "CFunctionType"
- Add bool typing support for c_bool
- Range check for float-points
π¨ Styling
- Introduce ruff check
βοΈ Miscellaneous Tasks
- Fill readme and project info
- Update example cstruct_1
- Check and fix with mypy and add ruff to lint
- Add annotation import to show capability
- Better annotation for functype