You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

149 lines
3.1 KiB

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