root/XML-Atom-0.22/Changes

Revision 397, 10.0 kB (checked in by miya, 2 years ago)

--

Line 
1 $Id$
2
3 Revision history for XML::Atom
4
5 0.22  2006.07.24
6     * Refactored internal element accessors by eating the new dog food
7       mk_elem_accessors and mk_object_list_accessor.
8     * Added support of Atom 1.0 <category> parse and generation
9     * Added $thing->links and $thing->categories as a moniker method
10       that returns an array reference in a scalar context
11     * Fixed a bug in $content->body() where it accidentally thinks the
12       content is not a valid Unicode string even if it is, if you call
13       eval {} in elsewhere in the code and $@ is left set.
14       (Thanks to Chris Dent for the patch)
15
16 0.21  2006.07.13
17     * propagate $entry's version when we create content element off of entry
18       using $entry->content("foo") syntax.
19       (Thanks to Simon Wistow for spotting this bug)
20
21 0.20  2006.07.12
22     * Lots of refactoring, which simplifies much of the code in the various
23       construct modules (Person, Link, etc), and which should also make it
24       much more straightforward to add extension classes in the future.
25     * Added global $XML::Atom::ForceUnicode flag to return everything as Unicode flagged
26       (Suggested by many people)
27     * Added global $XML::Atom::DefaultVersion flag to set default
28       version number for generated Atom feed. Defaults to 0.3 (for backward compatibility)
29     * Added support for atom:content @type in Atom 1.0 feeds
30       (Suggested by many people, especially Chris Dent and Andy Lester from Socialtext)
31
32 0.19  2006.03.19
33     * Fix 0.18 bug where renaming stuff was totally broken.
34
35 0.18  2006.03.16
36     * Support Atom 0.3 -> 1.0 renaming bits (issued -> published,
37       modified -> updated, tagline -> subtitle)
38     * $atom->content->body doesn't return Unicode flagged variable
39       anymore, even if it's text/ data. Now it just returns UTF-8 bytes.
40       (Thanks to Garth Webb)
41
42 0.17  2006.02.22
43     * Fixed problem with XML::XPath
44
45 0.16  2005.11.22
46     * Fixed a terrible bug when you set binary data to $entry->content
47
48 0.15  2005.11.01
49     - Fixed bug found in mode => 'insert'
50       (Thanks to Dominic Mitchell)
51
52 0.14  2005.10.21
53     - Fixed bug that it decodes binary data as UTF-8 octet
54       (Thanks to Mahlon E. Smith)
55     - Don't eat up STDIN in cgi-mode
56       (Thanks to Bayle Shanks)
57
58 0.13_02
59     - Now supports insert mode, by passing hash reference in add_entry
60       $feed->add_entry($entry, { mode => 'insert' });
61       (Thanks to Dominic Mitchell)
62
63 0.13_01  2005.09.13
64     - Now supports creating version 1.0 feed by passing new(Version => 1.0)
65     - Be more strict in utf-8 handling and base64ing
66       (Thanks to Dave Rolsky)
67
68 0.13  2005.08.18
69     - Bumped up the version
70
71 0.12_02
72     - $feed->version now returns 1.0 when xmlns patches with that for 1.0
73     - Fixed segmentation fault problem with <atom:content> longer than 2.5k
74       (Thanks to Chris Dent and Ryan King)
75     - No unicode decode hack on content withou mode="xml"
76
77 0.12_01  2005.07.19
78     - Added Atom 1.0 feed support for parsing
79     - Hacked Unicode entity in $content->body
80     - Added $entry->contributor
81     - $entry->contributor and $entry->person returns list in list context
82     - Added $content->lang and $content->base (xml:lang and xml:base)
83     - Make sure $feed->as_xml doesn't set utf-8 flag
84
85 0.12  2005.06.07
86     - Documentation fixes for XML::Atom::Server. Thanks to Tatsuhiko
87       Miyagawa for the patch.
88     - Removed XML::LibXSLT usage. Too much pain for too little gain.
89       To be clear: all it was doing was namespace normalization, so
90       removing it should make no difference.
91     - Fixed _utf8_off bug in XML::Atom::Client that causes fatal error
92       in POSTing multibyte content (Tatsuhiko Miyagawa, Masayoshi Sekimura)
93     - Added XML::Atom::Thing::add method to allow $entry->add()
94       (Tatsuhiko Miyagawa)
95
96 0.11  2005.02.23
97     - Remove the default: namespace when converting to XML using as_xml
98       (the earlier fix only fixed it when getting the contents of an entry
99       using $entry->content).
100     - UTF-8 data is no longer base64-encoded in XML::Atom::Content. Thanks
101       to Tatsuhiko Miyagawa for the patch.
102     - Added XML::Atom::Entry::getlist($ns, $element) to retrieve the values
103       of an element that may appear multiple times in the entry (like
104       dc:subject). Thanks to Tatsuhiko Miyagawa for the patch.
105     - Added ability to set namespaced attributes in an XML::Atom::Link
106       object. Thanks to Tatsuhiko Miyagawa for the patch.
107     - XML::Atom::Entry::add_link($link) no longer clones $link if it's
108       a XML::Atom::Link object. Thanks to Tatsuhiko Miyagawa for the
109       patch.
110
111 0.10  2004.12.31
112     - Eliminated unitialized value warning on <link /> attributes that
113       aren't set.
114     - Added XML::Atom::Feed->version to get and set the version of the feed.
115     - XML::Atom::Feed->language can now be used to set the language of
116       the feed.
117     - Added support for using XML::XPath in XML::Atom::Server. Thanks to
118       Autrijus Tang for the patch.
119
120 0.09  2004.07.29
121     - Fixed "500 Malformed characters in syswrite" bug with utf-8. Thanks to
122       Tatsuhiko Miyagawa for the patch.
123     - Fixed bug in server where empty XML response would cause an error. Thanks
124       to Tatsuhiko Miyagawa for the patch.
125
126 0.08  2004.06.01
127     - Added XML::Atom::Feed::language method, which returns the language
128       of the feed (from 'xml:lang').
129     - Added XML::Atom::Feed::author, which returns a XML::Atom::Person
130       object representing the <author> element.
131     - Remove the default: namespace prefix that XML::LibXML adds inside
132       <content mode="xml"> elements.
133     - Use LWP::Authen::Wsse module for WSSE authentication when in REST
134       mode, which handles redirects properly.
135
136 0.07  2004.05.15
137     - Added (experimental) support for using XML::XPath as an alternative
138       to XML::LibXML. This is detected automatically upon loading XML::Atom;
139       XML::LibXML is still the default.
140     - WSSE authentication tokens now persist properly across server
141       redirects. Thanks to Autrijus Tang for the patch.
142     - Fixed bug where empty password (empty string or "0") would cause
143       an invalid login in Atom server core. Also, improved error message
144       on invalid password for security. Thanks to Tatsuhiki Miyagawa
145       for the patch.
146
147 0.06  2004.04.14
148     - BACKWARDS INCOMPATIBILITY:
149       Fixed Nonce behavior in API. Nonce should be sent in base64-encoded
150       form in SOAP and REST requests, but decoded (raw) nonce should be used
151       when generating PasswordDigest.
152     - Feed->add_link and Entry->add_link now support the same hash
153       reference parameter style as used in 0.041 and below, in addition
154       to the XML::Atom::Link parameter.
155     - Fixed bug with Feed->link so that it no longer returns links that
156       are contained within <entry> elements within the <feed>.
157
158 0.05  2004.01.05
159     - BACKWARDS INCOMPABILITY:
160       Removed XML::Atom::Entry::get_links and XML::Atom::Feed::get_links,
161       in favor of new link() method in both classes, which returns a list
162       of XML::Atom::Link objects. Also, add_link() now expects an
163       XML::Atom::Link object instead of a hash reference.
164     - BACKWARDS INCOMPABILITY:
165       Renamed XML::Atom::API to XML::Atom::Client.
166     - Added XML::Atom::Link, an encapsulation of the <link> tag in a feed
167       or an entry.
168     - Added XML::Atom::Server, an implementation of an Atom core server
169       (to be subclassed for implementation-specific methods).
170     - Fixed feed auto-discovery to work with all client tests at
171       http://diveintomark.org/tests/client/autodiscovery/
172     - Added (and documented) XML::Atom::Feed->find_feeds, to return all
173       of the Atom feed URIs on a page given a URI.
174     - Fixed issue with PasswordDigest in API (use sha(), not hex(sha())
175       for generating password digest).
176     - Stream parameter to XML::Atom::Entry::new and XML::Atom::Feed::new
177       is now optional; if passed only one parameter, it's assumed to be
178       the Stream parameter.
179     - Fixed bug in XML::Atom::Content::as_xml (it didn't work).
180
181 0.041 2003.12.15
182     - Fixed issue with calling $entry->content on list of entries generated
183       from $feed->entries. (Thanks to esummers for the report.)
184
185 0.04  2003.12.14
186     - BACKWARDS INCOMPABILITY:
187       <content> elements are now represented as XML::Atom::Content objects
188       instead of just get/set accessors. You can still set
189       XML::Atom::Entry::content with a scalar (it will be automatically
190       upgraded to an XML::Atom::Content object), but to get the value of
191       <content>, you need to call XML::Atom::Content::Body. For example:
192           $entry->content->body
193     - XML::Atom::Entry::content now removes the <div> wrapper from
194       XHTML <content> when called with no arguments.
195     - Changed XML::Atom::Author to XML::Atom::Person and re-implemented it.
196     - Changed "WSSE" to "UsernameToken" in X-WSSE header.
197
198 0.03  2003.12.05
199     - Added XML::Atom::Author to represent author or contributor, with
200       accessors for name, email, URL, etc.
201     - Updated XML::Atom::API per the 08 API spec:
202           * Removed searchEntries and replaced it with getFeed
203           * Removed introspection and replaced it with URI parameters
204             to createEntry and getFeed (introspection will be added
205             back in once it is more locked down)
206     - Added support for easily adding <link> tags to feed or entry
207       (eg XML::Atom::Feed::add_link) and getting <link> tags from feed or
208       entry (eg XML::Atom::Feed::get_links).
209     - Fixed XML::Atom::Thing::get to return undef when an element is
210       not found in the object at all (it used to return the empty string).
211
212 0.02  2003.09.28
213     - Completely revamped authentication mechanism to use X-WSSE header
214       (or corresponding SOAP headers).
215     - Removed 03-client.t test, because there aren't any publicly
216       available servers to test against. (Are there?)
217     - Added support for SOAP wrapper in API client.
218     - Added namespace support in XML::Atom::Namespace using get and set
219       methods in XML::Atom::Entry and XML::Atom::Feed.
220     - Added namespace normalization for produced XML (if XML::LibXSLT
221       is installed). This is really just a cosmetic thing.
222
223 0.01  2003.09.07
224     - Initial distribution.
Note: See TracBrowser for help on using the browser.