tenderlove / nokogiri

Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser with XPath and CSS selector support.

This URL has Read+Write access

nokogiri / History.txt
100644 143 lines (96 sloc) 3.965 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
=== 1.2.1 / 2008-02-23
 
* Bugfixes
 
  * Fixed a CSS selector space bug
  * Fixed Ruby 1.9 String Encoding (Thanks 角谷さん!)
 
=== 1.2.0 / 2008-02-22
 
* New features
 
  * CSS search now supports CSS3 namespace queries
  * Namespaces on the root node are automatically registered
  * CSS queries use the default namespace
  * Nokogiri::XML::Document#encoding get encoding used for this document
  * Nokogiri::XML::Document#url get the document url
  * Nokogiri::XML::Node#add_namespace add a namespace to the node LH#38
  * Nokogiri::XML::Node#each iterate over attribute name, value pairs
  * Nokogiri::XML::Node#keys get all attribute names
  * Nokogiri::XML::Node#line get the line number for a node (Thanks Dirkjan Bussink!)
  * Nokogiri::XML::Node#serialize now takes an optional encoding parameter
  * Nokogiri::XML::Node#to_html, to_xml, and to_xhtml take an optional encoding
  * Nokogiri::XML::Node#to_str
  * Nokogiri::XML::Node#to_xhtml to produce XHTML documents
  * Nokogiri::XML::Node#values get all attribute values
  * Nokogiri::XML::Node#write_to writes the node to an IO object with optional encoding
  * Nokogiri::XML::ProcessingInstrunction.new
  * Nokogiri::XML::SAX::PushParser for all your push parsing needs.
 
* Bugfixes
 
  * Fixed Nokogiri::XML::Document#dup
  * Fixed header detection. Thanks rubikitch!
  * Fixed a problem where invalid CSS would cause the parser to hang
 
* Deprecations
 
  * Nokogiri::XML::Node.new_from_str will be deprecated in 1.3.0
 
* API Changes
 
  * Nokogiri::HTML.fragment now returns an XML::DocumentFragment (LH #32)
 
=== 1.1.1
 
* New features
 
  * Added XML::Node#elem?
  * Added XML::Node#attribute_nodes
  * Added XML::Attr
  * XML::Node#delete added.
  * XML::NodeSet#inner_html added.
 
* Bugfixes
 
  * Not including an HTML entity for \r for HTML nodes.
  * Removed CSS::SelectorHandler and XML::XPathHandler
  * XML::Node#attributes returns an Attr node for the value.
  * XML::NodeSet implements to_xml
 
=== 1.1.0
 
* New Features
 
  * Custom XPath functions are now supported. See Nokogiri::XML::Node#xpath
  * Custom CSS pseudo classes are now supported. See Nokogiri::XML::Node#css
  * Nokogiri::XML::Node#<< will add a child to the current node
 
* Bugfixes
 
  * Mutex lock on CSS cache access
  * Fixed build problems with GCC 3.3.5
  * XML::Node#to_xml now takes an indentation argument
  * XML::Node#dup takes an optional depth argument
  * XML::Node#add_previous_sibling returns new sibling node.
 
=== 1.0.7
 
* Bugfixes
 
  * Fixed memory leak when using Dike
  * SAX parser now parses IO streams
  * Comment nodes have their own class
  * Nokogiri() should delegate to Nokogiri.parse()
  * Prepending rather than appending to ENV['PATH'] on windows
  * Fixed a bug in complex CSS negation selectors
 
=== 1.0.6
 
* 5 Bugfixes
 
  * XPath Parser raises a SyntaxError on parse failure
  * CSS Parser raises a SyntaxError on parse failure
  * filter() and not() hpricot compatibility added
  * CSS searches via Node#search are now always relative
  * CSS to XPath conversion is now cached
 
=== 1.0.5
 
* Bugfixes
 
  * Added mailing list and ticket tracking information to the README.txt
  * Sets ENV['PATH'] on windows if it doesn't exist
  * Caching results of NodeSet#[] on Document
 
=== 1.0.4
 
* Bugfixes
 
  * Changed memory mangement from weak refs to document refs
  * Plugged some memory leaks
  * Builder blocks can call methods from surrounding contexts
 
=== 1.0.3
 
* 5 Bugfixes
 
  * NodeSet now implements to_ary
  * XML::Document should not implement parent
  * More GC Bugs fixed. (Mike is AWESOME!)
  * Removed RARRAY_LEN for 1.8.5 compatibility. Thanks Shane Hanna.
  * inner_html fixed. (Thanks Yehuda!)
 
=== 1.0.2
 
* 1 Bugfix
 
  * extconf.rb should not check for frex and racc
 
=== 1.0.1
 
* 1 Bugfix
 
  * Made sure extconf.rb searched libdir and prefix so that ports libxml/ruby
    will link properly. Thanks lucsky!
 
=== 1.0.0 / 2008-07-13
 
* 1 major enhancement
 
  * Birthday!