question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Roadmap discussion for 3.0

See original GitHub issue

Plans for v3.0.0 (updated as discussion progresses)

  • 1. drop old IE support, keep it in require('xhr/legacy') or just let people use 2.x
  • 2. ensure all options that xhr implements are compatible with request
  • 3. add fully automated cross-browser tests (surprisingly hard to do if you need to have a mock server)
  • 4. stop accepting content in json option, make it boolean
  • 5. fix #149

If you have any other important items on your agenda and want to start/keep contributing to xhr feel free to chime in.

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:3
  • Comments:22 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
dhritzkivcommented, Nov 23, 2016

Another: Remove some dependencies that are overkill. Namely xtend and is-function

xtend is used in one place:

//L39...
else {
    params = xtend(options, {uri: uri})
}
//...

Where this can simply be achieved with:

//L39...
else {
    params = options;
    params.uri = uri;
}
//...

And is-function, since typeof options === "function" is enough of a check, especially in the browsers that v3.0 will support.

2reactions
naugturcommented, Oct 7, 2016

@reqshark we’d drop most of the support for browsers that don’t have a standard compliant XMLHttpRequest object, so in IE8 and IE9 cross-origin will no longer work. Also, tweaks for IE8 will go away. New version should be usable (with some hacks) on IE9 for very basic things.

@TehShrike @mhart I think you’re both right 😃 We should be able to figure out what the breaking changes will be and focus on releasing the breaking changes as 3.0 and then work on non-breaking changes for 3.1, 3.2 … It’d be a bad thing for our userbase if we quickly released v3, v4 and so on.

Anyway, I think we should focus on figuring out how to run cross-browser tests of the whole thing, because every new service for running browser tests I found would not let us make requests outside or start a node server. It was only possible with (now deceased) Testling. I’ve been testing on localhost with browsers on VMs ever since.

Read more comments on GitHub >

github_iconTop Results From Across the Web

️ Roadmap 3.0 #1371 - kamilkisiela/graphql-inspector - GitHub
Track current progress in "Full Product" project. Free and OpenSource. As always, all the things done in GraphQL Inspector are free to use...
Read more >
Warpath - Roadmap 3.0 - YouTube
Roadmap 3.0 discussion.-------------------------Join our Discord: https://discord.gg/XYwZzxrQ2USupport Me: ...
Read more >
Spark 3.0.0 roadmap discussion
Spark 3.0.0 roadmap discussion ... Moving discussion out of UI refresh thread to not have too many topics there. Also, this is outside...
Read more >
(PDF) Government 3.0: Scenarios and Roadmap of Research
This chapter applies scenario-based science and technology roadmapping to outline potential future uses of disruptive technologies. It develops ...
Read more >
Within the Roadmap (Portfolio for Jira 3.0), does ...
I would like to see if the Roadmap has the ability to show history of the different changes through the EPIC/Feature/Stories that may...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found