Skip to content

NPM Lists rxjs version 7.8.2 which includes breaking changes #7534

Closed

Description

@JoeClacks

Describe the bug

NPM Lists rxjs version 7.8.2 which includes breaking changes to the behavior of firstValueFrom() (a new default parameter I think). I don't see that version on Github so I wanted to make sure this was an intentional release.

Expected behavior

7.8.1 => 7.8.2 doesn't break existing code, and release notes on Github.

Reproduction code

https://www.npmjs.com/package/rxjs/v/7.8.2

Reproduction URL

No response

Version

7.8.2

Environment

No response

Additional context

No response

Activity

  1. benlesh commented on Feb 23, 2025

    @benlesh
    Member

    Do you have an example of the code that broke between those two version?

  2. benlesh commented on Feb 23, 2025

    @benlesh
    Member

    Okay, I tried out both versions testing firstValueFrom in each, I couldn't replicate any breakage. The link you provided is just a link to the npm page. Not sure what I'm supposed to get from that. I did a diff between 7.8.1 and 7.8.2 and I can't see any changes to the firstValueFrom code.

    I'm going to close this as I don't have enough information to address whatever is being reported here, and I'll note the only reason I tried is there are two 👍 emojis at the bottom.

    Thank you for trying to report something. I just can't figure out what it is you're trying to report.

  3. ilyakonrad commented on Feb 24, 2025

    @ilyakonrad

    @benlesh I have an example.

    checkStripeStatus() {
      return new Observable((observer) => {
        if (!this.organization) return
        this.stripeService.checkStripeVerificationStatus(this.organization.id).subscribe(
          (stripeRes) => {
            this.store.dispatch(new SetStripeStatus(stripeRes))
            observer.next() // <-- this breaks the build
          },
          () => {
            this.store.dispatch(new SetStripeStatus(null))
            observer.next()
          }
        )
      })
    }
    

    Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions