Skip to content

release: 2.0.0#275

Merged
adampash merged 1 commit intomasterfrom
release-2.0.0
Feb 13, 2019
Merged

release: 2.0.0#275
adampash merged 1 commit intomasterfrom
release-2.0.0

Conversation

@adampash
Copy link
Copy Markdown
Contributor

This is a full version bump. The signature for Mercury.parse has changed from:

Mercury.parse(url, html, { ...opts })

to:

Mercury.parse(url, { html, ...opts })

Basically to keep the API more flexible for adding new options in the future, we're moving the optional html argument inside the options object. This will prevent a lot of unnecessary Mercury.parse(url, null, { foo: bar }) calls in the future.

@adampash adampash merged commit b044cfa into master Feb 13, 2019
@adampash adampash deleted the release-2.0.0 branch February 13, 2019 23:46
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