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.12
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.1.0
Choose a head ref
  • 3 commits
  • 8 files changed
  • 3 contributors

Commits on Sep 10, 2025

  1. test: Write test for OpenfeatureAPI to return No-op client when Openf…

    …eatureClient is unresolvable (#157)
    
    ### Overview
    
    This pull request refactors the client creation logic in
    `OpenFeatureAPI` to improve testability and resilience.
    
    - Introduces a dedicated `resolveClient` method, which encapsulates
    client instantiation logic.
    
    - Ensures that failures during client resolution are handled gracefully
    by returning a `NoOpClient`.
    
    - Adds a testing dependency to allow mocking of final classes, enabling
    comprehensive test coverage without altering production code.
    
    ---------
    
    Signed-off-by: tmakinde <[email protected]>
    Tmakinde authored Sep 10, 2025
    Configuration menu
    Copy the full SHA
    2c4dba8 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2025

  1. feat(log): Improve error log in OpenFeatureClient (#156)

    Change log message to follow best practice of PSR3, Log Exception object
    to help debuging, when provider throw Exception
    
    <!-- Please use this template for your pull request. -->
    <!-- Please use the sections that you need and delete other sections -->
    
    ## This PR
    <!-- add the description of the PR here -->
    
    - Improve the log message and context, when the OpenFeatureClient catch
    Exception
    
    ### Related Issues
    <!-- add here the GitHub issue that this PR resolves if applicable -->
    
    
    ### Notes
    <!-- any additional notes for this PR -->
    
    ### Follow-up Tasks
    <!-- anything that is related to this PR but not done here should be
    noted under this section -->
    <!-- if there is a need for a new issue, please link it here -->
    
    ### How to test
    <!-- if applicable, add testing instructions under this section -->
    
    - Unit test updated to test the changes
    
    ---------
    
    Signed-off-by: jaugustin <[email protected]>
    jaugustin authored Sep 14, 2025
    Configuration menu
    Copy the full SHA
    d28d9c3 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2025

  1. chore(main): release 2.1.0 (#158)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [2.1.0](2.0.12...2.1.0)
    (2025-09-14)
    
    
    ### ✨ New Features
    
    * **log:** Improve error log in OpenFeatureClient
    ([#156](#156))
    ([d28d9c3](d28d9c3))
    
    ---
    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 Sep 27, 2025
    Configuration menu
    Copy the full SHA
    af1de42 View commit details
    Browse the repository at this point in the history
Loading