summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2010-06-07 22:11:06 +0200
committerDan McGee <dan@archlinux.org>2010-06-07 18:18:34 -0500
commit88f139ab4ecb5242dc4682b49bb706413da976cc (patch)
tree4027b01f9cefdb39b9e3ed9d254e1b8465fc4408 /README
parentb00d9113313479e37fc35a395a60bf25070b26b8 (diff)
downloadpacman-88f139ab4ecb5242dc4682b49bb706413da976cc.tar.xz
API changes between 3.3 and 3.4
Updates for README file. Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'README')
-rw-r--r--README33
1 files changed, 33 insertions, 0 deletions
diff --git a/README b/README
index b9eb399a..1276eaab 100644
--- a/README
+++ b/README
@@ -295,3 +295,36 @@ API CHANGES BETWEEN 3.2 AND 3.3
- error codes:
PM_ERR_SERVER_NONE, PM_ERR_TRANS_NOT_LOCKED, PM_ERR_PKG_IGNORED and
PM_ERR_LIBFETCH
+
+
+API CHANGES BETWEEN 3.3 AND 3.4
+===============================
+
+[REMOVED]
+- pmtranstype_t struct (transaction type), alpm_trans_get_type()
+- alpm_option_get_nopassiveftp(), alpm_option_set_nopassiveftp()
+
+[CHANGED]
+- interface for target loading:
+ - alpm_trans_addtarget() and alpm_trans_sysupgrade() were removed
+ - alpm_sync_target() and alpm_sync_dbtarget() can be used to add a sync target
+ - alpm_sync_sysupgrade() can be used to add outdated packages (for sysupgrade)
+ - alpm_add_target() can be used to add an add/upgrade target
+ - alpm_remove_target() can be used to add a remove target
+- interface for target listing:
+ - alpm_trans_get_pkgs() was removed
+ - alpm_pkg_get_removes() was removed
+ - alpm_trans_get_add() can be used to list add/upgrade/sync targets
+ - alpm_trans_get_remove() can be used to list to-be-removed packages
+- the type parameter of alpm_trans_init() was removed
+- the type of alpm_db_fetch callback function: mtimeold and mtimenew parameters
+ were replaced by force parameter
+- unsigned short -> int changes for Boolean variables
+
+[ADDED]
+- alpm_db_set_pkgreason()
+- alpm_option_get_arch(), alpm_option_set_arch()
+- alpm_option_get_usedelta()
+- alpm_pkg_unused_deltas()
+- alpm_conflict_get_reason()
+- error code: PM_ERR_PKG_INVALID_ARCH