From 530ba8f8d76ade19cb6ce4cbd996df6c2fbc62b6 Mon Sep 17 00:00:00 2001 From: adatzer Date: Tue, 2 Mar 2021 12:07:08 +0200 Subject: [PATCH] Prepared for release --- .github/workflows/cd.yml | 2 +- CHANGELOG | 14 ++++++++++++++ composer.json | 2 +- src/Constants.php | 2 +- tests/tests/ClassInitTests/TrackerTest.php | 2 +- 5 files changed, 18 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 6c6100c..074f49b 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -55,6 +55,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} + release_name: Version ${{ github.ref }} draft: false prerelease: ${{ contains(steps.version.outputs.TAG_VERSION, '-rc') }} diff --git a/CHANGELOG b/CHANGELOG index 0b20ec9..91a8554 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,17 @@ +Version 0.4.0 (2021-03-02) +-------------------------- +Required parameters after optional parameters deprecated in PHP 8.0 (closes #97) +Lock Mountebank to v2.4.0 (#67) +Remove deprecated errcontext from custom error handler (#95) +Switch to version 4 UUIDs (#94) +Remove rmccue/requests library as it is only used for Synchronous emitter (#42) +Make clearer to users that the optional timestamp argument should be provided in milliseconds (#71) +Add support for dvce_sent_tstamp (#56) +Remove use of chdir() in FileEmitter (#81) +Make optional timestamp argument set 'true timestamp' rather than 'device created timestamp' (#59) +Review schema versions in Constants.php (#83) +Add Snyk Integration (#93) + Version 0.3.1 (2021-02-18) -------------------------- Update copyright notices to 2021 (#92) diff --git a/composer.json b/composer.json index e933c6a..1944b23 100644 --- a/composer.json +++ b/composer.json @@ -28,7 +28,7 @@ }, "authors": [ { - "name": "Joshua Beemster" + "name": "Snowplow Analytics Ltd" } ] } diff --git a/src/Constants.php b/src/Constants.php index c4134ba..93121e8 100644 --- a/src/Constants.php +++ b/src/Constants.php @@ -46,7 +46,7 @@ class Constants { * - SSL: the default for whether or not to use SSL Encryption * - Type: the default for what type of request the emitter will be making (POST or GET) */ - const TRACKER_VERSION = "php-0.3.1"; + const TRACKER_VERSION = "php-0.4.0"; const DEFAULT_BASE_64 = true; const DEBUG_LOG_FILES = true; const CONTEXT_SCHEMA = "iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-1"; diff --git a/tests/tests/ClassInitTests/TrackerTest.php b/tests/tests/ClassInitTests/TrackerTest.php index 2db25e7..626f903 100644 --- a/tests/tests/ClassInitTests/TrackerTest.php +++ b/tests/tests/ClassInitTests/TrackerTest.php @@ -67,7 +67,7 @@ public function testTrackerInit() { // Asserts $this->assertEquals($this->s1, $tracker->returnSubject()); $this->assertEquals(false, $tracker->returnEncodeBase64()); - $this->assertEquals(array("tv" => "php-0.3.1", "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs()); + $this->assertEquals(array("tv" => "php-0.4.0", "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs()); $tracker->turnOffDebug(true); }