summaryrefslogtreecommitdiffstats
path: root/doc/source/whatsnew/1.1.rst
blob: 5a4f5c31b84fb9fcfcb5b355c3b465cec97ee339 (plain)
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
What's New In python-apt 1.1
==============================
This release is built against APT 1.1

Highlights
----------
* Code that previously raised :class:`SystemError` now raises
  :class:`apt_pkg.Error`.

Removed
-------
* The class :class:`apt_pkg.IndexRecords` has been removed, as it was removed
  in APT 1.1
* :attr:`apt_pkg.Dependency.smart_target_pkg` has been removed.

Added
------
* The class :class:`apt_pkg.HashStringList` has been added.
* The class :class:`apt_pkg.Error` and an alias :class:`apt_inst.Error` has
  been added.


Deprecated
----------
* :attr:`apt_pkg.PackageRecords.md5_hash`,
  :attr:`apt_pkg.PackageRecords.sha1_hash`, and
  :attr:`apt_pkg.PackageRecords.sha256_hash`
  are replaced by :attr:`apt_pkg.PackageRecords.hashes`.