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