Logo
Explore Help
Register Sign In
leanote/desktop-app
1
0
Fork 0
You've already forked desktop-app
mirror of https://github.com/leanote/desktop-app.git synced 2026-01-16 06:06:30 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
feature-protocol
desktop-app/node_modules/needle/CHANGELOG.md
life 6eba2b2924 add node_modules
2015-09-24 13:31:53 +08:00

1.2 KiB
Raw Permalink Blame History

Api changes between v0.6 and v0.7

In version 0.7 a lot of work was done on the Needle internals to make streams a first class citizen. Needle can now be used as a streams2-compatible stream and you gain a lot of performance improvements come with it.

While great care was taken not to introduce any breaking changes, there are probably a few edge cases in which Needle's behaviour has changed, specifically:

  • Needle now emits a strict streams2-compatible stream. This means that if your code relied on the Needle stream to always be in flowing mode, your code will likely need an update. For more information about this new Stream behavior, please refer to the Node.JS blog.

  • In the v0.6 release, Needle's stream didn't parse, uncompress or did anything to the body content: everything chunk of data that was emitted on the stream was the raw body. In the 0.7 release every chunk of data will be a fully processed chunk, including uncompression, character recoding and parsing (in case of XML/JSON).

If you use the regular callback interface of Needle, this will be a backwards-compatible upgrade.

Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 24ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API