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

Allow consolidated-events ^2.0.0 #256

Merged
merged 1 commit into from
Jun 18, 2018
Merged

Allow consolidated-events ^2.0.0 #256

merged 1 commit into from
Jun 18, 2018

Conversation

lencioni
Copy link
Collaborator

None of the changes affect how consolidated-events is used in
react-waypoint.

Changelog:

  • Now built with rollup (#8)
  • Deprecated removeEventListener export removed (#13)
  • Passive event listener test is now removed after being added (#11)
  • Reduced bundle size impact by replacing a class with a function (#12)

None of the changes affect how consolidated-events is used in
react-waypoint.

Changelog:

- Now built with rollup ([#8](lencioni/consolidated-events#8))
- Deprecated `removeEventListener` export removed ([#13](lencioni/consolidated-events#13))
- Passive event listener test is now removed after being added ([#11](lencioni/consolidated-events#11))
- Reduced bundle size impact by replacing a class with a function ([#12](lencioni/consolidated-events#12))
@@ -67,7 +67,7 @@
"scrollspy"
],
"dependencies": {
"consolidated-events": "^1.1.0",
"consolidated-events": "^1.1.0 || ^2.0.0",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why didn’t you just upgrade to 2.0.0?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to make it easier for people who have to deal with breaking changes in consolidated-events to upgrade more gradually. Also, there's no reason in this package for us to not support v1, so might as well.

@MatthewHerbst
Copy link
Contributor

@lencioni did you mean to include the changelog stuff in a different PR?

@lencioni
Copy link
Collaborator Author

@MatthewHerbst I'm not sure I understand your question. Do you mean updating the changelog for react-waypoint? I've been doing that at publish time lately.

@lencioni lencioni merged commit edbe92e into master Jun 18, 2018
@lencioni lencioni deleted the consolidated-events-2 branch June 18, 2018 18:24
@MatthewHerbst
Copy link
Contributor

@lencioni No problem. I was just confused why there was changelog stuff listed in the OP for this PR but that the PR doesn't touch the changelog.

@lencioni
Copy link
Collaborator Author

That's the changelog for the consolidated-events version difference to help give reviewers more context about what this change actually entails.

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.

4 participants