Skip to content

Commit 2d4e88e

Browse files
authored
Release v4.7.0
2 parents e57f70c + eb410f3 commit 2d4e88e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1594
-46
lines changed

.github/workflows/license-audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,5 +33,5 @@ jobs:
3333
docker run -v $PWD:/scan licensefinder/license_finder /bin/bash -lc "
3434
cd /scan &&
3535
pip3 install -r requirements.txt --quiet &&
36-
license_finder --decisions-file decisions.yml --python-version 3
36+
license_finder --decisions-file decisions.yml --python-version 3 --enabled-package-managers=pip
3737
"

.github/workflows/maze-runner.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Maze Runner
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
maze-runner:
7+
runs-on: 'ubuntu-latest'
8+
9+
strategy:
10+
fail-fast: false
11+
matrix:
12+
python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Install libcurl4-openssl-dev and net-tools
18+
run: |
19+
sudo apt-get update
20+
sudo apt-get install libcurl4-openssl-dev net-tools
21+
22+
- uses: ruby/setup-ruby@v1
23+
with:
24+
ruby-version: '3.3'
25+
bundler-cache: true
26+
27+
- run: bundle exec maze-runner --no-source
28+
env:
29+
PYTHON_TEST_VERSION: ${{ matrix.python-version }}

.github/workflows/python-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
12+
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
1313
os: ['ubuntu-latest']
1414
include:
1515
- python-version: '3.5'
@@ -27,7 +27,7 @@ jobs:
2727

2828
- name: Install dependencies
2929
run: |
30-
python -m pip install coveralls 'tox<4.0.0' tox-factor
30+
python -m pip install coveralls 'tox<4.0.0' tox-factor setuptools
3131
3232
- name: Run tests
3333
run: |

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
.aws-sam
2+
maze-runner.log
3+
maze_output
4+
15
*.py[co]
26

37
# Packages

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
Changelog
22
=========
33

