Skip to content

Commit

Permalink
Prepared for release
Browse files Browse the repository at this point in the history
  • Loading branch information
adatzer committed Feb 18, 2021
1 parent 4348634 commit e41b104
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 26 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Version 0.3.1 (2021-02-18)
--------------------------
Update copyright notices to 2021 (#92)
Fix expected hash in Dockerfile (#90)
Migrate to GitHub actions (#88)
Upgrade ramsey/uuid version constraint to allow v3 or v4 (#87)

Version 0.3.0 (2019-06-06)
--------------------------
Fix coverall setup (#79)
Expand Down
14 changes: 7 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing

The Snowplow PHP Tracker is maintained by the Engineering team at Snowplow Analytics. We welcome suggestions for improvements and bug fixes to all Snowplow Trackers.
The Snowplow PHP Tracker is maintained by the Engineering team at Snowplow Analytics. We welcome suggestions for improvements and bug fixes to all Snowplow Trackers.

We are extremely grateful for all contributions we receive, whether that is reporting an issue or a change to the code which can be made in the form of a pull request.

Expand Down Expand Up @@ -34,7 +34,7 @@ These are a few guidelines to keep in mind when opening pull requests.

### Guidelines

Please supply a good PR description. These are very helpful and help the maintainers to understand _why_ the change has been made, not just _what_ changes have been made.
Please supply a good PR description. These are very helpful and help the maintainers to understand _why_ the change has been made, not just _what_ changes have been made.

Please try and keep your PR to a single feature of fix. This might mean breaking up a feature into multiple PRs but this makes it easier for the maintainers to review and also reduces the risk in each change.

Expand All @@ -53,12 +53,12 @@ for example:

### Writing tests

Whenever necessary, it's good practice to add the corresponding tests to whichever feature you are working on.
Whenever necessary, it's good practice to add the corresponding tests to whichever feature you are working on.
Any non-trivial PR must have tests and will not be accepted without them.

### Feedback cycle

Reviews should happen fairly quickly during weekdays.
Reviews should happen fairly quickly during weekdays.
If you feel your pull request has been forgotten, please ping one or more maintainers in the pull request.

### Getting your pull request merged
Expand All @@ -67,8 +67,8 @@ If your pull request is fairly chunky, there might be a non-trivial delay betwee

### Contributor license agreement

We require outside contributors to sign a Contributor license agreement (or CLA) before we can merge their pull requests.
You can find more information on the topic in [the dedicated wiki page](https://github.com/snowplow/snowplow/wiki/CLA).
We require outside contributors to sign a Contributor license agreement (or CLA) before we can merge their pull requests.
You can find more information on the topic in [the dedicated docs page](https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/).
The @snowplowcla bot will guide you through the process.

## Getting in touch
Expand All @@ -77,4 +77,4 @@ The @snowplowcla bot will guide you through the process.

Please do not log an issue if you are asking for support, all of our community support requests go through our Discourse forum: https://discourse.snowplowanalytics.com/.

Posting your problem there ensures more people will see it and you should get support faster than creating a new issue on GitHub. Please do create a new issue on GitHub if you think you've found a bug though!
Posting your problem there ensures more people will see it and you should get support faster than creating a new issue on GitHub. Please do create a new issue on GitHub if you think you've found a bug though!
34 changes: 18 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,12 @@
[![early-release]][tracker-classificiation]
[![Build Status][gh-actions-image]][gh-actions]
[![Coverage Status][coveralls-image]][coveralls]
[![License][license-image]][license]

[![Latest Stable Version][packagist-image-1]][packagist-1]
[![PHP_Version][php-version-image]][php-version]
[![Total Downloads][packagist-image-2]][packagist-2]
[![License][license-image]][license]


## Overview

Expand All @@ -24,9 +27,9 @@ Make sure `docker` & `docker-compose` are installed.

## Find out more

| **[Technical Docs][techdocs]** | **[Setup Guide][setup]** | **[Roadmap][roadmap]** | **[Contributing][contributing]** |
|:------------------------------:|:------------------------:|:----------------------:|:--------------------------------:|
| ![i1][techdocs-image] | ![i2][setup-image] | ![i3][roadmap-image] | ![i4][contributing-image] |
| **[Technical Docs][techdocs]** | **[Setup Guide][setup]** | **[Contributing][contributing]** |
|:------------------------------:|:------------------------:|:--------------------------------:|
| ![i1][techdocs-image] | ![i2][setup-image] | ![i3][contributing-image] |

## Copyright and license

Expand All @@ -47,24 +50,23 @@ limitations under the License.
[gh-actions]: https://github.com/snowplow/snowplow-php-tracker/actions
[gh-actions-image]: https://github.com/snowplow/snowplow-php-tracker/workflows/ci/badge.svg?branch=master
[coveralls]: https://coveralls.io/github/snowplow/snowplow-php-tracker?branch=master
[coveralls-image]: https://coveralls.io/repos/github/snowplow/snowplow-php-tracker/badge.svg?branch=master
[coveralls-image]: https://img.shields.io/coveralls/github/snowplow/snowplow-php-tracker/master
[license]: https://www.apache.org/licenses/LICENSE-2.0
[license-image]: https://img.shields.io/badge/license-Apache--2-blue.svg?style=flat

[packagist-1]: https://packagist.org/packages/snowplow/snowplow-tracker
[packagist-image-1]: https://poser.pugx.org/snowplow/snowplow-tracker/v/stable.png
[packagist-image-1]: https://img.shields.io/packagist/v/snowplow/snowplow-tracker
[packagist-2]: https://packagist.org/packages/snowplow/snowplow-tracker
[packagist-image-2]: https://poser.pugx.org/snowplow/snowplow-tracker/downloads.png
[license-image]: https://img.shields.io/badge/license-Apache--2-blue.svg?style=flat
[packagist-image-2]: https://img.shields.io/packagist/dm/snowplow/snowplow-tracker
[php-version]: https://packagist.org/packages/snowplow/snowplow-tracker
[php-version-image]: https://img.shields.io/packagist/php-v/snowplow/snowplow-tracker

[techdocs-image]: https://d3i6fms1cm1j0i.cloudfront.net/github/images/techdocs.png
[setup-image]: https://d3i6fms1cm1j0i.cloudfront.net/github/images/setup.png
[roadmap-image]: https://d3i6fms1cm1j0i.cloudfront.net/github/images/roadmap.png
[contributing-image]: https://d3i6fms1cm1j0i.cloudfront.net/github/images/contributing.png
[techdocs]: https://github.com/snowplow/snowplow/wiki/PHP-Tracker
[setup]: https://github.com/snowplow/snowplow/wiki/PHP-Tracker-Setup
[roadmap]: https://github.com/snowplow/snowplow/wiki/PHP-Tracker-Roadmap
[contributing]: https://github.com/snowplow/snowplow/wiki/PHP-Tracker-Contributing

[license]: https://www.apache.org/licenses/LICENSE-2.0
[techdocs]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/php-tracker/
[setup]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/php-tracker/setup/
[contributing]: https://github.com/snowplow/snowplow-php-tracker/blob/master/CONTRIBUTING.md

[tracker-classificiation]: https://github.com/snowplow/snowplow/wiki/Tracker-Maintenance-Classification
[tracker-classificiation]: https://docs.snowplowanalytics.com/docs/collecting-data/collecting-from-own-applications/tracker-maintenance-classification/
[early-release]: https://img.shields.io/static/v1?style=flat&label=Snowplow&message=Early%20Release&color=014477&labelColor=9ba0aa&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAeFBMVEVMaXGXANeYANeXANZbAJmXANeUANSQAM+XANeMAMpaAJhZAJeZANiXANaXANaOAM2WANVnAKWXANZ9ALtmAKVaAJmXANZaAJlXAJZdAJxaAJlZAJdbAJlbAJmQAM+UANKZANhhAJ+EAL+BAL9oAKZnAKVjAKF1ALNBd8J1AAAAKHRSTlMAa1hWXyteBTQJIEwRgUh2JjJon21wcBgNfmc+JlOBQjwezWF2l5dXzkW3/wAAAHpJREFUeNokhQOCA1EAxTL85hi7dXv/E5YPCYBq5DeN4pcqV1XbtW/xTVMIMAZE0cBHEaZhBmIQwCFofeprPUHqjmD/+7peztd62dWQRkvrQayXkn01f/gWp2CrxfjY7rcZ5V7DEMDQgmEozFpZqLUYDsNwOqbnMLwPAJEwCopZxKttAAAAAElFTkSuQmCC
4 changes: 2 additions & 2 deletions 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.0";
const TRACKER_VERSION = "php-0.3.1";
const DEFAULT_BASE_64 = true;
const DEBUG_LOG_FILES = true;
const CONTEXT_SCHEMA = "iglu:com.snowplowanalytics.snowplow/contexts/jsonschema/1-0-1";
Expand Down Expand Up @@ -79,7 +79,7 @@ class Constants {
/**
* Settings for the Asynchronous Rolling Curl Emitter
* - Buffer: the amount of events that will occur before sending begins
* - Amount: the amount of times we need to reach the buffer limit
* - Amount: the amount of times we need to reach the buffer limit
* before we initiate sending
* - Window: the amount of concurrent curl requests being made
*/
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.0", "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs());
$this->assertEquals(array("tv" => "php-0.3.1", "tna" => "namespace", "aid" => "app_id"), $tracker->returnStdNvPairs());
$tracker->turnOffDebug(true);
}

Expand Down

0 comments on commit e41b104

Please sign in to comment.