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

Change environment usage to point at different URLs #39

Merged
merged 2 commits into from
Nov 18, 2021

Conversation

cbetta
Copy link
Member

@cbetta cbetta commented Nov 17, 2021

Change environments to production and sandbox (removing staging and development options).

Use environment to determine iframeHost and apiHost.

iframeHost

  • production: embed.{gr4vy_id}.gr4vy.app
  • sandbox: embed.sandbox.{gr4vy_id}.gr4vy.app

apiHost

  • production: api.{gr4vy_id}.gr4vy.app
  • sandbox: api.sandbox.{gr4vy_id}.gr4vy.app

EmbedUI

In EmbedUI we've removed all usage of the environment parameter. See https://github.com/gr4vy/embed-ui/pull/148.

One remaining question is if we need to stop the environment prop from being sent EmbedUI.

Release Notes

The environment property can now only be set to either production or sandbox. The sandbox value is a new value that replaces both the development and 'stagingvalues that were previously used. Theenvironment` variable will now be used to connect to the right Gr4vy instance.

@cbetta cbetta changed the title Change environment usage to point at different URLs feat(sandbox): Change environment usage to point at different URLs Nov 17, 2021
@douglaseggleton douglaseggleton added release Create a release when this pr is merged major Increment the major version when merged labels Nov 17, 2021
@douglaseggleton douglaseggleton changed the title feat(sandbox): Change environment usage to point at different URLs Change environments to production and sandbox (removing staging/development) Nov 18, 2021
@douglaseggleton douglaseggleton changed the title Change environments to production and sandbox (removing staging/development) Change environment usage to point at different URLs Nov 18, 2021
@ipeluffo ipeluffo merged commit 8c03c97 into main Nov 18, 2021
@ipeluffo ipeluffo deleted the ta-363/refactor-environment branch November 18, 2021 17:09
@gr4vy-code
Copy link
Collaborator

🚀 PR was released in v2.0.0 🚀

@gr4vy-code gr4vy-code added the released Issue or pull request released label Nov 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
major Increment the major version when merged release Create a release when this pr is merged released Issue or pull request released
Development

Successfully merging this pull request may close these issues.

4 participants