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