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/js-sdk
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: core-v0.0.24
Choose a base ref
...
head repository: open-feature/js-sdk
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: core-v0.0.25
Choose a head ref
  • 5 commits
  • 23 files changed
  • 4 contributors

Commits on Jan 30, 2024

  1. chore(main): release web-sdk 0.4.11 (#769)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [0.4.11](web-sdk-v0.4.10...web-sdk-v0.4.11)
    (2024-01-30)
    
    
    ### ✨ New Features
    
    * adds ErrorOptions to Error constructor
    ([#765](#765))
    ([2f59a9f](2f59a9f))
    
    
    ### 🧹 Chore
    
    * **main:** release core 0.0.24
    ([#770](#770))
    ([12b3b35](12b3b35))
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    
    Signed-off-by: OpenFeature Bot <[email protected]>
    openfeaturebot authored Jan 30, 2024
    Copy the full SHA
    35a612c View commit details
  2. chore(main): release server-sdk 1.10.0 (#771)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [1.10.0](server-sdk-v1.9.1...server-sdk-v1.10.0)
    (2024-01-30)
    
    
    ### ✨ New Features
    
    * adds ErrorOptions to Error constructor
    ([#765](#765))
    ([2f59a9f](2f59a9f))
    
    
    ### 🧹 Chore
    
    * **main:** release core 0.0.24
    ([#770](#770))
    ([12b3b35](12b3b35))
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    
    Signed-off-by: OpenFeature Bot <[email protected]>
    Signed-off-by: Todd Baert <[email protected]>
    Co-authored-by: Todd Baert <[email protected]>
    openfeaturebot and toddbaert authored Jan 30, 2024
    Copy the full SHA
    4114e63 View commit details

Commits on Jan 31, 2024

  1. fix: removed duped core types (#800)

    A while back I added:
    
    ```json
        "paths": {
          "@openfeature/core": [ "./packages/shared/src" ]
        },      
    ```
    
    To the tsconfigs, which helped with local dev by always resolving
    `src/*` files from sibling packages instead of anything in their
    `dist/`.
    
    It also had the nasty side-effect of causing our type bundling to
    include types from this package in it's output, causing duplicated
    artifacts and possible compiler issues. I've overridden this with a
    custom `tsconfig.rollup.json`.
    
    Before this fix, the web/server SDK dists contained dupes of the stuff
    in shared:
    
    ```ts
    import EventEmitter from 'events';
    
    type FlagValueType = 'boolean' | 'string' | 'number' | 'object';
    type PrimitiveValue = null | boolean | string | number;
    type JsonObject = {
        [key: string]: JsonValue;
    };
    type JsonArray = JsonValue[];
    /**
     * Represents a JSON node value.
     */
    ```
    
    After this fix, they import them:
    
    ```ts
    import { BaseHook, HookHints, EvaluationDetails, JsonValue, EvaluationLifeCycle, ManageLogger, Eventing, ClientMetadata, ProviderStatus, ClientProviderEvents, GenericEventEmitter, CommonEventDetails, FlagValue, CommonProvider, EvaluationContext, Logger, ResolutionDetails, EventHandler, OpenFeatureCommonAPI, ManageContext } from '@openfeature/core';
    export * from '@openfeature/core';
    ```
    
    ---------
    
    Signed-off-by: Todd Baert <[email protected]>
    toddbaert authored Jan 31, 2024
    Copy the full SHA
    7cc1e09 View commit details
  2. feat: use interface for events (#798)

    Make the providers events member an interface to improve flexibility and
    reduce possible typing issues.
    
    I'm confident this is non-breaking: I've locally updated the my
    js-contribs to use this, and everything compiled and tested fine.
    
    ---------
    
    Signed-off-by: Todd Baert <[email protected]>
    Co-authored-by: Jonathan Norris <[email protected]>
    toddbaert and jonathannorris authored Jan 31, 2024
    Copy the full SHA
    b47b1dc View commit details
  3. chore(main): release core 0.0.25 (#801)

    🤖 I have created a release *beep* *boop*
    ---
    
    
    ##
    [0.0.25](core-v0.0.24...core-v0.0.25)
    (2024-01-31)
    
    
    ### ✨ New Features
    
    * use interface for events
    ([#798](#798))
    ([b47b1dc](b47b1dc))
    
    
    ### 🐛 Bug Fixes
    
    * removed duped core types
    ([#800](#800))
    ([7cc1e09](7cc1e09))
    
    ---
    This PR was generated with [Release
    Please](https://github.com/googleapis/release-please). See
    [documentation](https://github.com/googleapis/release-please#release-please).
    
    ---------
    
    Signed-off-by: OpenFeature Bot <[email protected]>
    Signed-off-by: openfeature-peer-update-bot <[email protected]>
    Co-authored-by: openfeature-peer-update-bot <[email protected]>
    openfeaturebot and openfeature-peer-update-bot authored Jan 31, 2024
    Copy the full SHA
    53a89ab View commit details
Loading