Skip to content

Commit ac5888a

Browse files
Release v3.20.0 (#573)
1 parent e0f08ed commit ac5888a

8 files changed

+57
-9
lines changed

.gitattributes

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@
44
/tests export-ignore
55
/.editorconfig export-ignore
66
/.gitattributes export-ignore
7+
/.github export-ignore
78
/.gitignore export-ignore
89
/.styleci.yml export-ignore
910
/.travis.yml export-ignore
1011
/phpunit.xml.dist export-ignore
1112
/CONTRIBUTING.md export-ignore
1213
/CHANGELOG.md export-ignore
14+
/Dockerfile export-ignore
1315
/README.md export-ignore
1416
/UPGRADING.md export-ignore
1517
/Makefile export-ignore
18+
/package.sh export-ignore
19+
/packager.sh export-ignore
1620
/packager.php export-ignore
1721
/phpunit.xml.dist export-ignore
18-
/.github export-ignore

CHANGELOG.md

+28-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,38 @@
11
Changelog
22
=========
33

4+
## 3.20.0 (2020-02-26)
5+
6+
### Enhancements
7+
8+
* Added support for Guzzle 7
9+
[#567](https://github.com/bugsnag/bugsnag-php/pull/567)
10+
11+
### Bug Fixes
12+
13+
* Added support for PHP 7.3 and 7.4
14+
[#552](https://github.com/bugsnag/bugsnag-php/pull/552)
15+
[#556](https://github.com/bugsnag/bugsnag-php/pull/556)
16+
17+
* Only try to search for the CA bundle on PHP 5.5
18+
[#566](https://github.com/bugsnag/bugsnag-php/pull/566)
19+
420
## 3.19.0 (2019-11-18)
521

622
### Enhancements
723

8-
* Added a strategy pattern for the Client shutdown behaviour [#547](https://github.com/bugsnag/bugsnag-php/pull/547)
24+
* Added a strategy pattern for the Client shutdown behaviour
25+
[#547](https://github.com/bugsnag/bugsnag-php/pull/547)
26+
27+
* Replaced the dependency on phpdotenv with a simple "read" function that
28+
follows the same strategy ($_ENV, $_SERVER, getenv())
29+
[#511](https://github.com/bugsnag/bugsnag-php/pull/551)
930

10-
* Replaced the dependency on phpdotenv with a simple "read" function that follows the same strategy
11-
($_ENV, $_SERVER, getenv()) [#511](https://github.com/bugsnag/bugsnag-php/pull/551)
31+
* Removed the length restriction on the Breadcrumb "name" field to match the
32+
API and allow large names to be sent.
33+
[#544](https://github.com/bugsnag/bugsnag-php/pull/554)
1234

13-
* Removed the length restriction on the Breadcrumb "name" field to match the API and allow large names to be sent. [#544](https://github.com/bugsnag/bugsnag-php/pull/554)
35+
### Bug Fixes
1436

1537
* Make session delivery obey the release stage rules used by notify
1638
[#542](https://github.com/bugsnag/bugsnag-php/pull/542)
@@ -46,15 +68,15 @@ Add the version of PHP to report information to allow easier diagnosis of versio
4668
[Javier Pérez Cid](https://github.com/jpcid)
4769
[#514](https://github.com/bugsnag/bugsnag-php/pull/514)
4870

49-
### Fixes
71+
### Bug Fixes
5072

5173
* Check `php_uname` isn't disabled before attempting to retrieve hostname
5274
[Graham Campbell](https://github.com/GrahamCampbell)
5375
[#513](https://github.com/bugsnag/bugsnag-php/pull/513)
5476

5577
## 3.15.2 (2019-01-10)
5678

57-
### Fixes
79+
### Bug Fixes
5880

5981
* Improve performance by removing reflection calls from Client to Configuration
6082
[#510](https://github.com/bugsnag/bugsnag-php/pull/510)

Dockerfile

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
FROM php:5.5.38-alpine
2+
3+
ENV COMPOSER_ALLOW_SUPERUSER 1
4+
5+
RUN curl -sS https://getcomposer.org/installer | php \
6+
&& mv composer.phar /usr/local/bin/composer
7+
8+
ENTRYPOINT ["php"]

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ full-clean: ## Cleanout build and vendor
2525
rm -rf build/* vendor
2626

2727
package: ## Build a phar file for release
28-
php -d phar.readonly=false packager.php
28+
./package.sh
2929

3030
help: ## Show help text
3131
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

package.sh

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
if [[ "$(docker images -q bugsnag/php:5.5 2> /dev/null)" == "" ]]; then
4+
docker pull php:5.5.38-alpine
5+
docker build --no-cache -t bugsnag/php:5.5 .
6+
fi
7+
8+
docker run --rm -v ${PWD}:/data -w /data --entrypoint ./packer.sh bugsnag/php:5.5

packager.php

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?php
22

3+
date_default_timezone_set('UTC');
4+
35
require __DIR__.'/vendor/autoload.php';
46

57
$packager = new Burgomaster(__DIR__.'/build/staging', __DIR__);

packer.sh

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
3+
rm -rf build vendor composer.lock
4+
composer install -o -n --prefer-dist
5+
php -d phar.readonly=false packager.php

src/Configuration.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Configuration
7676
*/
7777
protected $notifier = [
7878
'name' => 'Bugsnag PHP (Official)',
79-
'version' => '3.19.0',
79+
'version' => '3.20.0',
8080
'url' => 'https://bugsnag.com',
8181
];
8282

0 commit comments

Comments
 (0)