-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add integration for FastAPI, Starlette and ASGI & enhance async support #373
Commits on Apr 12, 2021
-
Configuration menu - View commit details
-
Copy full SHA for c14e719 - Browse repository at this point
Copy the full SHA c14e719View commit details -
Configuration menu - View commit details
-
Copy full SHA for f340e3b - Browse repository at this point
Copy the full SHA f340e3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f55302 - Browse repository at this point
Copy the full SHA 5f55302View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7331393 - Browse repository at this point
Copy the full SHA 7331393View commit details -
Add support for type hints if Starlette package installed
This feature adds support for type hints in popular IDEs such as PyCharm or Visual Studio Code. The Python IDEs cannot infer type hinting for arbitrary dynamic code. So, annotations must be explicitly declared in the class body. To make Starlette installation optional, the class definition must be duplicated.
Configuration menu - View commit details
-
Copy full SHA for 3d5a700 - Browse repository at this point
Copy the full SHA 3d5a700View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50b1702 - Browse repository at this point
Copy the full SHA 50b1702View commit details -
Configuration menu - View commit details
-
Copy full SHA for 63f7539 - Browse repository at this point
Copy the full SHA 63f7539View commit details -
Configuration menu - View commit details
-
Copy full SHA for 083a094 - Browse repository at this point
Copy the full SHA 083a094View commit details -
Make sure the
type hints
support is working for FastAPIOnly tests as functionality is already coverd by ASGIMiddleware.
Configuration menu - View commit details
-
Copy full SHA for 1dc1bb9 - Browse repository at this point
Copy the full SHA 1dc1bb9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6877682 - Browse repository at this point
Copy the full SHA 6877682View commit details -
Check if ASGI app is HTTP type
Support http type for now due to Starlette limitation, see: https://github.com/encode/starlette/blob/master/starlette/applications.py#L192-L195
Configuration menu - View commit details
-
Copy full SHA for 7d58223 - Browse repository at this point
Copy the full SHA 7d58223View commit details -
Configuration menu - View commit details
-
Copy full SHA for 770bbf8 - Browse repository at this point
Copy the full SHA 770bbf8View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc2cdc9 - Browse repository at this point
Copy the full SHA dc2cdc9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8a68f8b - Browse repository at this point
Copy the full SHA 8a68f8bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d7cf2fd - Browse repository at this point
Copy the full SHA d7cf2fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9aece56 - Browse repository at this point
Copy the full SHA 9aece56View commit details -
Refactor tests. Make sure each test reloads hooks.
Without reloading tests are not independent because rollbar.BASE_DATA_HOOK remains from previously loaded framework.
Configuration menu - View commit details
-
Copy full SHA for 4bd51c6 - Browse repository at this point
Copy the full SHA 4bd51c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7562df9 - Browse repository at this point
Copy the full SHA 7562df9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34c7caa - Browse repository at this point
Copy the full SHA 34c7caaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f8bb5d - Browse repository at this point
Copy the full SHA 7f8bb5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e77aba - Browse repository at this point
Copy the full SHA 2e77abaView commit details -
Configuration menu - View commit details
-
Copy full SHA for db0dec8 - Browse repository at this point
Copy the full SHA db0dec8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9354d46 - Browse repository at this point
Copy the full SHA 9354d46View commit details -
Configuration menu - View commit details
-
Copy full SHA for f548a26 - Browse repository at this point
Copy the full SHA f548a26View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac75dee - Browse repository at this point
Copy the full SHA ac75deeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e492f9 - Browse repository at this point
Copy the full SHA 0e492f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 161a573 - Browse repository at this point
Copy the full SHA 161a573View commit details -
Configuration menu - View commit details
-
Copy full SHA for d163644 - Browse repository at this point
Copy the full SHA d163644View commit details -
Configuration menu - View commit details
-
Copy full SHA for bd13b26 - Browse repository at this point
Copy the full SHA bd13b26View commit details -
Use unique identifier name for ASGIApp type
Due to collision with ASGIApp class decorator
Configuration menu - View commit details
-
Copy full SHA for ef0d597 - Browse repository at this point
Copy the full SHA ef0d597View commit details
Commits on Apr 19, 2021
-
Add async handler based on HTTPX library
Add to globals: httpx, AsyncHTTPClient (default async client) As for now AsyncClient -> httpx Supported connection options: - Proxy settings - Timeout - SSL
Configuration menu - View commit details
-
Copy full SHA for 7a6040b - Browse repository at this point
Copy the full SHA 7a6040bView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc307f4 - Browse repository at this point
Copy the full SHA bc307f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7abec78 - Browse repository at this point
Copy the full SHA 7abec78View commit details
Commits on Apr 20, 2021
-
Add consuming request body in Starlette middleware
Due to bug in Starlette, consuming request body in middlewares can freeze application. This usually happen for FastAPI apps as the framework tries to consume the data itself. This commit adds consuming request body in Starlette middleware, however it's disabled by default (added as a comment). In case of uncommenting the body consumption, the payload builder verifies if body is available and append it to the payload. See: encode/starlette#495 (comment)
Configuration menu - View commit details
-
Copy full SHA for 04566bc - Browse repository at this point
Copy the full SHA 04566bcView commit details
Commits on Apr 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ca1e42a - Browse repository at this point
Copy the full SHA ca1e42aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3be7bdc - Browse repository at this point
Copy the full SHA 3be7bdcView commit details
Commits on Apr 23, 2021
-
Add support for type hints for all ASGI apps
Add Starlette types to the codebase to get support whatever Starlette is installed or not.
Configuration menu - View commit details
-
Copy full SHA for 745359c - Browse repository at this point
Copy the full SHA 745359cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb6591f - Browse repository at this point
Copy the full SHA fb6591fView commit details -
Add FastAPIVersionError exception
This exception shall be raised when installed FastAPI version is not suffiecient.
Configuration menu - View commit details
-
Copy full SHA for e82da48 - Browse repository at this point
Copy the full SHA e82da48View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecc3a9c - Browse repository at this point
Copy the full SHA ecc3a9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb0e3c8 - Browse repository at this point
Copy the full SHA fb0e3c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ebbab2 - Browse repository at this point
Copy the full SHA 9ebbab2View commit details -
Add add_to() that inject RollbarLoggingRoute as FastAPI route class
RollbarLoggingRoute is an alternative to FastAPIMiddleware that provides more functionality (e.g. it can consume request body).
Configuration menu - View commit details
-
Copy full SHA for bfe3a5a - Browse repository at this point
Copy the full SHA bfe3a5aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 803a237 - Browse repository at this point
Copy the full SHA 803a237View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43a83de - Browse repository at this point
Copy the full SHA 43a83deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 014b54f - Browse repository at this point
Copy the full SHA 014b54fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 788a52e - Browse repository at this point
Copy the full SHA 788a52eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 995d64c - Browse repository at this point
Copy the full SHA 995d64cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52637ff - Browse repository at this point
Copy the full SHA 52637ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b9047d - Browse repository at this point
Copy the full SHA 2b9047dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a491dd0 - Browse repository at this point
Copy the full SHA a491dd0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0be8c86 - Browse repository at this point
Copy the full SHA 0be8c86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1eb411a - Browse repository at this point
Copy the full SHA 1eb411aView commit details -
Add get_installed_middlewares(app) to FastAPI utils
This functions help to receive Rollbar middlewares that have been added to the app.
Configuration menu - View commit details
-
Copy full SHA for 31cc750 - Browse repository at this point
Copy the full SHA 31cc750View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f8db54 - Browse repository at this point
Copy the full SHA 6f8db54View commit details -
Refactor FastAPI route handler
- Make it strict to support FastAPI and APIRouter only - Use correct typing - Update error msgs - General clean up
Configuration menu - View commit details
-
Copy full SHA for d2e9747 - Browse repository at this point
Copy the full SHA d2e9747View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9dfa7e8 - Browse repository at this point
Copy the full SHA 9dfa7e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fba2cd - Browse repository at this point
Copy the full SHA 4fba2cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for f1bf6bc - Browse repository at this point
Copy the full SHA f1bf6bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4965ebd - Browse repository at this point
Copy the full SHA 4965ebdView commit details -
Add Starlette requests storage handler
This module provides a global access to the request object available in the current context. It won't happen automatically. You need to call store_current_request() first for each connection.
Configuration menu - View commit details
-
Copy full SHA for 4ffc1f5 - Browse repository at this point
Copy the full SHA 4ffc1f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for c544f0d - Browse repository at this point
Copy the full SHA c544f0dView commit details -
Note: ASGI spec forbidden to edit the returned object. It's strictly read-only.
Configuration menu - View commit details
-
Copy full SHA for d578579 - Browse repository at this point
Copy the full SHA d578579View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6155d86 - Browse repository at this point
Copy the full SHA 6155d86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a46194 - Browse repository at this point
Copy the full SHA 5a46194View commit details -
Include Starlette request object in get_return()
Note1: The returned object cannot be modified due to ASGI spec Note2: _get_starlette_request must be run before _get_flask_request
Configuration menu - View commit details
-
Copy full SHA for ab1012a - Browse repository at this point
Copy the full SHA ab1012aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e6f855 - Browse repository at this point
Copy the full SHA 4e6f855View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf6fe88 - Browse repository at this point
Copy the full SHA bf6fe88View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6668ae - Browse repository at this point
Copy the full SHA e6668aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f5aefc - Browse repository at this point
Copy the full SHA 2f5aefcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 675c3f8 - Browse repository at this point
Copy the full SHA 675c3f8View commit details -
Add Starlette LoggerMiddleware to store current request only
This middleware is required to support `rollbar.logger`. It should be attached as the last middleware in the stack.
Configuration menu - View commit details
-
Copy full SHA for fa44af7 - Browse repository at this point
Copy the full SHA fa44af7View commit details -
Configuration menu - View commit details
-
Copy full SHA for e02bd23 - Browse repository at this point
Copy the full SHA e02bd23View commit details
Commits on Apr 24, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 474237c - Browse repository at this point
Copy the full SHA 474237cView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6276bc - Browse repository at this point
Copy the full SHA f6276bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c59ade - Browse repository at this point
Copy the full SHA 0c59adeView commit details
Commits on Apr 26, 2021
-
Change default handler to
default
.Fall back to 'thread' to keep backward compatibility. This change is required to introduce `async` handler with auto-switching.
Configuration menu - View commit details
-
Copy full SHA for a4e392a - Browse repository at this point
Copy the full SHA a4e392aView commit details -
Configuration menu - View commit details
-
Copy full SHA for c20c603 - Browse repository at this point
Copy the full SHA c20c603View commit details -
Configuration menu - View commit details
-
Copy full SHA for d24f364 - Browse repository at this point
Copy the full SHA d24f364View commit details -
Configuration menu - View commit details
-
Copy full SHA for bdd914b - Browse repository at this point
Copy the full SHA bdd914bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b299cb - Browse repository at this point
Copy the full SHA 8b299cbView commit details
Commits on Apr 27, 2021
-
Add FastAPI util func
has_bare_routing()
This is a boolean function to verify if the app has not added any routing yet.
Configuration menu - View commit details
-
Copy full SHA for 831995d - Browse repository at this point
Copy the full SHA 831995dView commit details -
Use has_bare_routing() and private _add_to_app() and _add_to_router() funcs.
Configuration menu - View commit details
-
Copy full SHA for aa562f0 - Browse repository at this point
Copy the full SHA aa562f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 396c28c - Browse repository at this point
Copy the full SHA 396c28cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78c821e - Browse repository at this point
Copy the full SHA 78c821eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe3d164 - Browse repository at this point
Copy the full SHA fe3d164View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa576fe - Browse repository at this point
Copy the full SHA fa576feView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b519fe - Browse repository at this point
Copy the full SHA 7b519feView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc3488f - Browse repository at this point
Copy the full SHA dc3488fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fb56d1b - Browse repository at this point
Copy the full SHA fb56d1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b28d58 - Browse repository at this point
Copy the full SHA 3b28d58View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3559dde - Browse repository at this point
Copy the full SHA 3559ddeView commit details -
Add _async.call_later() to schedule coroutines
Also make sure it's compatible across Python versions
Configuration menu - View commit details
-
Copy full SHA for 2f819ed - Browse repository at this point
Copy the full SHA 2f819edView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4af967f - Browse repository at this point
Copy the full SHA 4af967fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cd78fb - Browse repository at this point
Copy the full SHA 9cd78fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4b84489 - Browse repository at this point
Copy the full SHA 4b84489View commit details -
Configuration menu - View commit details
-
Copy full SHA for 85b56bc - Browse repository at this point
Copy the full SHA 85b56bcView commit details
Commits on Apr 28, 2021
-
Configuration menu - View commit details
-
Copy full SHA for d73b3bf - Browse repository at this point
Copy the full SHA d73b3bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e40aa26 - Browse repository at this point
Copy the full SHA e40aa26View commit details -
Configuration menu - View commit details
-
Copy full SHA for e2b9470 - Browse repository at this point
Copy the full SHA e2b9470View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7247979 - Browse repository at this point
Copy the full SHA 7247979View commit details -
Configuration menu - View commit details
-
Copy full SHA for f55a7bf - Browse repository at this point
Copy the full SHA f55a7bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for b4ead20 - Browse repository at this point
Copy the full SHA b4ead20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 868f806 - Browse repository at this point
Copy the full SHA 868f806View commit details -
Configuration menu - View commit details
-
Copy full SHA for db386e3 - Browse repository at this point
Copy the full SHA db386e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a11c3f - Browse repository at this point
Copy the full SHA 1a11c3fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19906f8 - Browse repository at this point
Copy the full SHA 19906f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e561e22 - Browse repository at this point
Copy the full SHA e561e22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 274976b - Browse repository at this point
Copy the full SHA 274976bView commit details
Commits on Apr 29, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a2170cf - Browse repository at this point
Copy the full SHA a2170cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 19195b3 - Browse repository at this point
Copy the full SHA 19195b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70031b8 - Browse repository at this point
Copy the full SHA 70031b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfdae6d - Browse repository at this point
Copy the full SHA cfdae6dView commit details -
- Add async reporter to the middleware - Add more tests - Fix FailingTestASGIApp helper - Update Starlette/FastAPI tests that depend on the helper
Configuration menu - View commit details
-
Copy full SHA for ceed956 - Browse repository at this point
Copy the full SHA ceed956View commit details -
Configuration menu - View commit details
-
Copy full SHA for 569f450 - Browse repository at this point
Copy the full SHA 569f450View commit details
Commits on Apr 30, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 25b9460 - Browse repository at this point
Copy the full SHA 25b9460View commit details -
Configuration menu - View commit details
-
Copy full SHA for e3325a6 - Browse repository at this point
Copy the full SHA e3325a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for c2edf70 - Browse repository at this point
Copy the full SHA c2edf70View commit details -
Configuration menu - View commit details
-
Copy full SHA for deafd8c - Browse repository at this point
Copy the full SHA deafd8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for b5ae265 - Browse repository at this point
Copy the full SHA b5ae265View commit details
Commits on May 4, 2021
-
Exclude non-compatible tests from test loader
Setuptools default test loader recursively loads all Python files before running tests. This results in SyntaxError due to incompatible keywords (e.g. async and await) under older Python versions. Skipping tests is not sufficient as Python2 and Python3.4- cannot compile the file with those keywords.
Configuration menu - View commit details
-
Copy full SHA for 3801abb - Browse repository at this point
Copy the full SHA 3801abbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d1e3d5 - Browse repository at this point
Copy the full SHA 0d1e3d5View commit details -
Move bare coroutine to rollbar.lib._async
This helps to not break tests under incompatibile Python versions.
Configuration menu - View commit details
-
Copy full SHA for 1507489 - Browse repository at this point
Copy the full SHA 1507489View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa2cd51 - Browse repository at this point
Copy the full SHA fa2cd51View commit details -
Dynamically inject required annotations
FastAPI relies on annotations that are not supported in Python older than 3.5+
Configuration menu - View commit details
-
Copy full SHA for b4c6edb - Browse repository at this point
Copy the full SHA b4c6edbView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1725ac - Browse repository at this point
Copy the full SHA e1725acView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe9ffbd - Browse repository at this point
Copy the full SHA fe9ffbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 07c7822 - Browse repository at this point
Copy the full SHA 07c7822View commit details -
Configuration menu - View commit details
-
Copy full SHA for b175005 - Browse repository at this point
Copy the full SHA b175005View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1098b3c - Browse repository at this point
Copy the full SHA 1098b3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 425798d - Browse repository at this point
Copy the full SHA 425798dView commit details -
Configuration menu - View commit details
-
Copy full SHA for c2310a2 - Browse repository at this point
Copy the full SHA c2310a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7fb60fd - Browse repository at this point
Copy the full SHA 7fb60fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for e97acac - Browse repository at this point
Copy the full SHA e97acacView commit details -
Configuration menu - View commit details
-
Copy full SHA for a103d91 - Browse repository at this point
Copy the full SHA a103d91View commit details -
Configuration menu - View commit details
-
Copy full SHA for b8b7580 - Browse repository at this point
Copy the full SHA b8b7580View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95c50f1 - Browse repository at this point
Copy the full SHA 95c50f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5406a8 - Browse repository at this point
Copy the full SHA f5406a8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c06ea3 - Browse repository at this point
Copy the full SHA 4c06ea3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29e0a36 - Browse repository at this point
Copy the full SHA 29e0a36View commit details -
Configuration menu - View commit details
-
Copy full SHA for 04efa7d - Browse repository at this point
Copy the full SHA 04efa7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6a204e - Browse repository at this point
Copy the full SHA f6a204eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 800ebaa - Browse repository at this point
Copy the full SHA 800ebaaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4de7f00 - Browse repository at this point
Copy the full SHA 4de7f00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71f3977 - Browse repository at this point
Copy the full SHA 71f3977View commit details -
Do not pass Send message to Request
For backward compatibility (send is not used anyway)
Configuration menu - View commit details
-
Copy full SHA for a8e3757 - Browse repository at this point
Copy the full SHA a8e3757View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae0e46d - Browse repository at this point
Copy the full SHA ae0e46dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93a40e9 - Browse repository at this point
Copy the full SHA 93a40e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fbad99 - Browse repository at this point
Copy the full SHA 9fbad99View commit details -
Configuration menu - View commit details
-
Copy full SHA for f194a88 - Browse repository at this point
Copy the full SHA f194a88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4a00662 - Browse repository at this point
Copy the full SHA 4a00662View commit details
Commits on May 5, 2021
-
Configuration menu - View commit details
-
Copy full SHA for ecd3098 - Browse repository at this point
Copy the full SHA ecd3098View commit details -
Configuration menu - View commit details
-
Copy full SHA for e7edee0 - Browse repository at this point
Copy the full SHA e7edee0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a18d20 - Browse repository at this point
Copy the full SHA 7a18d20View commit details
Commits on May 6, 2021
-
Configuration menu - View commit details
-
Copy full SHA for a1bdcd6 - Browse repository at this point
Copy the full SHA a1bdcd6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a14a74c - Browse repository at this point
Copy the full SHA a14a74cView commit details -
Export the full API of Starlette and FastAPI regardless of current sy…
…stem environment If some requirements are missing, we still notice via `log.error`.
Configuration menu - View commit details
-
Copy full SHA for fe2bde8 - Browse repository at this point
Copy the full SHA fe2bde8View commit details -
Raise the exception when incompatible middleware is trying to be used
No need to raise exception while loading module
Configuration menu - View commit details
-
Copy full SHA for 0cc3326 - Browse repository at this point
Copy the full SHA 0cc3326View commit details
Commits on May 17, 2021
-
Integrate only when the object has been initialized
Previous integrations in the SDK were done by importing rollbar.contrib.'framework'. Since `rollbar._build_person_data()` needs to import Starlette integration, this sets the Starlette hook for the SDK even if not explicility integrated. Under certain cicrumstances, this can result in erroneously add Starlette framework information to the payload and associate occurence with Starlette integration. For now, integration with SDK is make only if integration function/class is called. Fix [ch85137]
Configuration menu - View commit details
-
Copy full SHA for f47ec5d - Browse repository at this point
Copy the full SHA f47ec5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae2daea - Browse repository at this point
Copy the full SHA ae2daeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d87324 - Browse repository at this point
Copy the full SHA 6d87324View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1bb16a - Browse repository at this point
Copy the full SHA c1bb16aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 535d6f5 - Browse repository at this point
Copy the full SHA 535d6f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4cd225e - Browse repository at this point
Copy the full SHA 4cd225eView commit details
Commits on May 18, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 9901ca0 - Browse repository at this point
Copy the full SHA 9901ca0View commit details
Commits on May 20, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 93d84eb - Browse repository at this point
Copy the full SHA 93d84ebView commit details
Commits on May 21, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 86ebeb4 - Browse repository at this point
Copy the full SHA 86ebeb4View commit details -
Use 'thread' instead of 'default' handler
When providing non-async handler in tests. Default can be async sometimes, so better to test with thread.
Configuration menu - View commit details
-
Copy full SHA for bc85fec - Browse repository at this point
Copy the full SHA bc85fecView commit details -
Add comment to workaround Python2 SyntaxError
Commented out code is the proper scenario but cannot be used as the test file is run under Python2
Configuration menu - View commit details
-
Copy full SHA for 1f66fd9 - Browse repository at this point
Copy the full SHA 1f66fd9View commit details -
Use local context when using async_handler ctx manager
When reporting via concurrent coroutines, the async_handler ctx manager stores a locally substituted async handler. This allows each coroutine to use different handler. This solution is based on `contextvars` module that was added in Python 3.7+. In case of Python 3.6, it tries to backport the module using `aiocontextvars` 3rd party package.
Configuration menu - View commit details
-
Copy full SHA for 35da296 - Browse repository at this point
Copy the full SHA 35da296View commit details
Commits on May 22, 2021
-
Configuration menu - View commit details
-
Copy full SHA for 140e3ee - Browse repository at this point
Copy the full SHA 140e3eeView commit details -
Unlock LoggerMiddleware for Python 3.6
This feature requires `aiocontextvars` package to be installed when running on Python 3.6. Newer Python versions don't require the package.
Configuration menu - View commit details
-
Copy full SHA for d6eb992 - Browse repository at this point
Copy the full SHA d6eb992View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9955666 - Browse repository at this point
Copy the full SHA 9955666View commit details
Commits on May 25, 2021
-
Rename async_handler ctx manager to AsyncHandler
Since it actually produce resources it's better to keep class naming convention here
Configuration menu - View commit details
-
Copy full SHA for 72f306b - Browse repository at this point
Copy the full SHA 72f306bView commit details