Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: open-feature/php-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 2.0.5
Choose a base ref
...
head repository: open-feature/php-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 2.0.6
Choose a head ref
  • 4 commits
  • 9 files changed
  • 3 contributors

Commits on May 7, 2024

  1. fix: Use late static binding in AbstractProvider (#123)

    ## This PR
    Switches from self::$NAME to static::$NAME in the getMetadata method of
    the AbstractProvider class. This change is to ensure the name of the
    extending provider is used in the metadata. Previously, when extending
    from AbstractProvider, the metadata name was always AbstractProvider.
    
    ### How to test
    Create a class that extends AbstractProvider, give it a different name,
    then call "getMetadata" and see that the name is now the name of the
    extended class and not "AbstractProvider"
    
    Signed-off-by: Andrew Menino-Barlow <andrew.barlow@gmail.com>
    schodemeiss authored May 7, 2024
    Configuration menu
    Copy the full SHA
    2123274 View commit details
    Browse the repository at this point in the history
  2. fix: Improve error handling in OpenFeatureClient (#121)

    ## This PR
    
    The PR adds the `flagKey` to EvaluationDetailsBuilder during error
    handling, providing more context for debugging. It also includes error
    message within the ResolutionError for more complete error information.
    
    ### How to test
    Modify the NoOpProvider to throw any exception with a message. This
    should then propergate through to this new error handling
    
    Signed-off-by: Andrew Menino-Barlow <andrew.barlow@gmail.com>
    schodemeiss authored May 7, 2024
    Configuration menu
    Copy the full SHA
    58e97d2 View commit details
    Browse the repository at this point in the history
  3. chore(deps): update dependency psalm/plugin-phpunit to ^0.19.0 (#119)

    [![Mend
    Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
    
    This PR contains the following updates:
    
    | Package | Change | Age | Adoption | Passing | Confidence |
    |---|---|---|---|---|---|
    |
    [psalm/plugin-phpunit](https://togithub.com/psalm/psalm-plugin-phpunit)
    | `^0.18.0` -> `^0.19.0` |
    [![age](https://developer.mend.io/api/mc/badges/age/packagist/psalm%2fplugin-phpunit/0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![adoption](https://developer.mend.io/api/mc/badges/adoption/packagist/psalm%2fplugin-phpunit/0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![passing](https://developer.mend.io/api/mc/badges/compatibility/packagist/psalm%2fplugin-phpunit/0.18.4/0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    [![confidence](https://developer.mend.io/api/mc/badges/confidence/packagist/psalm%2fplugin-phpunit/0.18.4/0.19.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
    |
    
    ---
    
    ### Release Notes
    
    <details>
    <summary>psalm/psalm-plugin-phpunit (psalm/plugin-phpunit)</summary>
    
    ###
    [`v0.19.0`](https://togithub.com/psalm/psalm-plugin-phpunit/releases/tag/0.19.0):
    Add Psalm 6 support, drop Psalm 4 support
    
    [Compare
    Source](https://togithub.com/psalm/psalm-plugin-phpunit/compare/0.18.4...0.19.0)
    
    This release adds support for Psalm 6, dropping support for Psalm 4.
    
    #### What's Changed
    
    - Update README.md by
    [@&#8203;sander-bol](https://togithub.com/sander-bol) in
    [https://github.com/psalm/psalm-plugin-phpunit/pull/128](https://togithub.com/psalm/psalm-plugin-phpunit/pull/128)
    - Replace deprecated `::set-output` by
    [@&#8203;weirdan](https://togithub.com/weirdan) in
    [https://github.com/psalm/psalm-plugin-phpunit/pull/132](https://togithub.com/psalm/psalm-plugin-phpunit/pull/132)
    - Dependabot updates for GH actions by
    [@&#8203;weirdan](https://togithub.com/weirdan) in
    [https://github.com/psalm/psalm-plugin-phpunit/pull/133](https://togithub.com/psalm/psalm-plugin-phpunit/pull/133)
    - Bump actions/checkout from 2 to 3 by
    [@&#8203;dependabot](https://togithub.com/dependabot) in
    [https://github.com/psalm/psalm-plugin-phpunit/pull/134](https://togithub.com/psalm/psalm-plugin-phpunit/pull/134)
    - Bump actions/cache from 2 to 3 by
    [@&#8203;dependabot](https://togithub.com/dependabot) in
    [https://github.com/psalm/psalm-plugin-phpunit/pull/135](https://togithub.com/psalm/psalm-plugin-phpunit/pull/135)
    - Switch to MixedReturnStatement, drop Psalm 4 support by
    [@&#8203;danog](https://togithub.com/danog) in
    [https://github.com/psalm/psalm-plugin-phpunit/pull/142](https://togithub.com/psalm/psalm-plugin-phpunit/pull/142)
    
    #### New Contributors
    
    - [@&#8203;sander-bol](https://togithub.com/sander-bol) made their first
    contribution in
    [https://github.com/psalm/psalm-plugin-phpunit/pull/128](https://togithub.com/psalm/psalm-plugin-phpunit/pull/128)
    - [@&#8203;dependabot](https://togithub.com/dependabot) made their first
    contribution in
    [https://github.com/psalm/psalm-plugin-phpunit/pull/134](https://togithub.com/psalm/psalm-plugin-phpunit/pull/134)
    
    **Full Changelog**:
    psalm/psalm-plugin-phpunit@0.18.4...0.19.0
    
    </details>
    
    ---
    
    ### Configuration
    
    📅 **Schedule**: Branch creation - At any time (no schedule defined),
    Automerge - At any time (no schedule defined).
    
    🚦 **Automerge**: Disabled by config. Please merge this manually once you
    are satisfied.
    
    ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
    rebase/retry checkbox.
    
    🔕 **Ignore**: Close this PR and you won't be reminded about this update
    again.
    
    ---
    
    - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
    this box
    
    ---
    
    This PR has been generated by [Mend
    Renovate](https://www.mend.io/free-developer-tools/renovate/). View
    repository job log
    [here](https://developer.mend.io/github/open-feature/php-sdk).
    
    <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
    
    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored May 7, 2024
    Configuration menu
    Copy the full SHA
    09f9d47 View commit details
    Browse the repository at this point in the history
  4. chore(main): release 2.0.6 (#124)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [2.0.6](2.0.5...2.0.6)
    (2024-05-07)
    
    
    ### 🐛 Bug Fixes
    
    * Improve error handling in OpenFeatureClient
    ([#121](#121))
    ([58e97d2](58e97d2))
    * Use late static binding in AbstractProvider
    ([#123](#123))
    ([2123274](2123274))
    
    
    ### 🧹 Chore
    
    * **deps:** update dependency psalm/plugin-phpunit to ^0.19.0
    ([#119](#119))
    ([09f9d47](09f9d47))
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    
    Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
    github-actions[bot] authored May 7, 2024
    Configuration menu
    Copy the full SHA
    19d8643 View commit details
    Browse the repository at this point in the history
Loading