Commit Graph

  • 822be39021 build(deps): bump cython from 0.29.22 to 0.29.23 (#2684) dependabot[bot] 2021-05-01 16:09:13 +01:00
  • a7fe5ea201 build(deps): bump mkdocs-material from 7.1.0 to 7.1.3 (#2699) dependabot[bot] 2021-05-01 16:08:19 +01:00
  • d34ea05f60 build(deps): bump flake8 from 3.9.0 to 3.9.1 (#2682) dependabot[bot] 2021-05-01 16:06:54 +01:00
  • 5261fd05a0 Add missed assert statement (#2662) Yurii Karabas 2021-04-12 23:55:28 +03:00
  • ae13be5b8c docs: minor typo correction (#2649) Edd Salkield 2021-04-10 10:21:51 +01:00
  • 14f055e743 fix(docs): url schema -> scheme (#2634) Eric Jolibois 2021-04-05 15:36:21 +02:00
  • 7fb77a779a Documentation: Put examples for config to the start of the section (#2615) wackazong 2021-04-05 12:40:13 +02:00
  • 22ba2ca21a build(deps): bump hypothesis from 6.3.4 to 6.8.5 (#2624) dependabot[bot] 2021-04-05 12:19:17 +02:00
  • 39fd02e065 build(deps): bump mkdocs-material from 7.0.6 to 7.1.0 (#2632) dependabot[bot] 2021-04-05 12:14:07 +02:00
  • 3003c6db13 build(deps): bump pytest from 6.2.2 to 6.2.3 (#2631) dependabot[bot] 2021-04-05 12:10:28 +02:00
  • a12ea999d5 build(deps): bump isort from 5.7.0 to 5.8.0 (#2558) dependabot[bot] 2021-04-05 12:07:42 +02:00
  • ada1dd107b build(deps): bump twine from 3.3.0 to 3.4.1 (#2559) dependabot[bot] 2021-04-05 11:37:50 +02:00
  • 282d5b847d Fix indent level of "Validating the first value" (#2577) Joe 2021-04-05 17:30:30 +08:00
  • 300ebbb21a build(deps): bump pyflakes from 2.3.0 to 2.3.1 (#2591) dependabot[bot] 2021-04-05 11:26:36 +02:00
  • ec1bf696e9 doc(schema): fix a callout (#2620) William Woodruff 2021-04-05 05:25:32 -04:00
  • 55ae199fd4 Update install.md (#2626) Dmitry 2021-04-05 16:19:55 +07:00
  • cb08c66655 build(deps): bump python-dotenv from 0.15.0 to 0.17.0 (#2629) dependabot[bot] 2021-04-05 11:16:06 +02:00
  • 7416012227 remove test code 🙈 Samuel Colvin 2021-04-02 18:16:02 +01:00
  • fd1a838551 fix previews using workflow_run Samuel Colvin 2021-04-02 17:43:18 +01:00
  • 15c0ba5242 correct usage of workflow_run actions Samuel Colvin 2021-04-01 20:46:30 +01:00
  • e921d5b852 fix docs-upload.yml Samuel Colvin 2021-04-01 20:41:33 +01:00
  • cd404f9340 switch to use workflow_run event in actions Samuel Colvin 2021-04-01 20:30:05 +01:00
  • e68c277afe avoid using pull_request_target Samuel Colvin 2021-04-01 17:57:25 +01:00
  • 368f014080 use pull_request_target on docs preview Samuel Colvin 2021-04-01 16:37:57 +01:00
  • 57377cf846 use "pull_request_target" in ci Samuel Colvin 2021-04-01 13:10:49 +01:00
  • 5b237b3ea6 coverage badge link Samuel Colvin 2021-03-27 21:33:59 +00:00
  • 91a8ddcbdd fix coverage badge Samuel Colvin 2021-03-27 19:42:47 +00:00
  • 908257914c docs preview and coverage using smokeshow (#2580) Samuel Colvin 2021-03-27 18:36:52 +00:00
  • 7b7e70557b trying to fix fastapi tests (#2584) Samuel Colvin 2021-03-26 14:00:32 +00:00
  • 4ec6c52905 build(dev-deps): bump lint and doc deps (#2529) Eric Jolibois 2021-03-15 10:40:05 +01:00
  • d723b25cc0 build(deps): bump hypothesis from 6.3.0 to 6.3.4 (#2431) dependabot[bot] 2021-03-15 10:22:45 +01:00
  • 619ff261c9 prepare for v1.8.1 Samuel Colvin 2021-03-03 17:03:59 +00:00
  • 62bb2ad492 allow Config.field to update a Field (#2461) Samuel Colvin 2021-03-03 16:52:37 +00:00
  • 3f84d1405e fix: validation with a BaseModel field and a custom root type (#2451) Eric Jolibois 2021-03-03 11:47:58 +01:00
  • ab691142b5 fix: avoid RecursionError when using some types like Enum or Literal with generic models (#2438) Eric Jolibois 2021-03-03 10:25:23 +01:00
  • 429b439830 Allow for generation of a constrained float with multiple_of argument for hypothesis plugin (#2442) Tobi Lipede 2021-03-02 18:56:45 +00:00
  • a74232e101 fix: variable length tuples of compound types (#2421) Eric Jolibois 2021-03-02 13:09:31 +01:00
  • 37c37fd55e fix(mypy): fix custom Path and UUID related types (#2420) Eric Jolibois 2021-03-02 13:07:07 +01:00
  • b2d3f333f0 refactor: set Pattern encoder in ENCODERS_BY_TYPE (#2444) Eric Jolibois 2021-03-02 13:05:57 +01:00
  • 9bd2da7805 fix: docs indentation (#2448) nikhilraojl 2021-03-02 16:03:50 +05:30
  • d619457066 fix: docs indent (#2440) Eric Jolibois 2021-03-01 16:45:06 +01:00
  • 8f5e89543d build(deps): bump mkdocs-material from 6.2.8 to 7.0.3 (#2430) dependabot[bot] 2021-03-01 15:41:46 +00:00
  • 6af7156c3b build(deps): bump coverage from 5.4 to 5.5 (#2432) dependabot[bot] 2021-03-01 15:41:32 +00:00
  • f9fe4aa086 fix: do not overwrite declared hash in subclasses of a model (#2423) Eric Jolibois 2021-02-27 16:42:53 +01:00
  • a8d50aef0c update license for 2021 Samuel Colvin 2021-02-26 16:38:26 +00:00
  • aff4a41f9d preparing for v1.8 (#2414) Samuel Colvin 2021-02-26 16:30:08 +00:00
  • 2ee6811655 remove DeprecationWarnings from v1 release & fix coverage (#2415) Samuel Colvin 2021-02-26 14:43:47 +00:00
  • 8f0980e982 fix: prevent RecursionError while using recursive GenericModels (#2338) xppt 2021-02-26 13:30:12 +03:00
  • 90df33cf1e update benchmarks Samuel Colvin 2021-02-25 20:24:28 +00:00
  • 3ec35590f1 Support Field in dataclass + 'metadata' kwarg of dataclasses.field (#2384) Eric Jolibois 2021-02-25 21:04:16 +01:00
  • f32832ad8e Adds benchmark tests for Schematics tool (#2381) Alvaro Leonel 2021-02-25 16:51:47 -03:00
  • ededd3ebf8 refactor(schema): support properly Literal in generated JSON schema (#2348) Eric Jolibois 2021-02-25 20:42:17 +01:00
  • 2c2e238c19 Update mkdocs extensions to fix local syntax highlighting (#2401) Davis Kirkendall 2021-02-25 20:24:03 +01:00
  • 4ddf4f14cd Properly retain types of Mapping subclasses (#2325) Ofek Lev 2021-02-25 12:27:50 -05:00
  • aa92db5e4f Add test for generic aliases and lenient_issubclass (#2392) Davis Kirkendall 2021-02-25 18:08:21 +01:00
  • eab9d05473 fix #2293: Properly encode Decimals without any decimal places. (#2294) Alexander Hultnér 2021-02-24 12:50:23 +01:00
  • c8883e34db Added support for 13/19 digits VISA credit cards in PaymentCardNumber type (#2286) Alexander 2021-02-23 15:13:25 +03:00
  • 3f849a368f Support Field(default_factory) in validate_arguments (#2176) Tom Cobb 2021-02-23 12:07:11 +00:00
  • 7da04d95fa fix(mypy): remove complaints about most custom _pydantic_ types (#2099) Eric Jolibois 2021-02-23 13:05:42 +01:00
  • d8e8e6a780 Generate a hash function when frozen is True (#1881) Raphael Huille 2021-02-23 12:45:40 +01:00
  • 7cc8d254e9 disable hypothesis health check to avoid false negative (#2389) Eric Jolibois 2021-02-23 00:44:28 +01:00
  • ce67660d2f Allow to configure models through class kwargs (#2356) Arseny Boykov 2021-02-22 20:10:04 +03:00
  • 5b147065a3 build(deps): bump hypothesis from 5.44.0 to 6.3.0 (#2388) Zac Hatfield-Dodds 2021-02-23 02:39:45 +11:00
  • 53cf3cb645 build(deps): bump cython from 0.29.21 to 0.29.22 (#2385) dependabot[bot] 2021-02-22 15:38:29 +00:00
  • 1e98d1671b build(deps): bump mypy from 0.800 to 0.812 (#2386) dependabot[bot] 2021-02-22 15:38:20 +00:00
  • b7a8ef25c6 fix coverage and make typing-extensions a required dependency (#2368) Samuel Colvin 2021-02-17 19:17:30 +00:00
  • c33ced6441 set categories on links in issue chooser Samuel Colvin 2021-02-17 10:38:03 +00:00
  • 88aa92de70 Include new GitHub Discussions in contributing docs (#2371) Huon Wilson 2021-02-17 21:35:24 +11:00
  • fc18f8ef34 make "resolve_annotations" more lenient, allowing for missing modules (#2366) Samuel Colvin 2021-02-15 12:17:34 +00:00
  • cc3010c80d chore(deps-dev): fix typing-extensions version (#2361) Eric Jolibois 2021-02-13 23:54:15 +01:00
  • 13928e5b98 introduce allow_mutation Field constraint (#2196) Scott Black 2021-02-13 10:22:32 -07:00
  • add3a672a6 fix: allow None for type Optional[conset / conlist] (#2321) Eric Jolibois 2021-02-13 18:21:18 +01:00
  • 40a925f30a Fix python_requires metadata to require >=3.6.1 (#2306) Taneli Hukkinen 2021-02-13 19:14:28 +02:00
  • c3870b611e Added schema generation for Generic fields (#2262) maximberg 2021-02-13 20:04:49 +03:00
  • b742c6f527 Support Annotated type hints and extracting Field from Annotated (#2147) Jacob Hayes 2021-02-13 11:13:21 -05:00
  • 33c5a4dc34 Add merged json_encoders inheritance (#2064) Arthur Pastel 2021-02-13 16:56:34 +01:00
  • b87e2492cc ensure cythonized functions are left untouched2 (#2228) Samuel Colvin 2021-02-13 15:48:55 +00:00
  • 78934db631 PropagateClassVars to sub-models (#2179) layday 2021-02-13 16:52:39 +02:00
  • 61bdba37b9 fix ci by ensuring order of created list (#2352) Eric Jolibois 2021-02-13 13:29:00 +01:00
  • 6f0ab55159 fix: update __fields_set__ in BaseModel.copy(update=…) (#2291) Eric Jolibois 2021-02-13 12:57:17 +01:00
  • ad7862f032 fix: keep order of fields with BaseModel.construct() (#2282) Eric Jolibois 2021-02-13 12:26:43 +01:00
  • 9ca8fe85eb fix: support empty tuple type (#2319) Eric Jolibois 2021-02-13 12:10:08 +01:00
  • 12ebf0cfab fix: Change non-existent secrets dir into a warning (#2265) David Jack Wange Olrik 2021-02-13 12:06:39 +01:00
  • b4d1ada004 fix(decorator): detect when a duplicate argument is passed in (#2250) Anthony King 2021-02-13 11:06:12 +00:00
  • cb3c682eb4 Docs for con types (#2243) Eyitayo Ogunbiyi 2021-02-13 11:40:05 +01:00
  • 2a87f7954a fix(decorator): align var args + keywords behaviour with native python (#2252) Anthony King 2021-02-13 10:35:21 +00:00
  • b21da6f381 fix: support custom root type with nested models in parse_obj (#2238) Eric Jolibois 2021-02-13 11:18:54 +01:00
  • b076567591 fix: support properly custom root type with from_orm() (#2237) Eric Jolibois 2021-02-13 11:14:18 +01:00
  • 7bef40bb11 fix: resolve forward refs for inherited dataclasses (#2220) Eric Jolibois 2021-02-13 11:10:14 +01:00
  • c314f5a909 feat: add support for NamedTuple and TypedDict types (#2216) Eric Jolibois 2021-02-13 11:05:57 +01:00
  • 502570706a use github discussions for questions and feature requests Samuel Colvin 2021-02-12 19:13:06 +00:00
  • 20fd949f40 allow test_inherited_model_field_untouched to fail Samuel Colvin 2021-02-12 17:59:39 +00:00
  • dcc00beaf0 Helpful TypeError when user forgets to return values in root valida… (#2209) Michael (Misha) Salim 2021-02-12 07:10:10 -06:00
  • f11b3ae313 feat: avoid reconstructing models used as fields of another model on validation (#2193) Eric Jolibois 2021-02-12 14:04:52 +01:00
  • 61b45340e7 Feature/add anystr lower to config (#2183) Eyitayo Ogunbiyi 2021-02-12 13:28:08 +01:00
  • 1ee9737cf5 make hypothesis optional for testing (#2343) Samuel Colvin 2021-02-12 10:46:34 +00:00
  • a1ac464371 Add a frozenset type annotation to allowed_schemes on stricturl (#2198) Moritz E. Beber 2021-02-11 18:56:36 +01:00
  • 688107ec8e Fixed KeyError when creating schema from models with same names declared within different classes (#2170) Justin Sexton 2021-02-11 11:39:59 -06:00
  • 1155de82b9 feat: Add the ability to add extra settings sources (#2107) Thomas Berdy 2021-02-11 17:55:40 +01:00
  • 771b0d3d92 Add a Hypothesis plugin (#2097) Zac Hatfield-Dodds 2021-02-11 23:33:11 +11:00