doc/
[gpgme.git] / NEWS
1  * There is a Texinfo manual documenting the API.
2
3  * The gpgme_set_keylist_mode function returns an error, and changed
4    its meaning.  It is no longer usable to select between normal and
5    fast mode (newer versions of GnuPG will always be fast), but
6    selects between local keyring, remote keyserver, or both.
7    For this, two new macros are defined, GPGME_KEYLIST_MODE_LOCAL
8    and GPGME_KEYLIST_MODE_EXTERN.  To make it possible to modify the
9    current setting, a fucntion gpgme_get_keylist_mode was added to
10    retrieve the current mode.
11
12  * gpgme_wait accepts a new argument STATUS to return the error status
13    of the operation on the context.  Its definition is closer to
14    waitpid() now than before.
15
16  * The LENGTH argument to gpgme_data_new_from_filepart changed its
17    type from off_t to the unsigned size_t.
18
19  * The R_HD argument to the GpgmePassphraseCb type changed its type
20    from void* to void**.
21
22  * New interface gpgme_op_trustlist_end() to match
23    gpgme_op_keylist_end().
24
25  * The CryptPlug modules have been renamed to gpgme-openpgp and
26    gpgme-smime, and they are installed in pkglibdir by `make install'.
27
28  * An idle function can be registered with gpgme_register_idle().
29
30  * Interface changes relative to the 0.3.0 release:
31 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 gpgme_data_new_from_filepart    CHANGED: Type of LENGTH is size_t.
33 GpgmePassphraseCb               CHANGED: Type of R_HD is void **.
34 gpgme_wait                      CHANGED: New argument STATUS.
35 gpgme_set_keylist_mode          CHANGED: Type of return value is GpgmeError.
36                                 The function has a new meaning!
37 gpgme_get_keylist_mode          NEW
38 GPGME_KEYLIST_MODE_LOCAL        NEW
39 GPGME_KEYLIST_MODE_EXTERN       NEW
40 gpgme_op_trustlist_next         NEW
41 GpgmeIdleFunc                   NEW
42 gpgme_register_idle             NEW
43 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
44
45 Noteworthy changes in version 0.3.0 (2001-12-19)
46 ------------------------------------------------
47  
48  * New interface gpgme_set_protocol() to set the protocol and thus the
49    crypto engine to be used by the context.  Currently, the OpenPGP
50    and the CMS protocols are supported.  They are specified by the new
51    preprocessor symbols GPGME_PROTOCOL_OpenPGP and GPGME_PROTOCOL_CMS.
52    A new context uses the OpenPGP engine by default.
53
54  * gpgme_get_engine_info() returns information for all crypto engines
55    compiled into the library.  The XML format has changed.  To
56    reliably get the version of a crypto engine, the <version> tag
57    after the appropriate <protocol> tag has to be looked for.
58
59  * New interface gpgme_engine_check_version(), obsoleting
60    gpgme_check_engine().  Check the version of all engines you are
61    supporting in your software.
62
63  * GpgmeKey lists the user ids in the order as they are returned by
64    GnuPG, first the primary key with index 0, then the sub-user ids.
65
66  * New operation gpgme_op_decrypt_verify() to decrypt and verify
67    signatures simultaneously.
68
69  * The new interface gpgme_op_keylist_end() terminates a pending
70    keylist operation.  A keylist operation is also terminated when
71    gpgme_op_keylist_next() returns GPGME_EOF.
72
73  * GPGME can be compiled without GnuPG being installed (`--with-gpg=PATH'),
74    cross-compiled, or even compiled without support for GnuPG
75    (`--without-gpg').
76
77  * GPGME can be compiled with support for GpgSM (GnuPG for S/MIME,
78    `--with-gpgsm=PATH').  It is enabled by default if the `gpgsm' is found
79    in the path, but it can also be compiled without support for GpgSM
80    (`--without-gpgsm').
81
82  * CryptPlug modules for GPGME are included and can be enabled at
83    configure time (`--enable-gpgmeplug').  There is one module which
84    uses the GnuPG engine (`gpgmeplug') and one module which uses the
85    GpgSM engine (`gpgsmplug').
86
87  * Interface changes relative to the latest 0.2.x release:
88 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
89 gpgme_key_get_as_xml            CHANGED: Sub-user ids reversed in order.
90 gpgme_key_get_string_attr       CHANGED: User ids reversed in order.
91 gpgme_key_get_ulong_attr        CHANGED: User ids reversed in order.
92 gpgme_get_engine_info           CHANGED: New format, extended content.
93 gpgme_engine_check_version      NEW
94 gpgme_decrypt_verify_start      NEW
95 gpgme_decrypt_verify            NEW
96 gpgme_op_keylist_next           NEW
97 gpgme_set_protocol              NEW
98 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
99
100
101 Noteworthy changes in version 0.2.3 (2001-09-17)
102 ------------------------------------------------
103
104  * New function gpgme_get_op_info which can be used to get the micalg
105    parameter needed for MOSS.
106
107  * New functions gpgme_get_armor and gpgme_get_textmode.
108
109  * The usual bug fixes and some minor functionality improvements.
110
111  * Added a simple encryption component for MS-Windows; however the
112    build procedure might have some problems.
113
114
115 Noteworthy changes in version 0.2.2 (2001-06-12)
116 ------------------------------------------------
117  
118  * Implemented a key cache.
119
120  * Fixed a race condition under W32 and some other bug fixes.
121
122
123 Noteworthy changes in version 0.2.1 (2001-04-02)
124 ------------------------------------------------
125
126  * Changed debug output and GPGME_DEBUG variable (gpgme/debug.c)
127
128  * Handle GnuPG's new key capabilities output and support revocation
129    et al. attributes
130
131  * Made the W32 support more robust.
132
133
134  Copyright 2001, 2002 g10 Code GmbH
135
136  This file is free software; as a special exception the author gives
137  unlimited permission to copy and/or distribute it, with or without
138  modifications, as long as this notice is preserved.
139
140  This file is distributed in the hope that it will be useful, but
141  WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
142  implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.