Closed mikehedman closed 9 years ago
:+1:
Can we throw up a quick test around this?
yeah, my bad. Let me work up a test or two.
be aware @mikehedman that this PR will need to be updated because of some changes upstream
Yes, I'll deal with that now.
OK, I think it's good to go now.
+1 very good tests thank you!
+1, thanks @mikehedman!
@wraithgar would you agree that this should be a minor release?
+1 on this. Unsure about semver though. I would imagine this shouldn't break apps, but, could it?
In my opinion, it would be a very odd case, but yes there is the possibility that this could break an app. If someone had made an api call, saw that they get back XML, and then built around that fact, the switch to JSON would almost certainly cause their app to stop working. So from a literal semver point of view, it can break. In reality though, I think we would all assume that was pretty unlikely.
Sorry, hit the wrong button.
@mikehedman is right and this is a major release. As unlikely as this one is, 'breaking change' is a binary test not a probability.
In that case let's add this to a milestone, and not merge it yet. Making breaking changes to sync is a pain in the butt, and I'm pretty sure we have some other bugs/issues we might like to fix in a major release.
It's a pain because releasing it means re-releasing almost all it's dependencies.
Philip Roberts &yet
On 12 Nov 2014, at 16:14, Michael Garvin notifications@github.com wrote:
@mikehedman is right and this is a major release. As unlikely as this one is, 'breaking change' is a binary test not a probability.
— Reply to this email directly or view it on GitHub.
Where by dependencies I mean dependants.
Philip Roberts &yet
On 12 Nov 2014, at 16:14, Michael Garvin notifications@github.com wrote:
@mikehedman is right and this is a major release. As unlikely as this one is, 'breaking change' is a binary test not a probability.
— Reply to this email directly or view it on GitHub.
Merged manually (actually, I copypasted code into right places, but the merge kept references to contributor)
Sets the default ajax config header for Accept to 'application/json'.