Skip to content

Releases: NCBM/exactypes

v0.4.0

11 Jan 14:16

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[0.4.0] - 2025-01-11

πŸš€ Features

  • Support Exception.add_note() for AnnotationError
  • 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 WinFnType support

πŸ“š Documentation

  • Add examples in readme

🎨 Styling

  • Ignore ruff A005

βš™οΈ Miscellaneous Tasks

  • Change cliff settings

v0.3.0

05 Dec 16:20

Choose a tag to compare

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_p parameter to accept pointer-like

πŸ› Bug Fixes

  • Fix typing issue
  • Fix typing issue x2
  • Only allow None for restype

βš™οΈ Miscellaneous Tasks

  • Create missing LICENSE
  • Remove unused ignores

v0.2.1

04 Dec 13:38

Choose a tag to compare

Changelog

All notable changes to this project will be documented in this file.

[0.2.1] - 2024-12-04

πŸ› Bug Fixes

  • Allow None to 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

29 Nov 04:56

Choose a tag to compare

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

07 Nov 16:13

Choose a tag to compare

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