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.

HISTORY.md 3.1KB

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