Commit Graph

4616 Commits

Author SHA1 Message Date
David Lord ef7d01f0a0
update requirements 2022-04-28 08:59:40 -07:00
David Lord ff6290d4c7
Merge pull request #4551 from bbayles/patch-1 2022-04-25 09:03:29 -07:00
Bo Bayles 3fd24c1f6f Fix copy/paste error in wsgi-standalone.rst 2022-04-25 10:55:30 -05:00
David Lord c395b13f9e
update requirements 2022-04-24 10:19:58 -07:00
David Lord 2ec1193095
Merge pull request #4544 from bebleo/mark_run_cert_option_eager 2022-04-24 10:07:31 -07:00
James Warne 5050a18a00
evaluate --cert before --key 2022-04-24 10:01:40 -07:00
David Lord dba2be9311
Merge pull request #4534 from rzimmerdev/main
Adapted input parameters type restriction for json.loads function - fixes #4519
2022-04-24 09:58:01 -07:00
Rafael Zimmer eede1a3685
fix annotation for json.loads 2022-04-24 09:53:10 -07:00
David Lord 69f71b4d94
start version 2.1.2 2022-04-24 09:50:55 -07:00
David Lord 2b8b47817a
Merge pull request #4537 from MeViMo/2.1.x
Syntax error in testing.rst
2022-04-13 10:03:22 -07:00
MeViMo 4dd14ed039 Syntax error in testing.rst 2022-04-13 18:49:51 +02:00
David Lord 411dbb37e2
remove old test 2022-04-11 06:11:37 -07:00
David Lord 5334e28f6e
Merge pull request #4527 from MeViMo/main 2022-04-08 11:05:19 -07:00
MeViMo 19d7a0ef78
docs pass cli args as kwarg to test runner 2022-04-08 11:03:06 -07:00
David Lord 5c0b9a6af3
Merge pull request #4526 from lbm98/docfix 2022-04-08 11:02:45 -07:00
LarsMoons e3c014f9aa
docs "Returning API Errors as JSON" return correct status code 2022-04-08 10:57:02 -07:00
David Lord b9729a0879
Merge pull request #4518 from pallets/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2022-04-08 10:56:25 -07:00
David Lord 56414782ca
pre-commit update branch 2022-04-08 10:53:28 -07:00
pre-commit-ci[bot] 50bf3bba73
[pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.31.0 → v2.31.1](https://github.com/asottile/pyupgrade/compare/v2.31.0...v2.31.1)
- [github.com/asottile/reorder_python_imports: v2.7.1 → v3.0.1](https://github.com/asottile/reorder_python_imports/compare/v2.7.1...v3.0.1)
- [github.com/psf/black: 22.1.0 → 22.3.0](https://github.com/psf/black/compare/22.1.0...22.3.0)
- [github.com/peterdemin/pip-compile-multi: v2.4.3 → v2.4.5](https://github.com/peterdemin/pip-compile-multi/compare/v2.4.3...v2.4.5)
2022-04-08 10:53:20 -07:00
David Lord 0d4e71bfe1
Merge pull request #4517 from pallets/update-requirements
update requirements
2022-04-01 13:54:39 -07:00
David Lord 26555a85f1
update requirements 2022-04-01 13:44:13 -07:00
David Lord 188bd17ff1
Merge pull request #4511 from pallets/release-2.1.1
release version 2.1.1
2022-03-30 14:37:30 -07:00
David Lord c6f297719e
release version 2.1.1 2022-03-30 14:35:07 -07:00
David Lord a8f4ee1b66
Merge pull request #4510 from pallets/release-2.1.1
release version 2.1.1
2022-03-30 14:33:50 -07:00
David Lord c419931f55
release version 2.1.1 2022-03-30 14:28:18 -07:00
David Lord c3d0880e72
Merge pull request #4509 from pallets/importlib_metadata-min-version
set importlib_metadata minimum version
2022-03-30 14:23:02 -07:00
David Lord d023d94371
set importlib_metadata minimum version 2022-03-30 14:10:12 -07:00
David Lord 5589915b38
start version 2.1.1 2022-03-30 14:01:10 -07:00
David Lord 65b0eef303
Merge pull request #4500 from pallets/release-2.1.0
release version 2.1.0
2022-03-28 12:12:02 -07:00
David Lord 7d264d7dc5
release version 2.1.0 2022-03-28 12:09:35 -07:00
David Lord f5ed54b031
ignore examples tests
causing an unexpected failure in CI
2022-03-28 12:09:35 -07:00
David Lord cd4ab005a9
fix typing 2022-03-28 12:09:35 -07:00
David Lord 41aaaf7fa0
clean up unused function from prefixed_env pr 2022-03-25 12:24:31 -07:00
David Lord 2f5a2ab82e
Merge pull request #4479 from pgjones/env_config
Allow loading of environment variables into the config
2022-03-25 12:14:29 -07:00
David Lord e75d575361
windows env vars are uppercase 2022-03-25 12:07:45 -07:00
David Lord 4eb5e9455b
more from_prefixed_env features
* support nested dict access with "__" separator
* don't specify separator in prefix
* catch exceptions for any loads function
2022-03-25 11:54:45 -07:00
pgjones 08a283af5e
Allow loading of environment variables into the config
This new method will pick out any environment variables with a certain
prefix and place them into the config named without the prefix. This
makes it easy to use environment variables to configure the app as is
now more popular than when Flask started.

The prefix should ensure that the environment isn't polluted and the
config isn't polluted by environment variables.

I've followed the dynaconf convention of trying to parse the
environment variable and then falling back to the raw value if parsing
fails.
2022-03-25 11:54:03 -07:00
David Lord 425a62686f
Merge pull request #4496 from pallets/werkzeug-relative-redirect
update tests to use relative redirects
2022-03-25 11:53:03 -07:00
David Lord 81c7ff7f8d
update tests for relative redirects 2022-03-25 11:48:26 -07:00
David Lord ce7b884b73
Merge pull request #4492 from pallets/debug-messages
update some debug message behavior
2022-03-23 09:18:20 -07:00
David Lord 6578b493c8
better override for json BadRequest error 2022-03-23 09:13:45 -07:00
David Lord 0a300d007d
better replacement of original form KeyError 2022-03-23 08:26:22 -07:00
David Lord c9a1f7ad65
don't intercept 307/308 routing redirects
These don't change the request body, so the debug error is no longer relevant.
2022-03-23 08:25:22 -07:00
David Lord 598afa0083
Merge pull request #4491 from octopoulpe/patch-1 2022-03-22 06:46:52 -07:00
octopoulpe d80f41f57d
Update errorhandling.rst 2022-03-22 10:29:00 +01:00
David Lord 7abcf57f54
Merge pull request #4488 from pallets/typing-context-exit
accurate type for `__exit__`
2022-03-15 08:48:47 -07:00
David Lord faaa5594b2
accurate type for __exit__ 2022-03-15 08:44:09 -07:00
David Lord cb7cd1e79b
Merge pull request #4487 from pallets/typing-errorhandler
relax `errorhandler` function arg type
2022-03-15 08:36:16 -07:00
David Lord 190dd4df86
don't use AnyStr for ResponseValue type 2022-03-15 08:32:15 -07:00
David Lord 8886328822
relax errorhandler function arg type 2022-03-15 08:32:15 -07:00