4+
## v4.7.0 (2024-04-24)
5+
6+
### Enhancements
7+
8+
* Add support for AWS Lambda functions via the new `bugsnag.aws_lambda_handler` decorator. See [the documentation for usage instructions](https://docs.bugsnag.com/platforms/python/aws-lambda/).
9+
410
## v4.6.2 (2024-03-05)
511

612
### Bug fixes

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source "https://rubygems.org"
2+
3+
gem 'bugsnag-maze-runner', '~> 9.6'

Gemfile.lock

Lines changed: 140 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,140 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
appium_lib (12.0.1)
5+
appium_lib_core (~> 5.0)
6+
nokogiri (~> 1.8, >= 1.8.1)
7+
tomlrb (>= 1.1, < 3.0)
8+
appium_lib_core (5.4.0)
9+
faye-websocket (~> 0.11.0)
10+
selenium-webdriver (~> 4.2, < 4.6)
11+
bugsnag (6.26.4)
12+
concurrent-ruby (~> 1.0)
13+
bugsnag-maze-runner (9.6.0)
14+
appium_lib (~> 12.0.0)
15+
appium_lib_core (~> 5.4.0)
16+
bugsnag (~> 6.24)
17+
cucumber (~> 7.1)
18+
cucumber-expressions (~> 6.0.0)
19+
curb (~> 0.9.6)
20+
dogstatsd-ruby (~> 5.5.0)
21+
json_schemer (~> 0.2.24)
22+
optimist (~> 3.0.1)
23+
os (~> 1.0.0)
24+
rack (~> 2.2)
25+
rake (~> 12.3.3)
26+
rubyzip (~> 2.3.2)
27+
selenium-webdriver (~> 4.0)
28+
test-unit (~> 3.5.2)
29+
webrick (~> 1.7.0)
30+
builder (3.2.4)
31+
childprocess (4.1.0)
32+
concurrent-ruby (1.2.3)
33+
cucumber (7.1.0)
34+
builder (~> 3.2, >= 3.2.4)
35+
cucumber-core (~> 10.1, >= 10.1.0)
36+
cucumber-create-meta (~> 6.0, >= 6.0.1)
37+
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
38+
cucumber-gherkin (~> 22.0, >= 22.0.0)
39+
cucumber-html-formatter (~> 17.0, >= 17.0.0)
40+
cucumber-messages (~> 17.1, >= 17.1.1)
41+
cucumber-wire (~> 6.2, >= 6.2.0)
42+
diff-lcs (~> 1.4, >= 1.4.4)
43+
mime-types (~> 3.3, >= 3.3.1)
44+
multi_test (~> 0.1, >= 0.1.2)
45+
sys-uname (~> 1.2, >= 1.2.2)
46+
cucumber-core (10.1.1)
47+
cucumber-gherkin (~> 22.0, >= 22.0.0)
48+
cucumber-messages (~> 17.1, >= 17.1.1)
49+
cucumber-tag-expressions (~> 4.1, >= 4.1.0)
50+
cucumber-create-meta (6.0.4)
51+
cucumber-messages (~> 17.1, >= 17.1.1)
52+
sys-uname (~> 1.2, >= 1.2.2)
53+
cucumber-cucumber-expressions (14.0.0)
54+
cucumber-expressions (6.0.1)
55+
cucumber-gherkin (22.0.0)
56+
cucumber-messages (~> 17.1, >= 17.1.1)
57+
cucumber-html-formatter (17.0.0)
58+
cucumber-messages (~> 17.1, >= 17.1.0)
59+
cucumber-messages (17.1.1)
60+
cucumber-tag-expressions (4.1.0)
61+
cucumber-wire (6.2.1)
62+
cucumber-core (~> 10.1, >= 10.1.0)
63+
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
64+
curb (0.9.11)
65+
diff-lcs (1.5.1)
66+
dogstatsd-ruby (5.5.0)
67+
ecma-re-validator (0.4.0)
68+
regexp_parser (~> 2.2)
69+
eventmachine (1.2.7)
70+
faye-websocket (0.11.3)
71+
eventmachine (>= 0.12.0)
72+
websocket-driver (>= 0.5.1)
73+
ffi (1.16.3)
74+
hana (1.3.7)
75+
json_schemer (0.2.25)
76+
ecma-re-validator (~> 0.3)
77+
hana (~> 1.3)
78+
regexp_parser (~> 2.0)
79+
simpleidn (~> 0.2)
80+
uri_template (~> 0.7)
81+
mime-types (3.5.2)
82+
mime-types-data (~> 3.2015)
83+
mime-types-data (3.2024.0305)
84+
multi_test (0.1.2)
85+
nokogiri (1.16.3-aarch64-linux)
86+
racc (~> 1.4)
87+
nokogiri (1.16.3-arm-linux)
88+
racc (~> 1.4)
89+
nokogiri (1.16.3-arm64-darwin)
90+
racc (~> 1.4)
91+
nokogiri (1.16.3-x86-linux)
92+
racc (~> 1.4)
93+
nokogiri (1.16.3-x86_64-darwin)
94+
racc (~> 1.4)
95+
nokogiri (1.16.3-x86_64-linux)
96+
racc (~> 1.4)
97+
optimist (3.0.1)
98+
os (1.0.1)
99+
power_assert (2.0.3)
100+
racc (1.7.3)
101+
rack (2.2.9)
102+
rake (12.3.3)
103+
regexp_parser (2.9.0)
104+
rexml (3.2.6)
105+
rubyzip (2.3.2)
106+
selenium-webdriver (4.5.0)
107+
childprocess (>= 0.5, < 5.0)
108+
rexml (~> 3.2, >= 3.2.5)
109+
rubyzip (>= 1.2.2, < 3.0)
110+
websocket (~> 1.0)
111+
simpleidn (0.2.1)
112+
unf (~> 0.1.4)
113+
sys-uname (1.2.3)
114+
ffi (~> 1.1)
115+
test-unit (3.5.9)
116+
power_assert
117+
tomlrb (2.0.3)
118+
unf (0.1.4)
119+
unf_ext
120+
unf_ext (0.0.9.1)
121+
uri_template (0.7.0)
122+
webrick (1.7.0)
123+
websocket (1.2.10)
124+
websocket-driver (0.7.6)
125+
websocket-extensions (>= 0.1.0)
126+
websocket-extensions (0.1.5)
127+
128+
PLATFORMS
129+
aarch64-linux
130+
arm-linux
131+
arm64-darwin
132+
x86-linux
133+
x86_64-darwin
134+
x86_64-linux
135+
136+
DEPENDENCIES
137+
bugsnag-maze-runner (~> 9.6)
138+
139+
BUNDLED WITH
140+
2.5.1

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
[![Build status](https://img.shields.io/travis/bugsnag/bugsnag-python/master.svg?style=flat-square)](https://travis-ci.com/bugsnag/bugsnag-python)
33
[![Documentation](https://img.shields.io/badge/documentation-latest-blue.svg)](https://docs.bugsnag.com/platforms/python/)
44

5-
The Bugsnag exception reporter for Python automatically detects and reports
6-
exceptions thrown your **Django**, **WSGI**, **Tornado**, **Flask** or
7-
**plain Python** app. Any uncaught exceptions will trigger a notification to be
8-
sent to your Bugsnag project. Learn more about [monitoring and reporting Python errors](https://www.bugsnag.com/platforms/python-error-reporting/) with Bugsnag.
5+
The Bugsnag exception reporter for Python automatically detects and reports exceptions thrown your **ASGI**, **AWS Lambda**, **Bottle**, **Celery**, **Django**, **Flask**, **Tornado**, **WSGI** or **plain Python** app. Any uncaught exceptions will trigger a notification to be sent to your Bugsnag project. Learn more about [monitoring and reporting Python errors](https://www.bugsnag.com/platforms/python-error-reporting/) with Bugsnag.
96

107

118
## Features

bugsnag/__init__.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
auto_notify_exc_info, logger, leave_breadcrumb,
1616
add_on_breadcrumb, remove_on_breadcrumb,
1717
add_feature_flag, add_feature_flags,
18-
clear_feature_flag, clear_feature_flags)
18+
clear_feature_flag, clear_feature_flags,
19+
aws_lambda_handler)
1920

2021
__all__ = ('Client', 'Event', 'Configuration', 'RequestConfiguration',
2122
'configuration', 'configure', 'configure_request',
@@ -25,4 +26,5 @@
2526
'BreadcrumbType', 'Breadcrumb', 'Breadcrumbs',
2627
'OnBreadcrumbCallback', 'leave_breadcrumb', 'add_on_breadcrumb',
2728
'remove_on_breadcrumb', 'FeatureFlag', 'add_feature_flag',
28-
'add_feature_flags', 'clear_feature_flag', 'clear_feature_flags')
29+
'add_feature_flags', 'clear_feature_flag', 'clear_feature_flags',
30+
'aws_lambda_handler')

0 commit comments

Comments
 (0)