Skip to content

Releases: rollout/rox-php

5.0.3

Choose a tag to compare

@AsafRollout AsafRollout released this 18 Jan 16:57
ed4ee16

Dependencies update
Replace some deprecated code

5.0.0

Choose a tag to compare

@andy-a-o andy-a-o released this 27 Oct 19:54
3837ec7

Breaking changes:

  • RoxVariant changed to RoxString
    • new RoxVariant(...) => new RoxString(...).

Fixes and Additions:

  • Can use register without a namespace:

    • Rox::register($container) will register the container under an empty string namespace (multiple register calls with the same namespaces are still not allowed!).
  • Added a User Space Error handling

    • It is recommended to wrap all handlers used in Rox platform (all CustomPropertyGenerator, ImpressionHandler, ConfigurationFetchedHandler, DynamicPropertyRule) with try-catch in order to be in the right context.
    • In case there will be an uncaught error, it will reach the UserspaceUnhandledErrorHandler handler which is simply a function registered via Rox::setUserspaceUnhandledErrorHandler.
    • You can use this handler for debugging, or for further error handling.
      An exception raised within this handler will be written to log.
    • If Rox::setUserspaceUnhandledErrorHandler was not called, errors will be written to the log.
  • Analytics / impressions

    • Starting with SDK 5, flags will always send impressions after setup (not only when targeting is enabled on the dashboard).
  • Impression handler parameters change

    • As experiments were removed, ImpressionArgs class now doesn't have getExperiment() method. Objects returned by its getReportingValue() method now also provide isTargeting() property indicating whether the flag was evaluated by using the dashboard configurations.
  • New Flag Types Int/Double

    • In addition to RoxFlag and RoxString, we also added RoxInt and RoxDouble.
  • Added a graceful Rox::shutdown() function in order to free all the consumed resources.

    • Multiple Rox::setup() calls will be ignored if ROX wasn't shutdown in between.

4.8.0

Choose a tag to compare

@andy-a-o andy-a-o released this 27 Oct 19:34
1b3a5f8

Add analytics module.

4.7.4

Choose a tag to compare

@AsafRollout AsafRollout released this 23 Dec 15:00
66614cc
releasing_4.7.4

4.7.3

Choose a tag to compare

@AsafRollout AsafRollout released this 05 Apr 19:41
releasing 4.7.3

4.7.2

Choose a tag to compare

@AsafRollout AsafRollout released this 01 Apr 16:39

support both monolog v1, v2

4.7.1

Choose a tag to compare

@AsafRollout AsafRollout released this 12 Jan 11:08
1ae1f12
Merge pull request #12 from rollout/releasing_4.7.1

releasing 4.7.1

4.7.0

Choose a tag to compare

@AsafRollout AsafRollout released this 02 Jan 13:40
687a2c9
Update DeviceProperties.php

1.0.0: Merge pull request #6 from rollout/logging-advanced-setup

Choose a tag to compare

@AsafRollout AsafRollout released this 01 Jan 19:39
2d65653
Advanced logging setup.