Skip to content
Snippets Groups Projects
HISTORY.md 5.91 KiB
Newer Older
  • Learn to ignore specific revisions
  • Jay's avatar
    Jay committed
    2.5.2 / 2023-02-21
    ==================
    
      * Fix error message for non-stream argument
    
    2.5.1 / 2022-02-28
    ==================
    
      * Fix error on early async hooks implementations
    
    2.5.0 / 2022-02-21
    ==================
    
      * Prevent loss of async hooks context
      * Prevent hanging when stream is not readable
      * deps: http-errors@2.0.0
        - deps: depd@2.0.0
        - deps: statuses@2.0.1
    
    2.4.3 / 2022-02-14
    ==================
    
      * deps: bytes@3.1.2
    
    2.4.2 / 2021-11-16
    ==================
    
      * deps: bytes@3.1.1
      * deps: http-errors@1.8.1
        - deps: setprototypeof@1.2.0
        - deps: toidentifier@1.0.1
    
    2.4.1 / 2019-06-25
    ==================
    
      * deps: http-errors@1.7.3
        - deps: inherits@2.0.4
    
    2.4.0 / 2019-04-17
    ==================
    
      * deps: bytes@3.1.0
        - Add petabyte (`pb`) support
      * deps: http-errors@1.7.2
        - Set constructor name when possible
        - deps: setprototypeof@1.1.1
        - deps: statuses@'>= 1.5.0 < 2'
      * deps: iconv-lite@0.4.24
        - Added encoding MIK
    
    2.3.3 / 2018-05-08
    ==================
    
      * deps: http-errors@1.6.3
        - deps: depd@~1.1.2
        - deps: setprototypeof@1.1.0
        - deps: statuses@'>= 1.3.1 < 2'
      * deps: iconv-lite@0.4.23
        - Fix loading encoding with year appended
        - Fix deprecation warnings on Node.js 10+
    
    2.3.2 / 2017-09-09
    ==================
    
      * deps: iconv-lite@0.4.19
        - Fix ISO-8859-1 regression
        - Update Windows-1255
    
    2.3.1 / 2017-09-07
    ==================
    
      * deps: bytes@3.0.0
      * deps: http-errors@1.6.2
        - deps: depd@1.1.1
      * perf: skip buffer decoding on overage chunk
    
    2.3.0 / 2017-08-04
    ==================
    
      * Add TypeScript definitions
      * Use `http-errors` for standard emitted errors
      * deps: bytes@2.5.0
      * deps: iconv-lite@0.4.18
        - Add support for React Native
        - Add a warning if not loaded as utf-8
        - Fix CESU-8 decoding in Node.js 8
        - Improve speed of ISO-8859-1 encoding
    
    2.2.0 / 2017-01-02
    ==================
    
      * deps: iconv-lite@0.4.15
        - Added encoding MS-31J
        - Added encoding MS-932
        - Added encoding MS-936
        - Added encoding MS-949
        - Added encoding MS-950
        - Fix GBK/GB18030 handling of Euro character
    
    2.1.7 / 2016-06-19
    ==================
    
      * deps: bytes@2.4.0
      * perf: remove double-cleanup on happy path
    
    2.1.6 / 2016-03-07
    ==================
    
      * deps: bytes@2.3.0
        - Drop partial bytes on all parsed units
        - Fix parsing byte string that looks like hex
    
    2.1.5 / 2015-11-30
    ==================
    
      * deps: bytes@2.2.0
      * deps: iconv-lite@0.4.13
    
    2.1.4 / 2015-09-27
    ==================
    
      * Fix masking critical errors from `iconv-lite`
      * deps: iconv-lite@0.4.12
        - Fix CESU-8 decoding in Node.js 4.x
    
    2.1.3 / 2015-09-12
    ==================
    
      * Fix sync callback when attaching data listener causes sync read
        - Node.js 0.10 compatibility issue
    
    2.1.2 / 2015-07-05
    ==================
    
      * Fix error stack traces to skip `makeError`
      * deps: iconv-lite@0.4.11
        - Add encoding CESU-8
    
    2.1.1 / 2015-06-14
    ==================
    
      * Use `unpipe` module for unpiping requests
    
    2.1.0 / 2015-05-28
    ==================
    
      * deps: iconv-lite@0.4.10
        - Improved UTF-16 endianness detection
        - Leading BOM is now removed when decoding
        - The encoding UTF-16 without BOM now defaults to UTF-16LE when detection fails
    
    2.0.2 / 2015-05-21
    ==================
    
      * deps: bytes@2.1.0
        - Slight optimizations
    
    2.0.1 / 2015-05-10
    ==================
    
      * Fix a false-positive when unpiping in Node.js 0.8
    
    2.0.0 / 2015-05-08
    ==================
    
      * Return a promise without callback instead of thunk
      * deps: bytes@2.0.1
        - units no longer case sensitive when parsing
    
    1.3.4 / 2015-04-15
    ==================
    
      * Fix hanging callback if request aborts during read
      * deps: iconv-lite@0.4.8
        - Add encoding alias UNICODE-1-1-UTF-7
    
    1.3.3 / 2015-02-08
    ==================
    
      * deps: iconv-lite@0.4.7
        - Gracefully support enumerables on `Object.prototype`
    
    1.3.2 / 2015-01-20
    ==================
    
      * deps: iconv-lite@0.4.6
        - Fix rare aliases of single-byte encodings
    
    1.3.1 / 2014-11-21
    ==================
    
      * deps: iconv-lite@0.4.5
        - Fix Windows-31J and X-SJIS encoding support
    
    1.3.0 / 2014-07-20
    ==================
    
      * Fully unpipe the stream on error
        - Fixes `Cannot switch to old mode now` error on Node.js 0.10+
    
    1.2.3 / 2014-07-20
    ==================
    
      * deps: iconv-lite@0.4.4
        - Added encoding UTF-7
    
    1.2.2 / 2014-06-19
    ==================
    
      * Send invalid encoding error to callback
    
    1.2.1 / 2014-06-15
    ==================
    
      * deps: iconv-lite@0.4.3
        - Added encodings UTF-16BE and UTF-16 with BOM
    
    1.2.0 / 2014-06-13
    ==================
    
      * Passing string as `options` interpreted as encoding
      * Support all encodings from `iconv-lite`
    
    1.1.7 / 2014-06-12
    ==================
    
      * use `string_decoder` module from npm
    
    1.1.6 / 2014-05-27
    ==================
    
      * check encoding for old streams1
      * support node.js < 0.10.6
    
    1.1.5 / 2014-05-14
    ==================
    
      * bump bytes
    
    1.1.4 / 2014-04-19
    ==================
    
      * allow true as an option
      * bump bytes
    
    1.1.3 / 2014-03-02
    ==================
    
      * fix case when length=null
    
    1.1.2 / 2013-12-01
    ==================
    
      * be less strict on state.encoding check
    
    1.1.1 / 2013-11-27
    ==================
    
      * add engines
    
    1.1.0 / 2013-11-27
    ==================
    
      * add err.statusCode and err.type
      * allow for encoding option to be true
      * pause the stream instead of dumping on error
      * throw if the stream's encoding is set
    
    1.0.1 / 2013-11-19
    ==================
    
      * dont support streams1, throw if dev set encoding
    
    1.0.0 / 2013-11-17
    ==================
    
      * rename `expected` option to `length`
    
    0.2.0 / 2013-11-15
    ==================
    
      * republish
    
    0.1.1 / 2013-11-15
    ==================
    
      * use bytes
    
    0.1.0 / 2013-11-11
    ==================
    
      * generator support
    
    0.0.3 / 2013-10-10
    ==================
    
      * update repo
    
    0.0.2 / 2013-09-14
    ==================
    
      * dump stream on bad headers
      * listen to events after defining received and buffers
    
    0.0.1 / 2013-09-14
    ==================
    
      * Initial release