Major Release 1.0
Popsicle 1.0 is out and in TypeScript!
Changed
- Promise starts resolving on
nextTick
- Separated browser and node scripts for smaller builds and better environment detection (E.g. Node Webkit, Atom)
- Moved environment options into a dedicated
options
setting - Added
use
config option to override default plugins - Exposed default plugins
- Errors no longer use properties and instead use
err.type
string
Added
- Transport layer override (could support JSONP soon)
- Request method short-hands
- Defaults function for creating Popsicle instances
- Dedicated
options
object for environments and transportation layer to use