Content-Length: 466877 | pFad | http://github.com/jorenham/optype/releases

9E Releases · jorenham/optype · GitHub
Skip to content

Releases: jorenham/optype

v0.7.3

30 Nov 23:28
v0.7.3
2438b36
Compare
Choose a tag to compare

Highlights

  • optype is now on conda-forge, thanks to @lucascolley (docs)
  • [optype.numpy] The CanArrayND type now optionally accepts a second shape-type argument (docs)
  • [optype.numpy] New Array0D and CanArray0D aliases for 0-dimensional numpy arrays (not scalars) (docs)
  • [optype.numpy] New To*Strict{1,2,3}D array-like types with "strict" shape, useful for non-overlapping shape-type overloads (docs)

Fixes

  • Fix ImportError on python >= 3.13 without typing_extensions installed

What's Changed

Full Changelog: v0.7.2...v0.7.3

v0.7.2

24 Nov 23:47
v0.7.2
98c8dfa
Compare
Choose a tag to compare

Highlights

  • optype.numpy.To*3D - Array-like aliases for 3-D array-likes (docs)
  • optype.numpy.ToJustInt* - Scalar- and array-like aliases for just integer array-likes, i.e. bool and np.bool_ will be rejected (docs)

Fixes

  • #194 - workaround for a mypy bug with recursive sequences types

What's Changed

  • ruff 0.8.0 and basedpyright 1.22.0 by @jorenham in #195
  • workaround for a mypy bug with recursive sequences types by @jorenham in #196
  • export SequenceND from optype.numpy by @jorenham in #197
  • 3-d aliases for arrays and array-likes in optype.numpy by @jorenham in #198
  • ToJustInt scalar- and array-likes in optype.numpy by @jorenham in #199

Full Changelog: v0.7.1...v0.7.2

v0.7.1

19 Nov 15:20
v0.7.1
ef6d11b
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.7.0...v0.7.1

v0.7.0

19 Nov 14:21
v0.7.0
487055a
Compare
Choose a tag to compare

Highlights

  • [BREAKING] The optype.numpy.Any* aliases no longer accept bare scalars types
  • Coercible scalar- and array-like type aliases optype.numpy.Array{1,2,3,N}D (docs)
  • The new optype.dlpack module with DLPack types and enums (docs)
  • Improved the readability of the optype.numpy types
  • Experimental Just and JustInt in optype.typing (docs)

What's Changed

New Contributors

Full Changelog: v0.6.1...v0.7.0

v0.6.1

19 Aug 01:12
Compare
Choose a tag to compare

This is a bugfix release with no breaking changes.
However, because optype now uses less typing.Any, which could cause type-checkers to report errors that were previously hidden.

Highlights

What's Changed

Full Changelog: v0.6.0...v0.6.1

v0.6.0

17 Aug 14:29
ce4cfd1
Compare
Choose a tag to compare

Highlights

Breaking changes

  • Increased the minimum Python version from 3.10.0 to 3.10.1
  • Increased the minimum typing_extensions version from 4.7 to 4.8
  • Moved CanCopy, CanDeepcopy and CanReplace from optype._ to optype.copy._
  • Moved HasDataclassFields from optype._ to optype.dataclasses._
  • Moved CanGetnewargs[Ex], CanReduce[Ex], and Can{Get,Set}state from optype._ to optype.pickle._
  • Any*Array and Any*DType for int_, float64 and complex128 don't include int, float, and complex anymore. See numpy/numpy#27032 (comment) for why this was done.

Full Changelog: v0.5.0...v0.6.0

v0.5.0

23 Jun 21:39
62d71eb
Compare
Choose a tag to compare

Release highlights

  • optype.numpy: (optional) NumPy (1 & 2) typing protocols and aliases, see the docs the details
  • Implement PEP 696 type parameter defaults
  • *Self aliases for the context manager Can* interfaces
  • *Self aliases for the inplace operand CanI* interfaces
  • Many documentation fixes & improvements
  • Simplified local development using Tox

Breaking changes

  • typing_extensions is now required for all Python versions <3.13

What's Changed

Full Changelog: v0.4.0...v0.5.0

v0.4.0

15 Apr 04:53
5157ded
Compare
Choose a tag to compare

The minimum required Python version has been lowered from 3.12 to 3.10.

What's Changed

Full Changelog: v0.3.1...v0.4.0

v0.3.1

01 Apr 18:55
add8a2d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.3.1

v0.3.0

21 Mar 20:11
f7b418a
Compare
Choose a tag to compare

What's Changed

  • Fix CanAIterSelf not being an AsyncGenerator subtype by @jorenham in #17
  • upgrade pyright to 1.1.355 by @jorenham in #18
  • several doc fixes and improvements by @jorenham in #27
  • add ops for __reversed__ and __missing__ by @jorenham in #28
    • CanSequence[I: CanIndex, V] (combines CanLen and CanGetitem[I, V])
    • do_reversed: DoesReversed (type-corrected alias for builtins.reversed)
    • do_missing: DoesMissing (calls .__missing__())
  • Interfaces for the copy standard library by @jorenham in #29
    • CanCopy[T] and CanCopySelf
    • CanDeepcopy[T] and CanDeepcopySelf
    • CanReplace[T, V] and CanReplaceSelf[V]
  • Interfaces for the pickle standard library by @jorenham in #30
    • CanReduce[R: str | tuple]
    • CanReduceEx[R: str | tuple]
    • CanGetState[S]
    • CanSetState[S]
    • CanGetnewargs[*Args]
    • CanGetnewargsEx[*Args, Kw]
  • upgrade to ruff 0.3.4 by @jorenham in #31
  • Interfaces for the dataclasses standard library by @jorenham in #32
    • HasDataclassFields

Full Changelog: v0.2.2...v0.3.0









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/jorenham/optype/releases

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy