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.

180 lines
3.9 KiB

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