# Hpricot 0.8.2 released

**URL:** <https://www.ruby-forum.com/t/hpricot-0-8-2-released/178580>\
**Category:** Ruby\
**Created:** [November 6, 2009, 8:50pm UTC](https://www.ruby-forum.com/t/hpricot-0-8-2-released/178580 "2009-11-06T20:50:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicksnels](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Post date:** [November 6, 2009, 8:50pm UTC](https://www.ruby-forum.com/t/hpricot-0-8-2-released/178580/1 "2009-11-06T20:50:18Z")

</div>

Hi all,

I’m one of the three new maintainers for Hpricot (along with Ola B.  
and Emanuel Carnevale), and I’ve just pushed out a new 0.8.2 release  
last night. You can get the gem in the normal fashion via RubyGems  
(gem install hpricot).

Announcement:  
[http://blog.nicksieger.com/articles/2009/11/06/new-hpricot-release](http://blog.nicksieger.com/articles/2009/11/06/new-hpricot-release)

Source/Issues:

> **[GitHub - hpricot/hpricot: Hpricot has ended. Please consider an alternative...](https://github.com/hpricot/hpricot)**
>
> Hpricot has ended. Please consider an alternative like nokogiri. - GitHub - hpricot/hpricot: Hpricot has ended. Please consider an alternative like nokogiri.

Wiki:  
[http://wiki.github.com/hpricot/hpricot](http://wiki.github.com/hpricot/hpricot)

Enjoy,  
/Nick

Changelog:

= 0.8.2  
=== 5 November, 2009

- Bring JRuby support up to speed, including Java-based hpricot\_css  
support
- Change JRuby fast\_xs to have same escaping behavior as C fast\_xs
- fix for issue #2, downcasing of html attributes inside the parser.
- solve issue #3 with bogus etags being preserved in `to_s` rather  
than just `to_original_html`.
- fix error when attempting to reparent cleared node. (issue #5)
- Hpricot::Attributes proxy object for using `ele.attributes[k] = v`  
directly.  
however, it is preferred to use the jquery-like `elements.attr(k, v)`.

= 0.8.1 fixes (for posterity, not previously in the 0.8.1 changelog)  
=== 3 April, 2009

- big problems on Ruby 1.8.6, use INT2FIX instead of INT2NUM. hashes  
were being cast to bignums.
- patch for 1.8.5 to define RARRAY\_PTR. thanks, mike perham!
- inspecting empty document bug, courtesy of @TalLevAmi.

---

<div class="post-metadata">

**Author:** ![nicksnels](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/aca169/32.png) [@nicksnels](https://www.ruby-forum.com/u/nicksnels)\
**Post date:** [November 7, 2009, 7:45am UTC](https://www.ruby-forum.com/t/hpricot-0-8-2-released/178580/2 "2009-11-07T07:45:47Z")

</div>

Nick S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi all,
> 
> I’m one of the three new maintainers for Hpricot (along with Ola B.  
> and Emanuel Carnevale), and I’ve just pushed out a new 0.8.2 release

> = 0.8.2  
> === 5 November, 2009
> 
> - Bring JRuby support up to speed, including Java-based hpricot\_css support
> - Change JRuby fast\_xs to have same escaping behavior as C fast\_xs

Hello Nick,

Before I forget again, I posted about it here when \_why first  
disappeared, but I’ve had some improvements to the C fast\_xs  
module that have been alluding mainline Hpricot for a while:

[http://mid.gmane.org/removed\_email\_address@domain.invalid](http://mid.gmane.org/removed_email_address@domain.invalid)

In the future, feel free to email me if you have any questions  
about the C fast\_xs
