[d24f17c] | 1 | 2.0.0 / 2021-12-17
|
---|
| 2 | ==================
|
---|
| 3 |
|
---|
| 4 | * Drop support for Node.js 0.6
|
---|
| 5 | * Remove `I'mateapot` export; use `ImATeapot` instead
|
---|
| 6 | * Remove support for status being non-first argument
|
---|
| 7 | * Rename `UnorderedCollection` constructor to `TooEarly`
|
---|
| 8 | * deps: depd@2.0.0
|
---|
| 9 | - Replace internal `eval` usage with `Function` constructor
|
---|
| 10 | - Use instance methods on `process` to check for listeners
|
---|
| 11 | * deps: statuses@2.0.1
|
---|
| 12 | - Fix messaging casing of `418 I'm a Teapot`
|
---|
| 13 | - Remove code 306
|
---|
| 14 | - Rename `425 Unordered Collection` to standard `425 Too Early`
|
---|
| 15 |
|
---|
| 16 | 2021-11-14 / 1.8.1
|
---|
| 17 | ==================
|
---|
| 18 |
|
---|
| 19 | * deps: toidentifier@1.0.1
|
---|
| 20 |
|
---|
| 21 | 2020-06-29 / 1.8.0
|
---|
| 22 | ==================
|
---|
| 23 |
|
---|
| 24 | * Add `isHttpError` export to determine if value is an HTTP error
|
---|
| 25 | * deps: setprototypeof@1.2.0
|
---|
| 26 |
|
---|
| 27 | 2019-06-24 / 1.7.3
|
---|
| 28 | ==================
|
---|
| 29 |
|
---|
| 30 | * deps: inherits@2.0.4
|
---|
| 31 |
|
---|
| 32 | 2019-02-18 / 1.7.2
|
---|
| 33 | ==================
|
---|
| 34 |
|
---|
| 35 | * deps: setprototypeof@1.1.1
|
---|
| 36 |
|
---|
| 37 | 2018-09-08 / 1.7.1
|
---|
| 38 | ==================
|
---|
| 39 |
|
---|
| 40 | * Fix error creating objects in some environments
|
---|
| 41 |
|
---|
| 42 | 2018-07-30 / 1.7.0
|
---|
| 43 | ==================
|
---|
| 44 |
|
---|
| 45 | * Set constructor name when possible
|
---|
| 46 | * Use `toidentifier` module to make class names
|
---|
| 47 | * deps: statuses@'>= 1.5.0 < 2'
|
---|
| 48 |
|
---|
| 49 | 2018-03-29 / 1.6.3
|
---|
| 50 | ==================
|
---|
| 51 |
|
---|
| 52 | * deps: depd@~1.1.2
|
---|
| 53 | - perf: remove argument reassignment
|
---|
| 54 | * deps: setprototypeof@1.1.0
|
---|
| 55 | * deps: statuses@'>= 1.4.0 < 2'
|
---|
| 56 |
|
---|
| 57 | 2017-08-04 / 1.6.2
|
---|
| 58 | ==================
|
---|
| 59 |
|
---|
| 60 | * deps: depd@1.1.1
|
---|
| 61 | - Remove unnecessary `Buffer` loading
|
---|
| 62 |
|
---|
| 63 | 2017-02-20 / 1.6.1
|
---|
| 64 | ==================
|
---|
| 65 |
|
---|
| 66 | * deps: setprototypeof@1.0.3
|
---|
| 67 | - Fix shim for old browsers
|
---|
| 68 |
|
---|
| 69 | 2017-02-14 / 1.6.0
|
---|
| 70 | ==================
|
---|
| 71 |
|
---|
| 72 | * Accept custom 4xx and 5xx status codes in factory
|
---|
| 73 | * Add deprecation message to `"I'mateapot"` export
|
---|
| 74 | * Deprecate passing status code as anything except first argument in factory
|
---|
| 75 | * Deprecate using non-error status codes
|
---|
| 76 | * Make `message` property enumerable for `HttpError`s
|
---|
| 77 |
|
---|
| 78 | 2016-11-16 / 1.5.1
|
---|
| 79 | ==================
|
---|
| 80 |
|
---|
| 81 | * deps: inherits@2.0.3
|
---|
| 82 | - Fix issue loading in browser
|
---|
| 83 | * deps: setprototypeof@1.0.2
|
---|
| 84 | * deps: statuses@'>= 1.3.1 < 2'
|
---|
| 85 |
|
---|
| 86 | 2016-05-18 / 1.5.0
|
---|
| 87 | ==================
|
---|
| 88 |
|
---|
| 89 | * Support new code `421 Misdirected Request`
|
---|
| 90 | * Use `setprototypeof` module to replace `__proto__` setting
|
---|
| 91 | * deps: statuses@'>= 1.3.0 < 2'
|
---|
| 92 | - Add `421 Misdirected Request`
|
---|
| 93 | - perf: enable strict mode
|
---|
| 94 | * perf: enable strict mode
|
---|
| 95 |
|
---|
| 96 | 2016-01-28 / 1.4.0
|
---|
| 97 | ==================
|
---|
| 98 |
|
---|
| 99 | * Add `HttpError` export, for `err instanceof createError.HttpError`
|
---|
| 100 | * deps: inherits@2.0.1
|
---|
| 101 | * deps: statuses@'>= 1.2.1 < 2'
|
---|
| 102 | - Fix message for status 451
|
---|
| 103 | - Remove incorrect nginx status code
|
---|
| 104 |
|
---|
| 105 | 2015-02-02 / 1.3.1
|
---|
| 106 | ==================
|
---|
| 107 |
|
---|
| 108 | * Fix regression where status can be overwritten in `createError` `props`
|
---|
| 109 |
|
---|
| 110 | 2015-02-01 / 1.3.0
|
---|
| 111 | ==================
|
---|
| 112 |
|
---|
| 113 | * Construct errors using defined constructors from `createError`
|
---|
| 114 | * Fix error names that are not identifiers
|
---|
| 115 | - `createError["I'mateapot"]` is now `createError.ImATeapot`
|
---|
| 116 | * Set a meaningful `name` property on constructed errors
|
---|
| 117 |
|
---|
| 118 | 2014-12-09 / 1.2.8
|
---|
| 119 | ==================
|
---|
| 120 |
|
---|
| 121 | * Fix stack trace from exported function
|
---|
| 122 | * Remove `arguments.callee` usage
|
---|
| 123 |
|
---|
| 124 | 2014-10-14 / 1.2.7
|
---|
| 125 | ==================
|
---|
| 126 |
|
---|
| 127 | * Remove duplicate line
|
---|
| 128 |
|
---|
| 129 | 2014-10-02 / 1.2.6
|
---|
| 130 | ==================
|
---|
| 131 |
|
---|
| 132 | * Fix `expose` to be `true` for `ClientError` constructor
|
---|
| 133 |
|
---|
| 134 | 2014-09-28 / 1.2.5
|
---|
| 135 | ==================
|
---|
| 136 |
|
---|
| 137 | * deps: statuses@1
|
---|
| 138 |
|
---|
| 139 | 2014-09-21 / 1.2.4
|
---|
| 140 | ==================
|
---|
| 141 |
|
---|
| 142 | * Fix dependency version to work with old `npm`s
|
---|
| 143 |
|
---|
| 144 | 2014-09-21 / 1.2.3
|
---|
| 145 | ==================
|
---|
| 146 |
|
---|
| 147 | * deps: statuses@~1.1.0
|
---|
| 148 |
|
---|
| 149 | 2014-09-21 / 1.2.2
|
---|
| 150 | ==================
|
---|
| 151 |
|
---|
| 152 | * Fix publish error
|
---|
| 153 |
|
---|
| 154 | 2014-09-21 / 1.2.1
|
---|
| 155 | ==================
|
---|
| 156 |
|
---|
| 157 | * Support Node.js 0.6
|
---|
| 158 | * Use `inherits` instead of `util`
|
---|
| 159 |
|
---|
| 160 | 2014-09-09 / 1.2.0
|
---|
| 161 | ==================
|
---|
| 162 |
|
---|
| 163 | * Fix the way inheriting functions
|
---|
| 164 | * Support `expose` being provided in properties argument
|
---|
| 165 |
|
---|
| 166 | 2014-09-08 / 1.1.0
|
---|
| 167 | ==================
|
---|
| 168 |
|
---|
| 169 | * Default status to 500
|
---|
| 170 | * Support provided `error` to extend
|
---|
| 171 |
|
---|
| 172 | 2014-09-08 / 1.0.1
|
---|
| 173 | ==================
|
---|
| 174 |
|
---|
| 175 | * Fix accepting string message
|
---|
| 176 |
|
---|
| 177 | 2014-09-08 / 1.0.0
|
---|
| 178 | ==================
|
---|
| 179 |
|
---|
| 180 | * Initial release
|
---|