Skip to content
This repository was archived by the owner on Feb 23, 2020. It is now read-only.

pin ember data version to ^3.10.0 #107

Merged

Conversation

cafreeman
Copy link
Contributor

This PR address an issue (reported here) with Ember Data in the current Octane blueprint where there were some issues because the default usage of fetch in ember data was still in progress.

This work has now been completed here, so we can pin the ember data version to the latest stable release 💪

@cafreeman cafreeman force-pushed the cfreeman/pin-ember-data-version branch from 0ea8bf9 to ca33b95 Compare May 14, 2019 17:54
Copy link
Collaborator

@NullVoxPopuli NullVoxPopuli left a comment

Choose a reason for hiding this comment

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

Just wondering if we should still have a dynamic version

@@ -34,7 +34,7 @@
"ember-cli-sri": "^2.1.1",
"ember-cli-template-lint": "^1.0.0-beta.1",
"ember-cli-uglify": "^2.1.0",
"ember-data": "<%= emberData %>",
"ember-data": "^3.10.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Instead of hard coding this to ^3.10.0, can it be the latest release? So that way as ember-data continues to release new versions, we don't need to keep updating the blueprint?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That's actually the behavior we get from the ^ in ^3.10.0, since ^ will resolve to the latest available 3.x version (but not less than 3.10)

Copy link
Collaborator

Choose a reason for hiding this comment

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

oh cool.

@@ -16,15 +16,12 @@ module.exports = {
getRepoVersion('ember-cli', 'ember-cli'),
getRepoVersion('emberjs', 'data'),
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you need to remove this line?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch! 🙏

@cafreeman cafreeman force-pushed the cfreeman/pin-ember-data-version branch from ca33b95 to ac54265 Compare May 14, 2019 18:08
@NullVoxPopuli NullVoxPopuli merged commit 447386e into ember-cli:master May 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants