Skip to content

Commit

Permalink
Prepared for release
Browse files Browse the repository at this point in the history
  • Loading branch information
adatzer committed Mar 5, 2021
1 parent 65aeee7 commit 530ba8f
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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') }}
14 changes: 14 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
},
"authors": [
{
"name": "Joshua Beemster"
"name": "Snowplow Analytics Ltd"
}
]
}
2 changes: 1 addition & 1 deletion src/Constants.php
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion tests/tests/ClassInitTests/TrackerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 530ba8f

Please sign in to comment.