Skip to content

chore: Update version for release#5

Merged
hntrl merged 1 commit intomainfrom
changeset-release/main
Apr 12, 2025
Merged

chore: Update version for release#5
hntrl merged 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@eventkit/base@1.0.0

Minor Changes

  • #4 1371b77 Thanks @hntrl! - Introduces SingletonAsyncObservable; a utility class for observables that lets you access the value emitted by observables that emit one (and only one) value (like the observables returned from reduce(), count(), etc.) using native await syntax.

    This makes the consumption of these single value operators a little bit more readable. For instance:

    const obs = AsyncObservable.from([1, 2, 3]);
    const singleton = obs.pipe(first());
    
    // instead of this:
    let firstValue: number | undefined;
    await obs.subscribe((value) => {
      firstValue = value;
    });
    console.log(firstValue); // 1
    
    // you can just do this:
    console.log(await singleton); // 1

Patch Changes

  • Updated dependencies [fa3aa52]:
    • @eventkit/async-observable@1.0.0

@eventkit/async-observable@1.0.0

Patch Changes

  • fa3aa52 Thanks @hntrl! - Fixes an issue where subscribers wouldn't be tracked by the observable when using constructor syntax

@eventkit/http@1.0.0

Patch Changes

  • Updated dependencies [1371b77]:
    • @eventkit/base@1.0.0

@hntrl hntrl force-pushed the changeset-release/main branch from 394f14e to daed773 Compare April 12, 2025 21:53
@hntrl hntrl merged commit 3c957b1 into main Apr 12, 2025
2 checks passed
@hntrl hntrl deleted the changeset-release/main branch April 12, 2025 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant