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

Deprecate in favor of ember-network? #21

Closed
rwjblue opened this issue Mar 24, 2017 · 9 comments
Closed

Deprecate in favor of ember-network? #21

rwjblue opened this issue Mar 24, 2017 · 9 comments

Comments

@rwjblue
Copy link
Member

rwjblue commented Mar 24, 2017

ember-network also provides fetch from whatwg-fetch, but it supports fastboot and browser environments.

Should we deprecate this addon in favor of that one?

@Turbo87
Copy link
Member

Turbo87 commented Apr 3, 2017

@rwjblue
Copy link
Member Author

rwjblue commented Apr 3, 2017

Yep, which argues even more for deprecating one of them 😜

@tchak
Copy link
Collaborator

tchak commented Apr 5, 2017

@rwjblue ember-fetch is much more uptodate then ember-network. I tried to make pull requests to ember-network but they were ignored. I am happy to help with whatever decision is made but I already ported once back and forth between both repositories. So if a clear decision is made on something, I will help. In the mean time I will continue to update ember-fetch.

@stefanpenner
Copy link
Collaborator

I believe ember-network was copied from here, with lofty goals of being more then just fetch. If it is just fetch, we should just use this one. If it is actually more we should use that one.

I would gladly maintain one, but not both...

@stefanpenner
Copy link
Collaborator

stefanpenner commented Apr 5, 2017

cc @tomdale whats your plan for ember-network as it at one point was more aspirational but seems to have actually lagged behind.

@rwjblue
Copy link
Member Author

rwjblue commented Apr 5, 2017

Ya, I think my main point is the same as @stefanpenner. I just don't think we need two competing solutions that are basically the same (and both created by core team members no less!)...

@stefanpenner
Copy link
Collaborator

stefanpenner commented Apr 5, 2017

My recommendation is to keep this one, as it is the original and continues to be maintained... tomdale/ember-network#17

@rwjblue
Copy link
Member Author

rwjblue commented Apr 5, 2017

Agreed.

ef4 added a commit to ef4/ember-simple-auth that referenced this issue Apr 13, 2017
ember-fetch is being more actively maintained and is more up-to-date with the fetch spec.

See discussion in tomdale/ember-network#17 and ember-cli/ember-fetch#21

The one change I made in the tests is because `headers.getAll` was [removed from the current WHATWG standard](https://www.fxsitecompat.com/en-CA/docs/2016/headers-getall-has-been-removed-in-favour-of-get-now-returning-all-values/), so ember-fetch doesn't implement it.

Also be advised that 1.4.0 <= ember-fetch < 1.4.2 actually conflicts with ember-network due to ember-cli/ember-fetch#27, which is how I even noticed my app was including ember-network via ember-simple-network.
marcoow pushed a commit to mainmatter/ember-simple-auth that referenced this issue Apr 14, 2017
ember-fetch is being more actively maintained and is more up-to-date with the fetch spec.

See discussion in tomdale/ember-network#17 and ember-cli/ember-fetch#21

The one change I made in the tests is because `headers.getAll` was [removed from the current WHATWG standard](https://www.fxsitecompat.com/en-CA/docs/2016/headers-getall-has-been-removed-in-favour-of-get-now-returning-all-values/), so ember-fetch doesn't implement it.

Also be advised that 1.4.0 <= ember-fetch < 1.4.2 actually conflicts with ember-network due to ember-cli/ember-fetch#27, which is how I even noticed my app was including ember-network via ember-simple-network.
marcoow pushed a commit to stevenwu/ember-simple-auth that referenced this issue Apr 24, 2017
ember-fetch is being more actively maintained and is more up-to-date with the fetch spec.

See discussion in tomdale/ember-network#17 and ember-cli/ember-fetch#21

The one change I made in the tests is because `headers.getAll` was [removed from the current WHATWG standard](https://www.fxsitecompat.com/en-CA/docs/2016/headers-getall-has-been-removed-in-favour-of-get-now-returning-all-values/), so ember-fetch doesn't implement it.

Also be advised that 1.4.0 <= ember-fetch < 1.4.2 actually conflicts with ember-network due to ember-cli/ember-fetch#27, which is how I even noticed my app was including ember-network via ember-simple-network.
marcoow pushed a commit to dknutsen/ember-simple-auth that referenced this issue May 3, 2017
ember-fetch is being more actively maintained and is more up-to-date with the fetch spec.

See discussion in tomdale/ember-network#17 and ember-cli/ember-fetch#21

The one change I made in the tests is because `headers.getAll` was [removed from the current WHATWG standard](https://www.fxsitecompat.com/en-CA/docs/2016/headers-getall-has-been-removed-in-favour-of-get-now-returning-all-values/), so ember-fetch doesn't implement it.

Also be advised that 1.4.0 <= ember-fetch < 1.4.2 actually conflicts with ember-network due to ember-cli/ember-fetch#27, which is how I even noticed my app was including ember-network via ember-simple-network.
@tchak
Copy link
Collaborator

tchak commented Jul 12, 2017

This is done on the ember-network side. Closing.

@tchak tchak closed this as completed Jul 12, 2017
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

4 participants