Skip to content

Releases: gabebw/candle

v0.8.0

07 Sep 21:47
Compare
Choose a tag to compare
  • Pretty-print the text inside <script> tags (#20)
  • When Candle can't understand a CSS selector, print out the bad selector (c2bafc2)
  • Do a little less work when pretty-printing HTML (e18eb49)

v0.7.0

02 Sep 21:59
Compare
Choose a tag to compare
  • If no selector is provided, pretty-print the HTML: curl ... | candle (#16)
  • When pretty-printing, show self-closing tags without children on 1 line: <meta ...></meta> (#11)
  • Exit quickly if the CSS selectors are malformed (previously, it was parsing the HTML before showing any CSS selector errors. Now it shows errors before doing any HTML parsing.) (9ef7d8e)
  • Don't panic when output is truncated in a pipeline: curl ... | candle | head now does what you'd expect. (#13)

v0.6.0

02 Sep 01:17
Compare
Choose a tag to compare
  • Add an {html} operation that shows pretty-printed HTML. To pretty-print the entire document, run candle 'html {html}'. (#6)

v0.5.0

01 Sep 19:03
Compare
Choose a tag to compare
  • Fix crash that happened when there was <1024 bytes of input HTML (9f38d93)
  • Finders for the same node are shown together. Previously, searching for div attr{class} and div {text} would show all of the classes, then all of the texts. Now it will show the information for a given node next to each other. So it will show each div's class, then that same div's text, then the next div's class and text, and so on. (#4)

v0.4.0

01 Sep 04:29
Compare
Choose a tag to compare
  • Supports multiple selectors, like candle 'h1 {text}, h2 {text}' (#2)

v0.3.0

31 Aug 07:58
Compare
Choose a tag to compare

Handles any encoding found in <meta charset="..."> instead of always assuming UTF-8

v0.2.0

31 Aug 05:27
Compare
Choose a tag to compare

Better error handling

v0.1.0

31 Aug 05:02
Compare
Choose a tag to compare
Extract a method for clarity