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.

395 lines
13 KiB

4 years ago
  1. 3.1.0 / 2017-09-26
  2. ==================
  3. * Add `DEBUG_HIDE_DATE` env var (#486)
  4. * Remove ReDoS regexp in %o formatter (#504)
  5. * Remove "component" from package.json
  6. * Remove `component.json`
  7. * Ignore package-lock.json
  8. * Examples: fix colors printout
  9. * Fix: browser detection
  10. * Fix: spelling mistake (#496, @EdwardBetts)
  11. 3.0.1 / 2017-08-24
  12. ==================
  13. * Fix: Disable colors in Edge and Internet Explorer (#489)
  14. 3.0.0 / 2017-08-08
  15. ==================
  16. * Breaking: Remove DEBUG_FD (#406)
  17. * Breaking: Use `Date#toISOString()` instead to `Date#toUTCString()` when output is not a TTY (#418)
  18. * Breaking: Make millisecond timer namespace specific and allow 'always enabled' output (#408)
  19. * Addition: document `enabled` flag (#465)
  20. * Addition: add 256 colors mode (#481)
  21. * Addition: `enabled()` updates existing debug instances, add `destroy()` function (#440)
  22. * Update: component: update "ms" to v2.0.0
  23. * Update: separate the Node and Browser tests in Travis-CI
  24. * Update: refactor Readme, fixed documentation, added "Namespace Colors" section, redid screenshots
  25. * Update: separate Node.js and web browser examples for organization
  26. * Update: update "browserify" to v14.4.0
  27. * Fix: fix Readme typo (#473)
  28. 2.6.9 / 2017-09-22
  29. ==================
  30. * remove ReDoS regexp in %o formatter (#504)
  31. 2.6.8 / 2017-05-18
  32. ==================
  33. * Fix: Check for undefined on browser globals (#462, @marbemac)
  34. 2.6.7 / 2017-05-16
  35. ==================
  36. * Fix: Update ms to 2.0.0 to fix regular expression denial of service vulnerability (#458, @hubdotcom)
  37. * Fix: Inline extend function in node implementation (#452, @dougwilson)
  38. * Docs: Fix typo (#455, @msasad)
  39. 2.6.5 / 2017-04-27
  40. ==================
  41. * Fix: null reference check on window.documentElement.style.WebkitAppearance (#447, @thebigredgeek)
  42. * Misc: clean up browser reference checks (#447, @thebigredgeek)
  43. * Misc: add npm-debug.log to .gitignore (@thebigredgeek)
  44. 2.6.4 / 2017-04-20
  45. ==================
  46. * Fix: bug that would occur if process.env.DEBUG is a non-string value. (#444, @LucianBuzzo)
  47. * Chore: ignore bower.json in npm installations. (#437, @joaovieira)
  48. * Misc: update "ms" to v0.7.3 (@tootallnate)
  49. 2.6.3 / 2017-03-13
  50. ==================
  51. * Fix: Electron reference to `process.env.DEBUG` (#431, @paulcbetts)
  52. * Docs: Changelog fix (@thebigredgeek)
  53. 2.6.2 / 2017-03-10
  54. ==================
  55. * Fix: DEBUG_MAX_ARRAY_LENGTH (#420, @slavaGanzin)
  56. * Docs: Add backers and sponsors from Open Collective (#422, @piamancini)
  57. * Docs: Add Slackin invite badge (@tootallnate)
  58. 2.6.1 / 2017-02-10
  59. ==================
  60. * Fix: Module's `export default` syntax fix for IE8 `Expected identifier` error
  61. * Fix: Whitelist DEBUG_FD for values 1 and 2 only (#415, @pi0)
  62. * Fix: IE8 "Expected identifier" error (#414, @vgoma)
  63. * Fix: Namespaces would not disable once enabled (#409, @musikov)
  64. 2.6.0 / 2016-12-28
  65. ==================
  66. * Fix: added better null pointer checks for browser useColors (@thebigredgeek)
  67. * Improvement: removed explicit `window.debug` export (#404, @tootallnate)
  68. * Improvement: deprecated `DEBUG_FD` environment variable (#405, @tootallnate)
  69. 2.5.2 / 2016-12-25
  70. ==================
  71. * Fix: reference error on window within webworkers (#393, @KlausTrainer)
  72. * Docs: fixed README typo (#391, @lurch)
  73. * Docs: added notice about v3 api discussion (@thebigredgeek)
  74. 2.5.1 / 2016-12-20
  75. ==================
  76. * Fix: babel-core compatibility
  77. 2.5.0 / 2016-12-20
  78. ==================
  79. * Fix: wrong reference in bower file (@thebigredgeek)
  80. * Fix: webworker compatibility (@thebigredgeek)
  81. * Fix: output formatting issue (#388, @kribblo)
  82. * Fix: babel-loader compatibility (#383, @escwald)
  83. * Misc: removed built asset from repo and publications (@thebigredgeek)
  84. * Misc: moved source files to /src (#378, @yamikuronue)
  85. * Test: added karma integration and replaced babel with browserify for browser tests (#378, @yamikuronue)
  86. * Test: coveralls integration (#378, @yamikuronue)
  87. * Docs: simplified language in the opening paragraph (#373, @yamikuronue)
  88. 2.4.5 / 2016-12-17
  89. ==================
  90. * Fix: `navigator` undefined in Rhino (#376, @jochenberger)
  91. * Fix: custom log function (#379, @hsiliev)
  92. * Improvement: bit of cleanup + linting fixes (@thebigredgeek)
  93. * Improvement: rm non-maintainted `dist/` dir (#375, @freewil)
  94. * Docs: simplified language in the opening paragraph. (#373, @yamikuronue)
  95. 2.4.4 / 2016-12-14
  96. ==================
  97. * Fix: work around debug being loaded in preload scripts for electron (#368, @paulcbetts)
  98. 2.4.3 / 2016-12-14
  99. ==================
  100. * Fix: navigation.userAgent error for react native (#364, @escwald)
  101. 2.4.2 / 2016-12-14
  102. ==================
  103. * Fix: browser colors (#367, @tootallnate)
  104. * Misc: travis ci integration (@thebigredgeek)
  105. * Misc: added linting and testing boilerplate with sanity check (@thebigredgeek)
  106. 2.4.1 / 2016-12-13
  107. ==================
  108. * Fix: typo that broke the package (#356)
  109. 2.4.0 / 2016-12-13
  110. ==================
  111. * Fix: bower.json references unbuilt src entry point (#342, @justmatt)
  112. * Fix: revert "handle regex special characters" (@tootallnate)
  113. * Feature: configurable util.inspect()`options for NodeJS (#327, @tootallnate)
  114. * Feature: %O`(big O) pretty-prints objects (#322, @tootallnate)
  115. * Improvement: allow colors in workers (#335, @botverse)
  116. * Improvement: use same color for same namespace. (#338, @lchenay)
  117. 2.3.3 / 2016-11-09
  118. ==================
  119. * Fix: Catch `JSON.stringify()` errors (#195, Jovan Alleyne)
  120. * Fix: Returning `localStorage` saved values (#331, Levi Thomason)
  121. * Improvement: Don't create an empty object when no `process` (Nathan Rajlich)
  122. 2.3.2 / 2016-11-09
  123. ==================
  124. * Fix: be super-safe in index.js as well (@TooTallNate)
  125. * Fix: should check whether process exists (Tom Newby)
  126. 2.3.1 / 2016-11-09
  127. ==================
  128. * Fix: Added electron compatibility (#324, @paulcbetts)
  129. * Improvement: Added performance optimizations (@tootallnate)
  130. * Readme: Corrected PowerShell environment variable example (#252, @gimre)
  131. * Misc: Removed yarn lock file from source control (#321, @fengmk2)
  132. 2.3.0 / 2016-11-07
  133. ==================
  134. * Fix: Consistent placement of ms diff at end of output (#215, @gorangajic)
  135. * Fix: Escaping of regex special characters in namespace strings (#250, @zacronos)
  136. * Fix: Fixed bug causing crash on react-native (#282, @vkarpov15)
  137. * Feature: Enabled ES6+ compatible import via default export (#212 @bucaran)
  138. * Feature: Added %O formatter to reflect Chrome's console.log capability (#279, @oncletom)
  139. * Package: Update "ms" to 0.7.2 (#315, @DevSide)
  140. * Package: removed superfluous version property from bower.json (#207 @kkirsche)
  141. * Readme: fix USE_COLORS to DEBUG_COLORS
  142. * Readme: Doc fixes for format string sugar (#269, @mlucool)
  143. * Readme: Updated docs for DEBUG_FD and DEBUG_COLORS environment variables (#232, @mattlyons0)
  144. * Readme: doc fixes for PowerShell (#271 #243, @exoticknight @unreadable)
  145. * Readme: better docs for browser support (#224, @matthewmueller)
  146. * Tooling: Added yarn integration for development (#317, @thebigredgeek)
  147. * Misc: Renamed History.md to CHANGELOG.md (@thebigredgeek)
  148. * Misc: Added license file (#226 #274, @CantemoInternal @sdaitzman)
  149. * Misc: Updated contributors (@thebigredgeek)
  150. 2.2.0 / 2015-05-09
  151. ==================
  152. * package: update "ms" to v0.7.1 (#202, @dougwilson)
  153. * README: add logging to file example (#193, @DanielOchoa)
  154. * README: fixed a typo (#191, @amir-s)
  155. * browser: expose `storage` (#190, @stephenmathieson)
  156. * Makefile: add a `distclean` target (#189, @stephenmathieson)
  157. 2.1.3 / 2015-03-13
  158. ==================
  159. * Updated stdout/stderr example (#186)
  160. * Updated example/stdout.js to match debug current behaviour
  161. * Renamed example/stderr.js to stdout.js
  162. * Update Readme.md (#184)
  163. * replace high intensity foreground color for bold (#182, #183)
  164. 2.1.2 / 2015-03-01
  165. ==================
  166. * dist: recompile
  167. * update "ms" to v0.7.0
  168. * package: update "browserify" to v9.0.3
  169. * component: fix "ms.js" repo location
  170. * changed bower package name
  171. * updated documentation about using debug in a browser
  172. * fix: security error on safari (#167, #168, @yields)
  173. 2.1.1 / 2014-12-29
  174. ==================
  175. * browser: use `typeof` to check for `console` existence
  176. * browser: check for `console.log` truthiness (fix IE 8/9)
  177. * browser: add support for Chrome apps
  178. * Readme: added Windows usage remarks
  179. * Add `bower.json` to properly support bower install
  180. 2.1.0 / 2014-10-15
  181. ==================
  182. * node: implement `DEBUG_FD` env variable support
  183. * package: update "browserify" to v6.1.0
  184. * package: add "license" field to package.json (#135, @panuhorsmalahti)
  185. 2.0.0 / 2014-09-01
  186. ==================
  187. * package: update "browserify" to v5.11.0
  188. * node: use stderr rather than stdout for logging (#29, @stephenmathieson)
  189. 1.0.4 / 2014-07-15
  190. ==================
  191. * dist: recompile
  192. * example: remove `console.info()` log usage
  193. * example: add "Content-Type" UTF-8 header to browser example
  194. * browser: place %c marker after the space character
  195. * browser: reset the "content" color via `color: inherit`
  196. * browser: add colors support for Firefox >= v31
  197. * debug: prefer an instance `log()` function over the global one (#119)
  198. * Readme: update documentation about styled console logs for FF v31 (#116, @wryk)
  199. 1.0.3 / 2014-07-09
  200. ==================
  201. * Add support for multiple wildcards in namespaces (#122, @seegno)
  202. * browser: fix lint
  203. 1.0.2 / 2014-06-10
  204. ==================
  205. * browser: update color palette (#113, @gscottolson)
  206. * common: make console logging function configurable (#108, @timoxley)
  207. * node: fix %o colors on old node <= 0.8.x
  208. * Makefile: find node path using shell/which (#109, @timoxley)
  209. 1.0.1 / 2014-06-06
  210. ==================
  211. * browser: use `removeItem()` to clear localStorage
  212. * browser, node: don't set DEBUG if namespaces is undefined (#107, @leedm777)
  213. * package: add "contributors" section
  214. * node: fix comment typo
  215. * README: list authors
  216. 1.0.0 / 2014-06-04
  217. ==================
  218. * make ms diff be global, not be scope
  219. * debug: ignore empty strings in enable()
  220. * node: make DEBUG_COLORS able to disable coloring
  221. * *: export the `colors` array
  222. * npmignore: don't publish the `dist` dir
  223. * Makefile: refactor to use browserify
  224. * package: add "browserify" as a dev dependency
  225. * Readme: add Web Inspector Colors section
  226. * node: reset terminal color for the debug content
  227. * node: map "%o" to `util.inspect()`
  228. * browser: map "%j" to `JSON.stringify()`
  229. * debug: add custom "formatters"
  230. * debug: use "ms" module for humanizing the diff
  231. * Readme: add "bash" syntax highlighting
  232. * browser: add Firebug color support
  233. * browser: add colors for WebKit browsers
  234. * node: apply log to `console`
  235. * rewrite: abstract common logic for Node & browsers
  236. * add .jshintrc file
  237. 0.8.1 / 2014-04-14
  238. ==================
  239. * package: re-add the "component" section
  240. 0.8.0 / 2014-03-30
  241. ==================
  242. * add `enable()` method for nodejs. Closes #27
  243. * change from stderr to stdout
  244. * remove unnecessary index.js file
  245. 0.7.4 / 2013-11-13
  246. ==================
  247. * remove "browserify" key from package.json (fixes something in browserify)
  248. 0.7.3 / 2013-10-30
  249. ==================
  250. * fix: catch localStorage security error when cookies are blocked (Chrome)
  251. * add debug(err) support. Closes #46
  252. * add .browser prop to package.json. Closes #42
  253. 0.7.2 / 2013-02-06
  254. ==================
  255. * fix package.json
  256. * fix: Mobile Safari (private mode) is broken with debug
  257. * fix: Use unicode to send escape character to shell instead of octal to work with strict mode javascript
  258. 0.7.1 / 2013-02-05
  259. ==================
  260. * add repository URL to package.json
  261. * add DEBUG_COLORED to force colored output
  262. * add browserify support
  263. * fix component. Closes #24
  264. 0.7.0 / 2012-05-04
  265. ==================
  266. * Added .component to package.json
  267. * Added debug.component.js build
  268. 0.6.0 / 2012-03-16
  269. ==================
  270. * Added support for "-" prefix in DEBUG [Vinay Pulim]
  271. * Added `.enabled` flag to the node version [TooTallNate]
  272. 0.5.0 / 2012-02-02
  273. ==================
  274. * Added: humanize diffs. Closes #8
  275. * Added `debug.disable()` to the CS variant
  276. * Removed padding. Closes #10
  277. * Fixed: persist client-side variant again. Closes #9
  278. 0.4.0 / 2012-02-01
  279. ==================
  280. * Added browser variant support for older browsers [TooTallNate]
  281. * Added `debug.enable('project:*')` to browser variant [TooTallNate]
  282. * Added padding to diff (moved it to the right)
  283. 0.3.0 / 2012-01-26
  284. ==================
  285. * Added millisecond diff when isatty, otherwise UTC string
  286. 0.2.0 / 2012-01-22
  287. ==================
  288. * Added wildcard support
  289. 0.1.0 / 2011-12-02
  290. ==================
  291. * Added: remove colors unless stderr isatty [TooTallNate]
  292. 0.0.1 / 2010-01-03
  293. ==================
  294. * Initial release