Commit Graph

  • b2871468b7 Fix :: Signature generation with extra: allow never uses a field name (#1420) PrettyWood 2020-04-23 14:42:06 +02:00
  • 3cd8b1ee2d Fix :: avoid mutating Field default value (#1413) PrettyWood 2020-04-22 12:25:13 +02:00
  • d280bdca41 Bump pytest-mock from 3 to 3.1.0 (#1407) dependabot-preview[bot] 2020-04-22 11:16:16 +01:00
  • 5c6ab56015 Bump mkdocs-material from 5.1 to 5.1.1 (#1406) dependabot-preview[bot] 2020-04-22 11:15:42 +01:00
  • 1f071f1cf9 fix deploy Samuel Colvin 2020-04-18 18:08:28 +01:00
  • 67acb659c2 prepare v1.5 release Samuel Colvin 2020-04-18 17:32:16 +01:00
  • cab6313798 Allow subclasses of known types to be encoded with superclass encoder (#1291) Stephen Brown II 2020-04-18 10:11:00 -06:00
  • 52af916206 Prevent mutation of excludes/includes (#1404) AlexECX 2020-04-18 12:09:06 -04:00
  • 92b0bbc0f3 Bug fix: excludes skipped for aliased nested fields when by_alias=True (#1398) AlexECX 2020-04-18 12:05:20 -04:00
  • 161a12a1a1 Update constr regex example to include start and end lines (#1400) Lance McNearney 2020-04-18 09:02:22 -07:00
  • ec25f60d27 correct name of validate_arguments in docs (#1375) Samuel Colvin 2020-04-18 16:10:58 +01:00
  • 097762b67a make secret types idempotent (#1330) Atheuz 2020-04-18 17:10:36 +02:00
  • 5a705a202f Bump python-dotenv from 0.12.0 to 0.13.0 (#1402) dependabot-preview[bot] 2020-04-18 14:33:21 +01:00
  • 9a8bda5b16 confirm shallow copy works as expected, (#1394) Samuel Colvin 2020-04-15 22:58:56 +01:00
  • 91c626eee0 docs: add hint for custom root types (#1373) mikuhn 2020-04-15 23:53:19 +02:00
  • c5af109e57 Fix argument name collision (#1367) Kittipat Virochsiri 2020-04-15 14:52:07 -07:00
  • ccd5f7b8f3 Replace exception to silent passing in mypy plugin for non-Var attributes (#1348) Dima Boger 2020-04-16 00:46:22 +03:00
  • c7bd8f82b1 Move from identity to equality (#1331) Michael Hart 2020-04-15 22:44:13 +01:00
  • 2c05415bae accept None as value for all optional fields (#1307) PrettyWood 2020-04-15 23:43:38 +02:00
  • a015cd01ba Have BaseModel inherit from Representation (#1319) Danny Weinberg 2020-04-15 14:07:16 -07:00
  • 7bebf2bdc3 Allow schema_extra to be a classmethod (#1306) laevilgenius 2020-04-16 00:06:25 +03:00
  • 7cc5dbeb6a document making secret types dumpable using the json method (#1328) Atheuz 2020-04-15 23:05:43 +02:00
  • 0ba7710f35 Add JSON Benchmark (#1344) Stephen Brown II 2020-04-15 14:52:04 -06:00
  • b749e224c9 Allow None for (virtual) superclasses of NoneType (#1266) George Sakkis 2020-04-15 18:45:23 +03:00
  • 76ebdb915d combined uprev of packages (#1395) Samuel Colvin 2020-04-15 16:40:21 +01:00
  • 32f1d1a8c7 fix build badge Samuel Colvin 2020-04-14 11:59:03 +01:00
  • aaec3c9c15 Remove typing-extension dependency on python 3.8 (#1342) PrettyWood 2020-03-26 16:44:11 +01:00
  • d495710303 Cleanup ci & coverage (#1329) Samuel Colvin 2020-03-21 18:14:17 +00:00
  • 3f04bb3200 fix card number length check in PaymentCardNumber (#1321) Samuel Colvin 2020-03-21 17:08:08 +00:00
  • 96c9c400bc Move to GitHub actions (#1326) Samuel Colvin 2020-03-21 17:02:07 +00:00
  • 13b002e97f Add datetime field to default_factory example (#1301) Stephen Brown II 2020-03-18 14:23:42 -06:00
  • ebb2e6c942 Use __all__ to exclude fields from all elements of a list/tuple of submodels. Raise more informative TypeError when passing bad exclude kwargs. (#1286) Michael (Misha) Salim 2020-03-18 15:22:49 -05:00
  • 960b24a5aa Use __class__ attribute for 5% speed gain. (#1294) Stephen Brown II 2020-03-18 07:28:17 -06:00
  • 0164db9daa Fix typo breaking pydantic-only benchmarks when TestCAttrs not available (#1282) Stephen Brown II 2020-03-18 07:05:47 -06:00
  • fcf547834b Bump coverage from 5.0.3 to 5.0.4 (#1318) dependabot-preview[bot] 2020-03-17 21:05:26 +00:00
  • 311fe660cb Bump mypy from 0.761 to 0.770 (#1300) dependabot-preview[bot] 2020-03-17 21:05:07 +00:00
  • 567bf4eb43 Bump pygments from 2.5.2 to 2.6.1 (#1299) dependabot-preview[bot] 2020-03-17 21:04:55 +00:00
  • 1288db7c5c constrain pytest on cibuildwheel build Samuel Colvin 2020-03-17 20:40:23 +00:00
  • e57f777c4d Support instance methods and class methods with @validate_arguments (#1272) Samuel Colvin 2020-03-17 20:12:30 +00:00
  • d8262131d2 No dict update (#1244) Pavel Ilyin 2020-03-17 22:57:13 +03:00
  • d1279e865e Fix parsing nested custom root type models (#1253) Alexei Robyn 2020-03-18 06:55:48 +11:00
  • 938335c46f Add benchmark for voluptuous library (#1292) Stephen Brown II 2020-03-06 06:31:43 -07:00
  • 8727914ced Bump python-dotenv from 0.11.0 to 0.12.0 (#1276) dependabot-preview[bot] 2020-03-04 17:46:15 +00:00
  • 6f4945d84c Accept pre-compiled Pattern objects (#1238) adamgreg 2020-03-04 17:27:17 +00:00
  • ddc8e5a57b Fix type annotations in examples (#1248) Ondrej Kokes 2020-03-04 18:26:11 +01:00
  • 78a3f42b0a Dynamic default value (#1210) PrettyWood 2020-03-04 17:37:23 +01:00
  • 679e5d149e Generics inherit doc (#1249) Thaïs de Boisfossé 2020-03-04 16:40:04 +01:00
  • e3243d267b upreving packages, fix python 3.7 docs generation (#1271) Samuel Colvin 2020-03-01 13:34:35 +00:00
  • 0f948618ba Add model signature generation (#1034) Arseny Boykov 2020-02-28 01:35:51 +03:00
  • f2f83bcae2 Add support for NewType of List, Optional, etc. (#1208) Jocelyn Boullier 2020-02-27 23:14:53 +01:00
  • 7d9614e3f8 Refactor ._iter() method, 10x speed boost for dict(model) (#1017) Arseny Boykov 2020-02-27 23:21:22 +03:00
  • c4e42746f3 add pydantic.color.Color objects as available input for Color fields (#1258) Leo Sussan 2020-02-26 15:25:24 -05:00
  • 645e5fe6a0 Bump mkdocs-material from 4.6.0 to 4.6.2 (#1215) dependabot-preview[bot] 2020-02-10 11:10:12 +00:00
  • 948427da75 speedup and fix markdown version conflict (#1214) Samuel Colvin 2020-02-07 20:47:44 +00:00
  • 6914410f38 Validation Decorator (#1179) Samuel Colvin 2020-02-05 17:27:12 +00:00
  • 8397cde602 new docs preview (#1206) Samuel Colvin 2020-02-03 14:07:01 +00:00
  • a97c120dbf Bump pytest from 5.3.4 to 5.3.5 (#1197) dependabot-preview[bot] 2020-02-02 13:00:20 +00:00
  • be95ddaf88 Be more specific about the meaning of Config.extra (#1203) Wesley Ellis 2020-02-02 07:15:42 -05:00
  • 55f7d35727 update root_validator signature, fix #1192 (#1204) Samuel Colvin 2020-02-01 16:59:32 +00:00
  • e4cd9d2c87 uprev Samuel Colvin 2020-01-24 10:48:44 +00:00
  • c5dd9c1ef0 Bump pytest from 5.3.2 to 5.3.4 (#1184) dependabot-preview[bot] 2020-01-24 10:32:15 +00:00
  • a90aaad3be Bump python-dotenv from 0.10.4 to 0.10.5 (#1180) dependabot-preview[bot] 2020-01-24 10:32:00 +00:00
  • 943a8a06e5 change alias priority logic (#1178) Samuel Colvin 2020-01-24 10:31:16 +00:00
  • 2c5a8093b8 add note about diff bw pydantic and stdlib dataclasses (#1188) Ishan Anand 2020-01-24 15:40:08 +05:30
  • b7c0dd5b16 Support unicode and punycode when validating TLDs (#1183) James Curtin 2020-01-21 11:55:11 -05:00
  • 4f8f939690 Complete Luhn algorithm (#1167) cuencandres 2020-01-20 12:53:18 -06:00
  • 07271ca5bc tweak security.md Samuel Colvin 2020-01-19 21:02:58 +00:00
  • 02784fb83b docs typo Samuel Colvin 2020-01-19 18:28:11 +00:00
  • 730d84217d allow use of a .env-style files in BaseSettings (#607) (#1011) Connor 2020-01-19 10:45:36 -06:00
  • a9e8db3286 Create SECURITY.md (#1171) Samuel Colvin 2020-01-17 17:30:15 +00:00
  • e2533e04c9 regex for username and password in URLs (#1175) Samuel Colvin 2020-01-17 17:13:55 +00:00
  • 0b5ccffc76 Fix argument in validators during assignment, fix #1172 (#1174) Samuel Colvin 2020-01-17 16:30:21 +00:00
  • aeba494388 Add support for generics with __get_validators__ (#1159) Sebastián Ramírez 2020-01-17 17:22:54 +01:00
  • be133473f9 Bump coverage from 5.0.2 to 5.0.3 (#1163) dependabot-preview[bot] 2020-01-17 16:22:28 +00:00
  • 718b7fe643 correct dev version Samuel Colvin 2020-01-17 15:25:07 +00:00
  • 496551c854 Implement support for declaring infinite generators (#1152) Sebastián Ramírez 2020-01-13 12:50:16 +01:00
  • dbc044e357 Add support for nested generics (#1104) David Montague 2020-01-10 13:06:52 -08:00
  • dea8ac2b09 run windows tests on pull requests as well as push Samuel Colvin 2020-01-10 20:17:39 +00:00
  • 1c49a3f689 Bump pytest-mock from 1.13.0 to 2.0.0 (#1146) dependabot-preview[bot] 2020-01-08 10:35:28 +00:00
  • 21f7ef97c7 Bump coverage from 5.0.1 to 5.0.2 (#1145) dependabot-preview[bot] 2020-01-08 10:35:16 +00:00
  • fa8aa12a3d correct url_regex, fix #1142 (#1148) Samuel Colvin 2020-01-08 10:21:44 +00:00
  • cd8b504568 Pass model_class to schema_extra staticmethod (#1125) John Carter 2020-01-07 01:01:03 +13:00
  • e169bd60e4 encourage use of version_info() in issues (#1138) Samuel Colvin 2020-01-02 19:34:33 +00:00
  • 8a53350412 docs: Add docs for allow_reuse (#1135) pmav99 2020-01-02 17:13:44 +02:00
  • 31cac4783b improve pydantic import time (#1132) Samuel Colvin 2020-01-02 14:35:03 +00:00
  • 8364983545 Bump coverage from 5.0 to 5.0.1 (#1123) dependabot-preview[bot] 2020-01-02 11:45:29 +00:00
  • e9da909dd3 remove explicit re-exports from __init__.py (#1124) Samuel Colvin 2020-01-02 11:44:48 +00:00
  • 2b47932f8e Fix EmailStr for Cython (#1126) Koudai Aono 2019-12-27 03:15:59 +09:00
  • e65d11240a uprev Samuel Colvin 2019-12-21 15:52:37 +00:00
  • 065ae2e4c4 fix modify schema (#1103) Samuel Colvin 2019-12-21 15:46:11 +00:00
  • a1b6aa5f5a moving windows ci to github actions (#1121) Samuel Colvin 2019-12-21 15:08:00 +00:00
  • e1ae058afb Consistent checks for sequence like objects (#1111) Samuel Colvin 2019-12-20 15:08:45 +00:00
  • d63e9b64ce Fix for Optional Json fields (#1080) Marcus McCurdy 2019-12-20 09:04:22 -05:00
  • e05c2aac5f Bump pytest from 5.3.1 to 5.3.2 (#1100) dependabot-preview[bot] 2019-12-20 13:02:08 +00:00
  • 4fa56d9d4f Bump coverage from 4.5.4 to 5.0 (#1101) dependabot-preview[bot] 2019-12-20 13:01:56 +00:00
  • 178a23da01 Bump mypy from 0.760 to 0.761 (#1118) dependabot-preview[bot] 2019-12-20 13:01:45 +00:00
  • e478278474 Documentation: rename benchmark django-restful-framework -> django-rest-framework (#1119) François Voron 2019-12-20 12:31:16 +01:00
  • a7ef2d5e1b Trivial - Fix comment spelling (#1114) John Carter 2019-12-20 01:12:52 +13:00
  • 1a273f2e64 docs: Fix explanation of case sensitivity for Settings (#1110) Anthony 2019-12-18 17:16:38 +03:00
  • 42c4b3e3a1 Bump mypy from 0.750 to 0.760 (#1107) dependabot-preview[bot] 2019-12-18 13:22:41 +00:00