jsoup version 0.3.1 released

2010-Feb-20 I am pleased to announce that jsoup version 0.3.1 is now available for download.

jsoup is a Java library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods.

What's new

  • New feature: Jsoup.isValid(String html, Whitelist) method for user input form validation.
  • Improved Elements.attr(String) to find first matching element in the collection with the desired attribute.
  • Fixed an assertion error when cleaning HTML with empty an attribute

I would like to thank everyone that has tried jsoup and written in to me or to the mailing list with their experiences. Your input is directly shaping jsoup for the better.

If you have any suggestions for the next release, I would love to hear them; please get in touch via the mailing list.

This will likely be the last beta release of jsoup; the API has proved useful and understandable to users and so there's no apparent need to make wholesale changes. Look for version 1 of jsoup in early March.