Skip to content

Latest commit

 

History

History
331 lines (237 loc) · 8.67 KB

HISTORY.md

File metadata and controls

331 lines (237 loc) · 8.67 KB

3.8.0 / 2024-02-15

  • Include support for 8.3 (#231)

3.7.0 / 2023-09-11

  • Convert to github actions
  • Remove circleci config/files
  • Update autoloader

3.6.0 / 2023-03-28

  • Issue #208 Correct autoload require statement (#209)
  • Fix missing version information (#207)
  • Include support for 8.1 * 8.2 (#210)

3.5.0 / 2022-08-17

  • Correct Payload size check of 512kb (#202)
  • Add new consumer configurable options: curl_timeout, curl_connecttimeout, max_item_size_bytes, max_queue_size_bytes (#192, #197, #198)
  • Deprecate HTTP Option (#194 & #195)

3.0.0 / 2021-10-14

  • PSR-12 coding standard with Slevomat and phcs extensions
  • Namespace and file rearrangement to follow PSR-4 naming scheme and more logical separation
  • Provide strict types for all properties, parameters, and return values
  • Add an exception class so we can have segment-specific exceptions
  • Add dependencies on JSON extension
  • Add dependency on the Roave security checker
  • Since the library already required a minimum of PHP 7.4, make use of PHP 7.4+ features, and avoid compat issues with 8.0
  • More sensible error handling, don't try to catch exceptions that are never thrown
  • Extensive linting and static analysis using phpcs, psalm, phpstan, and PHPStorm to spot issues

2.0.0 / 2021-07-16

  • Modify Endpoint to match API docs (#171)
  • usleep in flush() causes unexpected delays on page loads (#173)
  • Support PHP 8 (#152)
  • Remove Support for PHP 7.2
  • Namespacing (#182)

1.8.0 / 2021-05-31

  • Fix socket return response (#174)
  • API Endpoint update (#168)
  • Update Batch Size Check (#168)
  • Remove messageID override capabilities (#163)
  • Update flush sleep waiting period (#161)

1.7.0 / 2021-03-10

  • Retry Network errors (#136)
  • Update Tests [Improvement] (#132)
  • Updtate Readme Status Badging (#139)
  • Bump e2e tests to latest version [Improvement] (#142)
  • Add Limits to message, batch and memory usage [Feature] (#137)
  • Add Configurable flush parameters [Feature] (#135)
  • Add ability to use custom consumer [Feature] (#61)
  • Add ability to set file permissions [Feature] (#122)
  • Fix curl error handler [Improvement] (#97)
  • Fix timestamp implementation for microseconds (#94)
  • Modify max queue size setting to match requirements (#153, #146)
  • Add ability to set userid as zero (#157)

1.6.1-beta / 2018-05-01

  • Fix tslint error in version.php

1.6.0-beta / 2018-04-30

  • Add License file
  • Coding style fixers (#112)
  • rename type to method to match new harness contract (#110)
  • Increase Code coverage (#108)
  • Add Linter to CI (#109)
  • When the message size is larger than 32KB, return FALSE instead of throw exception
  • Make writeKey required as a flag in the CLI instead of as an environment variable.
  • Verify message size is below than 32KB
  • Run E2E test when RUN_E2E_TESTS is defined
  • Add Rfc 7231 compliant user agent into request header
  • Add backoff for socket communication
  • Implement response error handling for POST request and add backoff (in LibCurl)
  • Change environment to precise as default
  • CI: Make PHP 5.3 test to be run in precise environment
  • Make host to be configurable
  • Add anonymousId in group payload

1.5.2 / 2017-08-18

  • Always set default context.

1.5.1 / 2017-04-06

  • Use require_once() instead of require(). Fixes issue where separate plugins in systems such as Moodle break because of class redeclaration when using separate internal versions of Segment.io.

1.5.0 / 2017-03-03

  • Adding context.library.consumer to all PHP events
  • libcurl consumer will retry once if http response is not 200
  • update link to php docs
  • improve portability and reliability of Makefile across different platforms (#74)

1.4.2 / 2016-07-11

  • remove the extra -e from echo in makefile

1.4.1 / 2016-07-11

  • use a more portable shebang

1.4.0 / 2016-07-11

  • adding a simple wrapper CLI
  • explicitly declare library version in global scope during creating new release to allow using library with custom autoload (composer for example)

1.3.0 / 2016-04-05

  • Introducing libcurl consumer
  • Change Consumer to protected instead of private

1.2.7 / 2016-03-04

  • adding global

1.2.6 / 2016-03-04

  • fix version

1.2.5 / 2016-03-04

  • Adding release script, fixing version
  • Pass back ->flush() result to allow caller code know if flushed successfully

1.2.4 / 2016-02-17

  • core: fix error name
  • send: make send.php executable
  • socket: adding fix for FIN packets from remote

1.2.3 / 2016-02-01

  • instead of using just is_int and is_float for checking timestamp, use filter_var since that can detect string ints and floats - if its not a string or float, consider it might be a ISO8601 or some other string, so use strtotime() to support other strings

1.2.1 / 2015-12-29

  • socket open error checking fix
  • Fix batch size check before flushing tracking queue
  • Fix bug in send.php

1.2.0 / 2015-04-27

  • removing outdated test
  • enabling ssl by default
  • socket: bump timeout to 5s

1.1.3 / 2015-03-03

  • formatTime: use is_* and fix to support floats

1.1.2 / 2015-03-03

  • send.php: fix error handling
  • client: fix float timestamp handling

1.1.1 / 2015-02-11

  • Add updated PHP version requirement for @phpunit
  • add .sentAt

1.1.0 / 2015-01-07

  • support microtime
  • Update README.md
  • drop the io

1.0.3 / 2014-10-14

  • fix: empty array for traits and properties

1.0.2 / 2014-09-29

  • fix: identify(), group() with empty traits
  • suppressing logs generated when attempting to write to a reset socket [j0ew00ds]
  • Added PHP 5.6, 5.5 and HHVM to travis.yml [Nyholm]

1.0.1 / 2014-09-16

  • fixing validation for Segment::page() calls
  • updating send.php error message
  • fix send.php to exit gracefully when there is no log file to process

1.0.0 / 2014-06-16

  • update to work with new spec
  • add ./composer.phar validation test
  • better send.php output
  • add validation
  • use strtotime in send.php and support php5.3
  • rename Analytics to Segment
  • add send.php to replace file_reader.py
  • add new methods implementation and tests
  • implement spec changes
  • change tests to reflect spec changes
  • test changes:
  • Fix typo in composer.json

0.4.8 / 8-21-2013

  • adding fix for socket requests which might complete in multiple fwrites

0.4.7 / 5-28-2013

  • chmod the log file to 0777 so that the file_reader.py can read it

0.4.6 / 5-25-2013

  • Check for status existing on response thanks to @gmoreira

0.4.5 / 5-20-2013

  • Check for empty secret thanks to @mustela.

0.4.3 / 5-1-2013

  • Make file_reader rename to a file in the same directory as the log file thanks to @marshally

0.4.2 / 4-26-2013

  • Fix for $written var on connection error thanks to @gmoreira

0.4.1 / 4-25-2013

  • Adding fix to file_reader alias

0.4.0 / 4-8-2013

  • Full Autoloading an PEAR naming by Cethy
  • Adding alias call

0.3.0 / 3-22-2013

  • Adding try-catch around fwrite cal

0.2.7 / 3-17-2013

  • Adding file_reader.py fix

0.2.6 / 3-15-2013

  • Rename analytics.php -> Analytics.php to allow autoloading by Cethy

0.2.5 / 2-22-2013

0.2.4 / 2-19-2013

  • Support fwrite retry on closed socket.

0.2.3 / 2-12-2013

  • Adding check for count in properties and traits length.

0.2.2 / 2-11-2013

  • Adding default args for properties

0.2.1 / 2-1-2013

  • Enabling pfsockopen for persistent connections
  • Making socket default

0.2.0 / 2-1-2013

  • Updating consumer class to use shared functions.
  • Removed fork consumer, renamed fork_queue to fork_curl.

0.1.1 / 1-30-2013

  • Adding fork consumer
  • Adding fork_queue consumer
  • Setting fork_queue consumer to be the default.

0.1.0 / 1-29-2013

Initial version