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

Latest version (v7.0.0) doesn't work on Ember 3.5 #66

Open
samselikoff opened this issue Nov 30, 2018 · 10 comments
Open

Latest version (v7.0.0) doesn't work on Ember 3.5 #66

samselikoff opened this issue Nov 30, 2018 · 10 comments

Comments

@samselikoff
Copy link
Contributor

Looks like there's been some work done recently – should we cut a release?

@snewcomer
Copy link
Collaborator

@samselikoff Probably a good idea. Was waiting for this PR but perhaps we should throw up a new one - #63

@samselikoff
Copy link
Contributor Author

Cool :)

The error I'm getting is

"Assertion Failed: You attempted to define a {{link-to "subscribe"}} but did not pass the parameters required for generating its dynamic segments. Could not find module ember imported from ember-stripe-service/services/stripe"

(The link-to part is irrelevant). I was surprised that the module import broke in 3.5 because no deprecations were thrown in 2.18 and I just asked in Discord, and was told import Ember from 'ember' is still supported. Wonder what's going on?

@snewcomer
Copy link
Collaborator

@samselikoff Is this a PR you can approve? #67

@samselikoff
Copy link
Contributor Author

I don't have write access

@snewcomer
Copy link
Collaborator

@buritica 👋 Would it be possible to get npm rights so publish 7.1.0? Thanks a lot!

@samselikoff
Copy link
Contributor Author

I also believe this is the root cause, because I'm seeing the same error on 2 other addons ember-cli/ember-cli#8135

@buritica
Copy link
Collaborator

hi everyone.

I just published 7.1.0, please feel free to ping me anytime you do version bump so I can publish.

given the latest npm fun, and since this package remains published by me, I will hold the publishing rights for myself until @joshsmith and I can chat about the right way of transferring these rights.

sidenote, I just restored a change in the .gitignore file that would've lead me to accidentally commit my stripe private key, if we wan't to change the recommended way that people load ENV vars (we use, or used to recommend direnv, and it's the reason why .envrc.example is still in the root) then let's do that. I do apologize for sending the commit directly to master and not sending it as a PR, but considered it critical for security of other people who may fork it.

thank you!

@snewcomer
Copy link
Collaborator

snewcomer commented Nov 30, 2018

Darn. I could have just asked Josh over ramen lunch an hour ago 😋. No worries though. As long as we can get a release, probably nothing to do!

@samselikoff
Copy link
Contributor Author

Coming back to an upgrade and I'm hitting an issue in my test suite, not sure if it's related to this.

I believe the loadJs.then(() => call in the Stripe service isn't properly telling the test to wait, though I'm not sure what changed here between 2.x and 3.x.

Maybe we need to have the _waiter check to make sure the loadJs function has finished?

@snewcomer
Copy link
Collaborator

Anybody looking at this issue, it is still open until we can publish 7.2.0!

Also any updates on the test issue? Not sure I see any tests to verify this in the addon though.

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

No branches or pull requests

3 participants