]> git.k1024.org Git - pyxattr.git/blob - NEWS
Add a makefile coverage target
[pyxattr.git] / NEWS
1 News
2 ====
3
4 Version 0.5.6
5 -------------
6
7 *released Sat, 09 Apr 2016*
8
9 Small bugfix release:
10
11 * Fixes some sign-compare warnings
12 * Fixes potential name truncation in merge_ns()
13 * Fixes building on systems which don't have ENODATA
14
15 Tested with Python 2.7.11, Python 3.5.1 and PyPy 5.0.1.
16
17 Version 0.5.5
18 -------------
19
20 *released Fri, 01 May 2015*
21
22 Bugfix release:
23
24 * fixes some more memory leaks when handling out-of-memory in get_all()
25   function
26 * improve error reporting when an attribute disappears after we asked
27   for its length but before we managed to read it
28 * fix int/size_t issues found by RedHat/Fedora,
29   https://bugzilla.redhat.com/show_bug.cgi?id=1127310; the fix is
30   different than their fix, but it should accomplish the same thing
31 * convert all code to only do explicit casts after checking boundaries,
32   making the code `-Wconversion`-clean (although that warning is not
33   enabled by default)
34
35 Version 0.5.4
36 -------------
37
38 *released Thu, 30 Apr 2015*
39
40 Fix memory leaks on some of the error-handling paths of the `get()`
41 function.
42
43 Version 0.5.3
44 -------------
45
46 *released Fri, 23 May 2014*
47
48 Small optimisations release:
49
50 * ari edelkind contributed a speed-up optimisation for handling of files
51   without xattrs (which is, in general, the expected case)
52 * Jonas Borgström contributed a behaviour change to the handling of file
53   names: under Python 3 and up, unicode paths are encoded/decoded using
54   the 'surogatee' handler, instead of the 'strict' handler; while this
55   can hide encoding errors, it mirrors what Python libraries do
56   (e.g. see os.fsencode/fsdecode)
57 * Sean Patrick Santos contributed improvements to the test suite so that
58   it can be used even on files systems which have built-in attributes
59   (e.g. when using SELinux, or NFSv4); to enable this, define the
60   attributes in the TEST_IGNORE_XATTRS environment variable
61
62 Version 0.5.2
63 -------------
64
65 *released Thu, 03 Jan 2013*
66
67 Bug-fix release. Thanks to Michał Górny, it looked like the library had
68 problem running under pypy, but actually there was a bug in the
69 PyArg_ParseTuple use of et# (signed vs. unsigned, and lack of compiler
70 warnings). This was fixed, and now the test suite passed with many
71 CPython versions and PyPy (version 1.9).
72
73 Version 0.5.1
74 -------------
75
76 *released Wed, 16 May 2012*
77
78 Bug-fix release. Thanks to Dave Malcolm and his cpychecker tool, a
79 number of significant bugs (refcount leaks and potential NULL-pointer
80 dereferences) have been fixed.
81
82 Furthermore, compatibility with Python 3 has been improved; this however
83 required changing the meaning of the ``namespace`` argument to the
84 functions: if passed, None is no longer a valid value; pass an empty
85 string if (due to the structure of your program) you have to pass this
86 argument but want to specify no namespace.
87
88 Also, the project home page has changed from SourceForge to GitHub, and
89 the documentation has been converted from epydoc-based to sphinx.
90
91
92 Version 0.5
93 -----------
94
95 *released Sun, 27 Dec 2009*
96
97 Implemented support for Python 3. This required a significant change to
98 the C module, hence the new version number.
99
100 Version 0.4
101 -----------
102
103 *released Mon, 30 Jun 2008*
104
105 API
106 ~~~
107
108 The old functions ({get,set,list,remove}xattr) are deprecated and replaced with
109 a new API that is namespace-aware and hopefully will allow other OSes (e.g.
110 FreeBSD) to be supported more naturally.
111
112 Both the old and the new API are supported in the 0.4 versions, however users
113 are encouraged to migrate to the new API.
114
115 New features
116 ~~~~~~~~~~~~
117
118 A new bulk get function called get_all() has been added that should be somewhat
119 faster in case of querying files which have many attributes.
120
121 License
122 ~~~~~~~
123
124 Since LGPLv3 is not compatible with GPLv2 (which unfortunately I didn't realize
125 before), the license was changed to LGPLv2.1 or later.
126
127 Internals
128 ~~~~~~~~~
129
130 Unittest coverage was improved.
131
132 Version 0.3
133 -----------
134
135 *released Sun, 09 Mar 2008*
136
137 * changed licence from GPL to LGPL (3 or later)
138 * changed listxattr return type from tuple to a list
139 * developer-related: added unittests
140
141 Version 0.2.2
142 -------------
143
144 *released Sun, 01 Jul 2007*
145
146 * fixed listing symlink xattrs
147
148 Version 0.2.1
149 -------------
150
151 *released Sat, 11 Feb 2006*
152
153 * fixed a bug when reading symlink EAs (you weren't able to
154   do it, actually)
155 * fixed a possible memory leak when the actual read of the EA
156   failed but the call to get the length of the EA didn't
157
158 .. Local Variables:
159 .. mode: rst
160 .. fill-column: 72
161 .. End: