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

docs: deprecate settings.domains #43

Merged
merged 1 commit into from
Jun 3, 2019
Merged

Conversation

sherwinski
Copy link
Contributor

This PR adds further detail to the sharding deprecation warning, alerting users that settings.domains will be deprecated in favor of settings.domain. This change should precede the domain sharding removal release.

@sherwinski sherwinski requested a review from jayeb June 3, 2019 19:29
@@ -47,7 +47,7 @@
this.settings.domains = [this.settings.domains];
}
else {
console.warn("Warning: Domain sharding has been deprecated and will be removed in the next major version.");
console.warn("Warning: Domain sharding has been deprecated and will be removed in the next major version.\nAs a result, the 'domains' argument will be deprecated in favor of 'domain' instead.");
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jayeb I tagged you for review in case you think there's a better way to communicate this

Copy link
Contributor

Choose a reason for hiding this comment

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

Naw, seems fine.

@sherwinski sherwinski merged commit 950c7ba into master Jun 3, 2019
@sherwinski sherwinski deleted the deprecate-settings-domain branch June 3, 2019 21:08
@ericdeansanchez
Copy link
Contributor

🎉 This PR is included in version 0.3.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

3 participants