Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump eventsource-parser from 1.1.2 to 3.0.0 #240

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 21, 2024

Bumps eventsource-parser from 1.1.2 to 3.0.0.

Release notes

Sourced from eventsource-parser's releases.

v3.0.0

3.0.0 (2024-10-19)

⚠ BREAKING CHANGES

  • The parser now takes an object of callbacks instead of an onParse callback. This means you do not have to check the type of the event in the onEvent callback, but instead provide separate callbacks for each event type.
  • The ParsedEvent type has been renamed to EventSourceMessage and the type attribute has been removed.
  • The EventSourceCallback type has been removed in favor of the ParserCallbacks interface.
  • The ReconnectInterval type has been removed in favor of providing the interval directly to the onRetry callback.
  • The ParseEvent type has been removed in favor of providing separate callbacks for each event type.
  • The parser has been rewritten to be more specification compliant. Certain rare edge cases may now be handled differently. Mixed CRLF and LF line endings will now be handled correctly. retry fields now have to be completely valid integers to be parsed.

Features

  • provide onError, onComment, and onRetry callbacks (#15) (c544729)

Migration guide

See migration guide: https://github.com/rexxars/eventsource-parser/blob/main/MIGRATE-v3.md


This release is also available on:

v2.0.1

2.0.1 (2024-08-07)

Bug Fixes

  • include root-level legacy export in published files (c814b4b)

This release is also available on:

v2.0.0

2.0.0 (2024-08-07)

⚠ BREAKING CHANGES

  • BREAKING: minimum node.js version is now v18

Bug Fixes

  • BREAKING: minimum node.js version is now v18 (d652333)
  • enable legacy exports (b88e02c)

This release is also available on:

... (truncated)

Changelog

Sourced from eventsource-parser's changelog.

3.0.0 (2024-10-19)

⚠ BREAKING CHANGES

  • The parser now takes an object of callbacks instead of an onParse callback. This means you do not have to check the type of the event in the onEvent callback, but instead provide separate callbacks for each event type.
  • The ParsedEvent type has been renamed to EventSourceMessage and the type attribute has been removed.
  • The EventSourceCallback type has been removed in favor of the ParserCallbacks interface.

BREAKING CHNAGE: The ReconnectInterval type has been removed in favor of providing the interval directly to the onRetry callback.

  • The ParseEvent type has been removed in favor of providing separate callbacks for each event type.
  • The parser has been rewritten to be more specification compliant. Certain rare edge cases may now be handled differently. Mixed CRLF and LF line endings will now be handled correctly. retry fields now have to be completely valid integers to be parsed.

Features

  • provide onError, onComment, and onRetry callbacks (#15) (c544729)

2.0.1 (2024-08-07)

Bug Fixes

  • include root-level legacy export in published files (c814b4b)

2.0.0 (2024-08-07)

⚠ BREAKING CHANGES

  • BREAKING: minimum node.js version is now v18

Bug Fixes

  • BREAKING: minimum node.js version is now v18 (d652333)
  • enable legacy exports (b88e02c)
Commits
  • 07d564b chore(release): 3.0.0 [skip ci]
  • c544729 feat!: provide onError, onComment, and onRetry callbacks (#15)
  • 0436c7e docs: link to eventsource-client
  • fe2896f ci: add optional testing of deno and bun
  • 9dddec8 ci: rename ci workflow to test
  • 3c031c4 ci: prepare for deno/bun tests, split release and ci workflow
  • 55ded7b refactor: improve deno compatibility
  • 2be0b7c chore(release): 2.0.1 [skip ci]
  • 26ef5f3 ci: upgrade github actions
  • c814b4b fix: include root-level legacy export in published files
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [eventsource-parser](https://github.com/rexxars/eventsource-parser) from 1.1.2 to 3.0.0.
- [Release notes](https://github.com/rexxars/eventsource-parser/releases)
- [Changelog](https://github.com/rexxars/eventsource-parser/blob/main/CHANGELOG.md)
- [Commits](rexxars/eventsource-parser@v1.1.2...v3.0.0)

---
updated-dependencies:
- dependency-name: eventsource-parser
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 21, 2024
Copy link

vercel bot commented Oct 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unsaged ❌ Failed (Inspect) Oct 21, 2024 4:49am
unsaged-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 21, 2024 4:49am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants