🌐 AI搜索 & 代理 主页
Release 25.4.0.
  1. 112dd1d Expose effective class construction properties (#1454) by Hynek Schlawack · 2 months ago
  2. f8f7a2e Improve type hinting of or_ (#1471) by John Marsden · 3 months ago
  3. 1315e42 Improve performance of attr.astuple (#1469) by Pieter Eendebak · 3 months ago
  4. 7369ad9 Improve performance of asdict in the common case (#1463) by Pieter Eendebak · 3 months ago
  5. ce358ed Fix `attrs.field(converter=...)` type annotations (#1461) by Finite State Machine · 4 months ago
  6. 19175d9 Use sys._clear_type_descriptors() on 3.14 to break slot reference cycle (#1459) by Jelle Zijlstra · 4 months ago
  7. 6e3786c Make `kw_only=True` behavior consistent with dataclasses (#1457) by Zecong Hu · 4 months ago
  8. 61e8179 Allow forward-references on 3.14 (#1451) by Tin Tvrtković · 5 months ago
  9. 5bab46d Allow deep_iterable and deep_mapping take lists/tuples (#1449) by Hynek Schlawack · 5 months ago
  10. 000c563 Fix slotted reference cycles on 3.14 (#1446) by Hynek Schlawack · 5 months ago
  11. cbaef3f Make validators optional in deep_mapping (#1448) by Hynek Schlawack · 5 months ago
  12. 937b1e2 Fixes issue #1427 (#1428) by redruin1 · 5 months ago
  13. 577c782 update ruff by Hynek Schlawack · 6 months ago
  14. 269b9f5 Use proper formatting for docstring (#1432) by A5rocks · 7 months ago
  15. 00f6ac4 Use a fully locked test environment (#1349) by Hynek Schlawack · 7 months ago
  16. 3d42a69 doc: fix typo in attrs.validators.gt's docstring: ge -> gt (#1423) by jfs · 8 months ago
  17. 3b0378d Cope with `field_transformer` being a generator (#1417) by Ash Berlin-Taylor · 9 months ago
  18. 1c962d1 Mention what argument has both annotation and type argument (#1410) by Hynek Schlawack · 9 months ago
  19. 74007f6 ClassBuilder: eval only once (#1407) by Tin Tvrtković · 10 months ago
  20. e048efc Perform attr order checks after field transformer. (#1401) by James Murphy · 10 months ago
  21. 75723b7 Accept valid unicode identifiers as class parameter to make_class (#1406) by serge-sans-paille · 10 months ago
  22. 5820ce7 docs: stress that make_class doesn't validate names by Hynek Schlawack · 10 months ago
  23. c17b1f3 Update Ruff by Hynek Schlawack · 11 months ago
  24. 119e043 docs: fix markup by Hynek Schlawack · 12 months ago
  25. e82cde4 docs: add note to make_class about non-NG-ness by Hynek Schlawack · 12 months ago
  26. d3f320e typing: allow union types for instance_of (#1385) by Hynek Schlawack · 12 months ago
  27. 62bdbf2 Implement __replace__ on 3.13 (#1383) by Hynek Schlawack · 12 months ago
  28. d18763c Introduce NothingType (#1358) by Tin Tvrtković · 1 year ago
  29. 1e07f46 Make attrs.converters.pipe only return a Converter instance if one is passed (#1380) by Filipe Brandenburger · 1 year ago
  30. 45b6b6b Update Ruff by Hynek Schlawack · 1 year ago
  31. 6c89173 Fix type annotations for converter types, considering the Converter class (#1373) by Filipe Brandenburger · 1 year, 1 month ago
  32. 13105a6 Use an explicit comparison to None for the converter of a field (#1374) by Filipe Brandenburger · 1 year, 1 month ago
  33. e21793e Allow converter.optional to take a Converter such as converter.pipe as its argument (#1372) by Filipe Brandenburger · 1 year, 1 month ago
  34. cf6af79 Remove stale comment by Hynek Schlawack · 1 year, 1 month ago
  35. 1921da6 allow __suppress_context__ and __notes__ to be mutated on frozen exceptions (#1365) by Thomas Grainger · 1 year, 2 months ago
  36. 0e8e82a Remove mention of cmp= from next gen docs (#1355) by Tim Stumbaugh · 1 year, 2 months ago
  37. 2f1014a Black dropped us 5 years ago by Hynek Schlawack · 1 year, 3 months ago
  38. a8e24b0 Drop Python 3.7 (#1340) by Hynek Schlawack · 1 year, 4 months ago
  39. ae73409 Cull Ruff ignores by Hynek Schlawack · 1 year, 4 months ago
  40. 5d6d21a Make Converter (including pipe) correctly infer the return type (#1331) by Hynek Schlawack · 1 year, 4 months ago
  41. 6fda0a4 Make Converter a kind of adapter, fix converters.pipe (#1328) by Hynek Schlawack · 1 year, 4 months ago
  42. 7373d88 Restore basic functionality on 3.14[sic] (#1329) by Hynek Schlawack · 1 year, 4 months ago
  43. f520d9a Only soft-deprecate hash (#1330) by Hynek Schlawack · 1 year, 4 months ago
  44. bde3f58 Deprecate hash for unsafe_hash (#1323) by Hynek Schlawack · 1 year, 4 months ago
  45. dbb25ce Add support for __attrs_init_subclass__ (#1321) by Hynek Schlawack · 1 year, 4 months ago
  46. fd7538f validators.in_ now transforms certain unhashable options to tuples (#1320) by Hynek Schlawack · 1 year, 4 months ago
  47. 09161fc Fix crash when __pre_init__, kw_only, and defaults come together (#1319) by Hynek Schlawack · 1 year, 4 months ago
  48. 689a0e6 Simplify & optimize own attribute detection (#1322) by Hynek Schlawack · 1 year, 4 months ago
  49. f7e4e91 docs: fix typo by Hynek Schlawack · 1 year, 4 months ago
  50. 42c9548 Invert API docs to point from NG to OG (#1316) by Hynek Schlawack · 1 year, 4 months ago
  51. b78abad docs: add glossary entries for field & attribute by Hynek Schlawack · 1 year, 4 months ago
  52. a365cdc More f-strings (#1317) by Hynek Schlawack · 1 year, 5 months ago
  53. f5683b8 converters: allow wrapping and passing self and fields (#1267) by Hynek Schlawack · 1 year, 5 months ago
  54. 8a8cd91 Switch docstrings to Napoleon style (#1308) by Hynek Schlawack · 1 year, 5 months ago
  55. a8808a2 Speed up __eq__ (#1310) by Tin Tvrtković · 1 year, 5 months ago
  56. 7c9b31e Add `attrs.validators.or_` validator (#1303) by Libor Martínek · 1 year, 5 months ago
  57. edcaf04 make_class(): Add "__annotations_" to generated class (#1285) by Stefan Scherfke · 1 year, 5 months ago
  58. e1b2c94 refactor: Only loop once on "cached_properties" when building slotted classes (#1290) by Denis Laxalde · 1 year, 6 months ago
  59. 88e2896 Preserve AttributeError in slotted classes with cached_property (#1253) by Denis Laxalde · 1 year, 9 months ago
  60. 2446e64 Remove non-version metadata hack (#1268) by Hynek Schlawack · 1 year, 9 months ago
  61. 1b3898a Avoid unnecessary assignment/append by Hynek Schlawack · 1 year, 9 months ago
  62. 028797b Switching to tuples removed this case by Hynek Schlawack · 1 year, 9 months ago
  63. 189ab7f Improve docstring by Hynek Schlawack · 1 year, 9 months ago
  64. d812e92 Explain what autodata by Hynek Schlawack · 1 year, 9 months ago
  65. 9e803dd to_bool: avoid creating sets on each call by Hynek Schlawack · 1 year, 9 months ago
  66. 9cf3d33 Improve/harmonize docstrings by Hynek Schlawack · 1 year, 9 months ago
  67. 447f8a4 Tuples are cheaper than lists by Hynek Schlawack · 1 year, 9 months ago
  68. 4b1d869 Simplify slot field detection by Hynek Schlawack · 1 year, 9 months ago
  69. deb9763 Refactor setters determination into function by Hynek Schlawack · 1 year, 9 months ago
  70. 9b9a691 Upper-case private constants for better readability by Hynek Schlawack · 1 year, 9 months ago
  71. 8460190 Remove attrs.validators.provides (#1265) by Hynek Schlawack · 1 year, 9 months ago
  72. 278d3a5 evolve: remove support for passing instances per kw (#1264) by Hynek Schlawack · 1 year, 9 months ago
  73. d9ed593 Deprecate attr.s's repr_ns (#1263) by Hynek Schlawack · 1 year, 9 months ago
  74. f590f44 docs: style improvements by Hynek Schlawack · 1 year, 9 months ago
  75. d4e98b1 Simplify name by Hynek Schlawack · 1 year, 9 months ago
  76. d129b1f pre-commit autoupdate by Hynek Schlawack · 1 year, 9 months ago
  77. f9ff913 Fix test_ne in test_cmp.py for Python 3.13 (#1255) by Lumír 'Frenzy' Balhar · 1 year, 9 months ago
  78. 06dc279 Tweak stubs for better VS Code import (#1234) by Tin Tvrtković · 1 year, 10 months ago
  79. 75d54c2 Black 24 by Hynek Schlawack · 1 year, 11 months ago
  80. 26d8dd7 Slotted cached property reference (#1221) by diabolo-dan · 2 years ago
  81. 597c3a8 Add support for cached_properties to slotted attrs classes. (#1200) by diabolo-dan · 2 years ago
  82. 01413df Fix for a tiny typo in `_MinLengthValidator` (#1209) by Çağlar Kutlu · 2 years ago
  83. 1fcd29f Add optional namespace arguments for `make_class` (#1203) by Aaron Pham · 2 years, 1 month ago
  84. 079954e Remove work-arounds for setting cell_contents (#1201) by Eugene Toder · 2 years, 1 month ago
  85. c849440 Add more cross-references by Hynek Schlawack · 2 years, 2 months ago
  86. 5f1d588 doc: invert sentence on setattr logic in NG by Hynek Schlawack · 2 years, 2 months ago
  87. 67e4ff2 [pre-commit.ci] pre-commit autoupdate (#1189) by pre-commit-ci[bot] · 2 years, 2 months ago
  88. c2824ac Pass args from `__init__` to `__attrs_pre_init__` if requested (#1187) by Victor Song · 2 years, 3 months ago
  89. 46a03dc Fix typo in src/attr/_next_gen.py::define's docstring (#1184) by InSync · 2 years, 3 months ago
  90. a5cbd51 Tighten linting (#1175) by Hynek Schlawack · 2 years, 4 months ago
  91. c824bbe Allow subclassing of AttrsInstance and Protocol at once (#1172) by Hynek Schlawack · 2 years, 4 months ago
  92. 0bf0678 Fix TypeError for `asdict(<class with namedtuple>, retain_collection_types=True)` (#1165) by Vitaliy Yelnik · 2 years, 5 months ago
  93. 36d4762 Switched from __dataclass_transform__() to typing.dataclass_transform() (#1158) by Sergei Lebedev · 2 years, 5 months ago
  94. a08bfb9 Un-deprecate __version__ for now by Hynek Schlawack · 2 years, 6 months ago
  95. ecdb117 Fix type annotation for resolve_types() (#1141) by Hynek Schlawack · 2 years, 6 months ago
  96. 8dbd2db Fix docstring markup by Hynek Schlawack · 2 years, 7 months ago
  97. 3786d5a Fix next version by Hynek Schlawack · 2 years, 8 months ago
  98. c4c6fdd Add literal string support to include and exclude filters (#1068) by Lanqing Huang · 2 years, 8 months ago
  99. c8b342d Deprecate zope-interface support (#1120) by Hynek Schlawack · 2 years, 8 months ago
  100. 7d55876 Accept tuples in attrs.validators.optional (#1122) by Hynek Schlawack · 2 years, 8 months ago