Skip to content

Releases: astoilkov/console-powers

v0.9.3

31 Oct 15:32
Compare
Choose a tag to compare

v0.9.2...v0.9.3

v0.9.2

15 Jul 13:06
Compare
Choose a tag to compare
  • 🐎 don't call inline inspections unnecessary 9a472c0

v0.9.1...v0.9.2

v0.9.1

10 Jul 11:55
Compare
Choose a tag to compare
  • 🐛 consoleCalls() is not part of the library exports fbe3bba
  • 🐎 faster prepareString() implementation b39f0e4

v0.9.0...v0.9.1

v0.9.0

03 Jul 10:54
Compare
Choose a tag to compare
  • ✨ save last DevTools width guess to localStorage 18ece4c
  • ✨ new consoleCalls() method affc93f
  • ✨ add support for circular references 2c324c0
  • 🐛 when wrap: "multi-line" strings always show as ... 6cd5b9f
  • 🐛 throws an error on server when imported 67ab10c

v0.8.0...v0.9.0

v0.8.0

10 May 11:03
Compare
Choose a tag to compare
  • ✨ new options.keys for filtering object keys da551a4
  • ✨ tries to guess DevTools/inspector width and set options.wrap to it when options.wrap is auto b3156be
  • ✨ print extra properties on arrays as well b31bb92
  • 🔀 consoleInspect(), no longer sort keys b4326b2
  • 🐛 🔀 don't align long object keys 24760bc
  • 🐛 text doesn't wrap in DevTools when it doesn't contain spaces e4290b7
  • 🐛 oops, wrap allows only the number 100 8205d9b

v0.7.0...v0.8.0

v0.7.0

01 Mar 09:03
Compare
Choose a tag to compare
  • consoleInspect() add Map support def4fd2
  • ✨ improve Set output dd9bb0a
  • ✨ better adapt on available line length de745b9
  • consoleInspect() multi-line object keys to use highlight color (as DevTools) 03bf901
  • consoleInspect(string) to show as normal text (as DevTools) 82bb286
  • ✨ make max string length adaptive 5036e42
  • ✨ improve Date printing 3c36d8e
  • ✨ escape \n, \t, \r in strings (as DevTools) a3a8d17
  • 🔀 consoleTable(), rename options.lineLengthoptions.wrap 876188c
  • 🔀 🔥 deprecate options.line property 2460027
  • 🐛 don't include undefined/null values in the style string 9d2f4af
  • 🐜 consoleInspect() apply bigger line-height only for non-primitive types 0cc0bdc

v0.6.0...v0.7.0

v0.6.0

09 Feb 16:09
Compare
Choose a tag to compare
  • ✨ inline objects/arrays in consoleTable() 77a71da 4a964b2
  • ✨ new options.wrap property that's more powerful with auto, single-line, multi-line or number (for switching to multi-line at the specified length) 4a964b2
  • 🔀 old options.lineLength is now removed in favor of options.wrap 4a964b2
  • 🔀 consistent styling of array index and object key in consoleTable() 2760ab8
  • 🔀 the default cell horizontal spacing is now 2 spaces (an option for that coming soon)
  • 🐛 consoleTable() cell padding is incorrectly +1 space on the right 88d9b92
  • 🐛 consoleTable() last column doesn't have a left border 7a3743e
  • 🐛 tables with one column and one row don't render right and bottom borders respectively e115aa9
  • 🐛 empty object has two empty spaces between the brackets 529fe82
  • 🐜 add ConsoleObject to possible types in consoleGroup({ header }) option 9334997

v0.5.0...v0.6.0

v0.5.0

24 Jan 12:40
Compare
Choose a tag to compare
  • 🔀 rename expandDepthdepth (breaking change) aa8b68c
  • ✨ add support for non-plain objects (ex: HTMLElement) 05385ab
  • ✨ add lineLength property (experimental) efba75f
  • ✨ add print: boolean option to consoleInspect() and consoleTable() methods bbdc981
  • ✨ add support dark mode + add theme option dc512c4
  • 🐛 fix border color in dark theme 9925a65

v0.4.0...v0.5.0

v0.4.0

05 Jan 06:49
Compare
Choose a tag to compare
  • ✨ make Date without specified time to print only the date part dccca50
  • ✨ style BigInt differently from number (as DevTools) d02d36b
  • consoleTable(), add support for array of objects 59dc76c
  • consoleTable(), improve flat objects and arrays styling 883706d
  • 🔀 ConsoleMessageConsoleSpan 047c8da
  • 🔀 consoleTable(), make header text bold 119632d
  • 🔀 when line: true, show line at first level as well 4adde75
  • 🐛 style booleans (as DevTools) e86c3b0
  • 🐛 string color is not the same as DevTools df7241a
  • 🐜 allow undefined to be passed to ConsoleStyle d6511d6

v0.3.0...v0.4.0

v0.3.0

25 Dec 09:10
Compare
Choose a tag to compare
  • ✨ add support for inspecting dates 7232838
  • ✨ inspect, add array length at the end of line a552705
  • 🐛 undefined & null color isn't the same as in DevTools 1d38105
  • ✨ primitive arrays & objects to print even when expandDepth is reached 463473a
  • 🐛 single line objects don't need indentation in front 9b2db3e
  • ✨ add a group when inspecting a primitive array 206fa9d
  • ✨ inspecting an array to use multi-line when no available space 50339b4
  • ✨ inspecting object to use multi-line when no available space 2d0efd6
  • 🐛 string color isn't exactly the same as DevTools 1509835
  • ✨ trim longer strings 8d4302a
  • ✨ add extras ff5e9c8
  • 🔀 consoleLine()consoleFlush() 81d8658
  • consoleOrderedList() 69078fc

v0.2.2...v0.3.0