Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from launchdarkly:master #14

Open
wants to merge 34 commits into
base: master
Choose a base branch
from

Commits on Feb 24, 2020

  1. add link to generated docs

    eli-darkly committed Feb 24, 2020
    Configuration menu
    Copy the full SHA
    f450a8a View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2020

  1. Configuration menu
    Copy the full SHA
    56160a3 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2020

  1. Merge pull request #134 from bfenton-smugmug/fix-autoloading

    fix namespace on dummy implementation to match PSR-4
    eli-darkly authored Apr 24, 2020
    Configuration menu
    Copy the full SHA
    36ccf3e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2993e07 View commit details
    Browse the repository at this point in the history
  3. fix release metadata

    eli-darkly committed Apr 24, 2020
    Configuration menu
    Copy the full SHA
    6e66f49 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    34462d5 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2020

  1. Configuration menu
    Copy the full SHA
    9830a4d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0080778 View commit details
    Browse the repository at this point in the history

Commits on Jan 7, 2021

  1. Configuration menu
    Copy the full SHA
    bf3b26a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb6f4f5 View commit details
    Browse the repository at this point in the history

Commits on Feb 18, 2021

  1. Configuration menu
    Copy the full SHA
    b7cc17e View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2021

  1. Merge pull request #143 from riekelt/master

    Fix setting a Redis instance via config
    eli-darkly authored Feb 27, 2021
    Configuration menu
    Copy the full SHA
    9b72210 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2021

  1. Configuration menu
    Copy the full SHA
    bc96d97 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9d4d17e View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2021

  1. Configuration menu
    Copy the full SHA
    335af22 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2021

  1. Merge pull request #145 from GuiEloiSantos/ge-concat-fix

    Fixing error when concatenating string with '+'
    eli-darkly authored Apr 14, 2021
    Configuration menu
    Copy the full SHA
    8daba12 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    807f18c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ce03bb9 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2021

  1. Configuration menu
    Copy the full SHA
    0d93573 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ea917a View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. Configuration menu
    Copy the full SHA
    36ef775 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e47e184 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2021

  1. Configuration menu
    Copy the full SHA
    3bb1d06 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6977789 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2021

  1. Configuration menu
    Copy the full SHA
    bf6ead0 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2021

  1. Merge pull request #151 from CameronHall/patch-1

    Fix bug with providing Redis Client
    eli-darkly authored Jul 23, 2021
    Configuration menu
    Copy the full SHA
    0b7c1ef View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2021

  1. Configuration menu
    Copy the full SHA
    a40016c View commit details
    Browse the repository at this point in the history
  2. Releasing version 3.9.1

    LaunchDarklyReleaseBot committed Aug 2, 2021
    Configuration menu
    Copy the full SHA
    f768575 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2021

  1. Configuration menu
    Copy the full SHA
    6717972 View commit details
    Browse the repository at this point in the history
  2. Releasing version 4.0.0

    LaunchDarklyReleaseBot committed Aug 7, 2021
    Configuration menu
    Copy the full SHA
    ea665b4 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2022

  1. Configuration menu
    Copy the full SHA
    3895935 View commit details
    Browse the repository at this point in the history
  2. Releasing version 4.1.0

    LaunchDarklyReleaseBot committed Feb 16, 2022
    Configuration menu
    Copy the full SHA
    278a8e1 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. prepare 4.2.0 release (#158)

    * fix version string
    
    * add new version of allFlags() that captures more metadata
    
    * linter
    
    * missing array key guard
    
    * missing array key guards
    
    * use the standard method for specifying custom JSON serialization
    
    * indents
    
    * add ability to filter for client-side flags only
    
    * fix test to fill in all required flag fields
    
    * implement evaluation with explanations
    
    * add another evaluation test
    
    * linter
    
    * fix test method
    
    * fix for ch22995 - include prereq value in event even if prereq is off
    
    * cache flag data in allFlags
    
    * rm unused imports
    
    * add option to reduce front-end metadata for untracked flags
    
    * add ability to load flags from a file
    
    * linter
    
    * data completeness
    
    * more data fixes
    
    * more data fixes
    
    * more data fixes
    
    * readme link
    
    * rm unused parameters
    
    * fix incorrect doc comment
    
    * add DynamoDB integration
    
    * fix test config
    
    * fix string check
    
    * readme
    
    * fix test data
    
    * factor out base class, implement caching, make configuration simpler
    
    * fix comment
    
    * rm unused const
    
    * can't scope constants
    
    * linter
    
    * add Consul integration
    
    * typo
    
    * regenerate lockfile using PHP 5.5
    
    * we need at least version 2.1 of the Consul package
    
    * update lockfile
    
    * rm comment
    
    * remove lockfile
    
    * add delay for creating test table
    
    * move feature requester code into Integrations namespace
    
    * linter
    
    * misc test fixes
    
    * fix apc/apcu calls
    
    * fix comment
    
    * fix deprecated caching store classes
    
    * better caching abstraction
    
    * typo
    
    * linter
    
    * fix namespaces
    
    * fix tests
    
    * doc fixes
    
    * move a bunch more stuff
    
    * misc cleanup
    
    * add test for not having any flags
    
    * restore documentation for deprecated properties
    
    * version 3.5.0
    
    * revert accidental commit
    
    * add experimentation event overrides for rules and fallthrough
    
    * linter
    
    * misc fixes
    
    * misc test fixes
    
    * Hr/ch34492/waitonconsul (#39)
    
    * add step to wait on Consul
    
    * coerce user attributes to strings when necessary, don't send events without valid users
    
    * explanatory comments
    
    * add release script (version update only)
    
    * use newer readme footer format
    
    * support metric value in track()
    
    * linter
    
    * update method description
    
    * add param to skip db tests, update docs for new repo name
    
    * wrong method name
    
    * add tests for rollout calculations, + misc test cleanup
    
    * misc doc fixes
    
    * misc doc fixes
    
    * update package name (#45)
    
    * add test for cached get all
    
    * typo
    
    * revert bugfix to test the test
    
    * reinstate bugfix
    
    * mix fixes, rename file
    
    * fix filename
    
    * misc cleanup
    
    * linter
    
    * misc fixes
    
    * test state cleanup
    
    * linter + fix filename in instructions
    
    * misc CI fixes, don't try to install phpredis in 5.6
    
    * don't let user fall outside of last bucket in rollout
    
    * PHP 5.5 requires even null properties to be defined
    
    * minor cleanup
    
    * more accurate changelog text regarding phpredis
    
    * Add circle jobs for newer PHP versions.
    
    * Revert "Add circle jobs for newer PHP versions."
    
    This reverts commit 8939cb2.
    
    * implement doc generation with phpDocumentor 3 (prerelease), clean up doc tags (#50)
    
    * Add CI jobs for PHP 7.3 + 7.4 (#51)
    
    * ensure events aren't sent if send_events is false
    
    * clarify test with comment
    
    * make prefix concatenation in DynamoDB consistent with other SDKs
    
    * fix test
    
    * fix PHP 5.5 CI build by pinning Composer version (#54)
    
    * Updating warning log in Identify to not say Track was called (#56)
    
    * Removed the guides link
    
    * add alias functionality and some related tests
    
    * Revert "add alias functionality and some related tests"
    
    This reverts commit 2bf1cba.
    
    * add alias events support (#57)
    
    * add alias function to LDClient
    * add `contextKind` to events that require the new field
    * add tests for alias and contextKind
    
    * merge exp-alloc
    
    * drop support for EOL php versions and update deps (#60)
    
    * fix test class
    
    * remove database integrations from SDK (#63)
    
    * add type hints to FeatureRequesterBase methods
    
    * fix PHPRedis logic for prefix & custom client, add unit tests (#64)
    
    * add psalm lints and php hints (#62)
    
    * remove deprecated members (#65)
    
    * change default base URL to sdk.launchdarkly.com
    
    * move non-public classes into Impl namespace (#66)
    
    * add CI job for PHP 8.0 (#69)
    
    * use phpDocumentor 3 + misc doc comment cleanup (#68)
    
    * Updates docs URLs
    
    * pin Psalm to 4.9.2 to prevent a spurious linting error (#71)
    
    * use Releaser v2 config + add badge links in readme (#72)
    
    * use Releaser v2 config + add badge links in readme
    
    * fix badge URL
    
    * use Releaser PHP project template (#73)
    
    * use Releaser PHP project template
    
    * exclude implementation classes from docs
    
    * remove obsolete line that's no longer used because $seed is computed elsewhere
    
    * remove obsolete VERSION file
    
    * Fix test confirming send_events = false is honored (#78)
    
    * Minor cleanup and consistency changes (#79)
    
    * Add integration test for curl event publisher (#77)
    
    * Curl honor connect_timeout (#81)
    
    * Set required connect_timeout option in test (#82)
    
    * Add Windows support for "Curl" publisher (#80)
    
    * Add cs-check to build process (#83)
    
    * Don't treat numeric strings as numbers (#84)
    
    * Decrease psalm error level (#85)
    
    * added TestData, FlagBuilder; added TestDataTest; started implementing FlagBuilder methods
    
    * made props protected, made basic build method, made variations method with tests
    
    * continued implementing test data and tests for test data
    
    * implemented varationForAllUsers, valueForAllUsers, and variationForUsers along with corresponding tests
    
    * reorganized functions, added needed classes and functions, left some bodys blank to complete later, implemeted others, organized tests, added missing assertions
    
    * broken - transitioning build to return a FeatureFlag, finished implementing some methods
    
    * reverted build to return array, implemented getFeature and getAllFeatures methods in FeatureRequester interface for TestData
    
    * fixed build, implemented FeatureRequester, added simple test case
    
    * Event attribute filtering is overly aggressively (#86)
    
    If you try to create a custom attribute with a value of 0, our event
    serialization code would filter that out because `0 != null` is false.
    However, it is reasonable to expect that a user might want to provide
    the value of 0 as a custom value.
    
    The code has been updated to only exclude explicitly null values.
    
    * Account for traffic allocation on all flags (#87)
    
    * finished FlagRuleBuilder implementation; fixed psalm errors; improved comment blocks to adhere better to phpdoc; fixed formatting errors in both TestData and TestDataTest
    
    * fixed php-cs-fixer warnings in TestDataTest.php
    
    * Apply suggestions from code review
    
    Co-authored-by: Matthew M. Keeler <[email protected]>
    
    * replace use of array_push with append operator; standardized capitalization of booleans including in code blogs; other formatting adjustments
    
    * remove array_splice() implementation of existing user key removal due to breakage in unit tests
    
    * converted variationForUser to use array_splice but fixed issue caused by pass by reference instead of pass by value
    
    * fixed missing indexes required to decode FlagBuilder into a FeatureFlag using the decode() method
    
    * split off TestData\FlagBuilder and TestData\FlagRuleBuilder from TestData; add test coverage for TestData class
    
    * additional cleanup; added missing type hint; minor refactoring
    
    * remove special handling of singleton arrays in FlagBuilder::variations()
    
    * run php-cs-fixer on TestData-related files
    
    * started writing repetitive tests using the phpunit @dataProvider feature
    
    * swapped positions of expected and actual in dataProvider-driven test
    
    * fix typos in code in comment blocks
    
    * Apply whitespace fixes from code review
    
    Co-authored-by: Matthew M. Keeler <[email protected]>
    
    * split unwieldy tests in TestDataTest into separate tests; address TODO item
    
    * added annotations to dataProvider-driven tests
    
    * changed _isBooleanFlag() implementation to use strict equality
    
    * Add unit test to verify `in` operator in TestData (#89)
    
    * Add support for psr/log 2 and 3 (#91)
    
    Co-authored-by: Eli Bishop <[email protected]>
    Co-authored-by: Eli Bishop <[email protected]>
    Co-authored-by: hroederld <[email protected]>
    Co-authored-by: LaunchDarklyCI <[email protected]>
    Co-authored-by: Ben Woskow <[email protected]>
    Co-authored-by: Ben Woskow <[email protected]>
    Co-authored-by: Gavin Whelan <[email protected]>
    Co-authored-by: elliot <[email protected]>
    Co-authored-by: Elliot Haisley <[email protected]>
    Co-authored-by: Harpo Roeder <[email protected]>
    Co-authored-by: LaunchDarklyReleaseBot <[email protected]>
    Co-authored-by: Ember Stevens <[email protected]>
    Co-authored-by: ember-stevens <[email protected]>
    Co-authored-by: Matthew M. Keeler <[email protected]>
    Co-authored-by: charukiewicz <[email protected]>
    Co-authored-by: Joey Malinowski <[email protected]>
    Co-authored-by: Christian Charukiewicz <[email protected]>
    Co-authored-by: Matthew M. Keeler <[email protected]>
    19 people authored Apr 13, 2022
    Configuration menu
    Copy the full SHA
    61eba47 View commit details
    Browse the repository at this point in the history
  2. Releasing version 4.2.0

    LaunchDarklyReleaseBot committed Apr 13, 2022
    Configuration menu
    Copy the full SHA
    8c8a079 View commit details
    Browse the repository at this point in the history