Add.
[libidn.git] / NEWS
bloba7f68129938eebcc496ae53e92075e0cd15c2565
1 Libidn NEWS -- History of user-visible changes.                 -*- outline -*-
2 Copyright (C) 2002, 2003 Simon Josefsson
3 See the end for copying conditions.
5 * Version 0.3.4 (unreleased)
7 * Version 0.3.3 (released 2003-10-18)
9 ** Fixed list of Stringprep profiles in 'idn --help' and 'idn.php'.
11 ** Fixed debug information in 'idn'.
13 ** Internal improvements.
14 Leads to reduced heap memory usage.  Simplified inter-dependency among
15 files in lib/* to make it easier to copy them into your project.
17 ** Debugging stringprep profile 'generic' removed.
19 ** Punycode implementation updated to rfc3492bis-00.
21 ** API and ABI is backwards compatible with the previous version.
22 stringprep_4i: NEW.
23 stringprep_4zi: NEW.
24 stringprep: CHANGED. 'profile' is marked as 'const'.
25 stringprep_profile: CHANGED. 'profile' is marked as 'const'.
26 stringprep_generic: REMOVED. Never meant for public use.
28 * Version 0.3.2 (released 2003-10-07)
30 ** SASL ANONYMOUS stringprep profile "trace" added.
31 It is equivalent to the already supported "plain" SASL ANONYMOUS
32 stringprep profile, except for the name.
34 ** API and ABI is backwards compatible with the previous version.
35 The 'in' parameter to stringprep_profile was changed from 'char*' to
36 'const char*'.
38 * Version 0.3.1 (released 2003-10-02)
40 ** Fixed handling of implicit and explicit zero-length root labels in ToASCII.
42 ** Fixed support for Hangul Syllables during Unicode NFKC normalization.
44 ** Fixed Unicode NFKC normalization of (some) BMP code points.
45 This was done by syncing the NFKC code with latest GLIB, and may have
46 fixed other bugs in the earlier versions of the updated functions.
48 ** Added more IDNA test vectors.
50 ** Emacs Lisp IDNA implementation now set the UseSTD3ASCIIRules flag.
51 This is the appropriate setting for mail-related uses of IDNA.
53 ** API and ABI is backwards compatible with the previous version.
55 * Version 0.3.0 (released 2003-09-23)
57 ** Ported to Mac OS X.
59 ** Gnulib code removed, we now assume a C89 compatible environment.
61 ** Building libidn as a libc add-on now works again.
63 ** Man pages for all public API functions are included.
65 ** Fixed bug in SASLprep profile.
67 ** API and ABI is NOT backwards compatible with the previous version.
68 All previously labeled (since 0.1.x) obsolete functions have been dropped.
69 The use of 'enum' types instead of 'int' added in 0.2.3 reverted, it
70 confused documentation generators and wasn't all that common practice.
72 * Version 0.2.3 (released 2003-08-26)
74 ** Example 4 was the same as example 3, now changed to demo ToUnicode.
76 ** Documentation improvements.
78 ** Prototype cleanups.
79 The proper enum types (Stringprep_rc, Idna_rc, etc) are now used in
80 several places where plain int where used before.  String lengths are
81 handled by (s)size_t instead of int.
83 ** API and ABI is backwards compatible with the previous version.
85 * Version 0.2.2 (released 2003-08-13)
87 ** Fixed problem with strings longer than 4GB in punycode functions.
88 The punycode code cannot handle strings longer than 4GB.  The code now
89 return PUNYCODE_BAD_INPUT on too long input, instead of failing in an
90 unknown way.
92 ** The "idn --idna-to-unicode" command now output locale encoded strings.
94 ** Build fixes, bug fixes.
96 ** API and ABI is backwards compatible with the previous version.
98 * Version 0.2.1 (released 2003-07-04)
100 ** Don't reject zero-length trailing labels as in, e.g., "www.example.org.".
101 The IDNA RFC is not clear on this topic, zero-length labels in general
102 are forbidden by the ToASCII algorithm in section 4.1 step 8, but the
103 terminology section define, inside a parenthesis, that the zero-length
104 root label is in fact not considered a label at all in IDNA.
106 ** Bug fixes.
108 ** API and ABI is backwards compatible with the previous version.
110 * Version 0.2.0 (released 2003-06-19)
112 ** Unicode code point data is now uint32_t, defined in "idn-int.h".
113 A header file "idn-int.h" is generated and installed to make sure the
114 "uint32_t" data type is available on all platforms.  The reason for
115 this change is that on 64-bit platforms, the application was required
116 to convert 32 bit integers (which is how Unicode code points are
117 typically represented) into 64 bit integers before calling libidn
118 functions.
120 ** New idna_*() functions have improved flags handling.
121 The allowunassigned and usestd3asciirules parameters were collapsed
122 into a flags parameter, that can take on the IDNA_ALLOW_UNASSIGNED and
123 IDNA_USE_STD3_ASCII_RULES values.  This allows for easier extensions
124 to support, e.g., Unicode 4.0 or RFC 952 ASCII rules checking.  Note
125 that the old entry points are unmodified (in this regard), and new
126 entry points with this modification were added.
128 ** The manual was moved into a separate directory doc/.
130 ** Bugfixes.
132 ** API and ABI is not backwards compatible.
133 In punycode.h and stringprep.h the "unsigned long" data type was
134 changed into "uint32_t", which cause a API and ABI missmatch.  For
135 idna.h, the old entry points that used "unsigned long" still exist,
136 and new entry points that uses "uint32_t" was added.  To update your
137 application, you probably only need to change "unsigned long" to
138 "uint32_t".  As a result of these changes, the shared object version
139 has been increased.
141 * Version 0.1.15 (released 2003-06-07)
143 ** Bugfixes.
145 ** API and ABI is backwards compatible with the previous version.
147 * Version 0.1.14 (released 2003-05-10)
149 ** Experimental documentation generation in contrib/doxygen/.
150 Simply invoke "doxygen" in that directory and it should build the
151 documentation.
153 ** Lisp API bug fixes.
155 ** API and ABI is backwards compatible with the previous version.
157 * Version 0.1.13 (released 2003-03-13)
159 ** Unfinished Java *.class files implementing the libidn API.
160 See the contrib/java/ directory.  It is implemented using the Java
161 Native Interface, and light initial testing indicate interoperability
162 between GCJ, IBM's JDK and Sun's JDK.
164 ** Building is now silent when gengetopt is not present.
166 ** Bug fixes.
168 ** API and ABI is backwards compatible with the previous version.
170 * Version 0.1.12 (released 2003-03-06)
172 ** Building libidn doesn't require gengetopt.
173 Warnings are still printed though.  Gengetopt will be replaced by argp
174 eventually.
176 ** Command line tool "idn" supports stringprep too.
178 ** New stringprep API entry point: stringprep_profile().
179 It takes a name of the stringprep profile as an argument instead of
180 the stringprep table structure.
182 ** stringprep_*.h are deprecated and will be removed in the future.
183 All symbols have been moved to stringprep.h.  The reasons are that (1)
184 the files typically only defined one CPP macro and exported one symbol
185 definition, which is wasteful as it generates too much work in the
186 manual, and (2) using one header file for all profiles allows easier
187 access to all stringprep profiles during runtime.  Note that the files
188 are still installed, but they only #include stringprep.h now, for
189 backwards compatibility.
191 ** GNU Libc add-on build instructions updated to GNU Libc 2.3.2.
193 ** SASLprep stringprep profile added.
195 ** An online interface to libidn written in PHP added to contrib/web/.
197 ** API and ABI is backwards compatible with the previous version.
199 * Version 0.1.11 (released 2003-02-26)
201 ** Command line application "idn" is included.
202 A simple wrapper around the library that allows you to invoke punycode
203 encoding/decoding and IDNA ToASCII/ToUnicode on the command line.
205 ** Emacs Lisp interface for punycode and IDNA included.
206 See punycode.el and idna.el.
208 ** API and ABI is backwards compatible with the previous version.
210 * Version 0.1.10 (released 2003-02-21)
212 ** idna_*_to_ace() and idna_*ace_to_*() are deprecated in favor of
213 ** idna_to_ascii_from_*() and idna_to_unicode_*_from_*() respectively.
214 The reason was that the old interfaces did not accept the
215 AllowUnassigned and UseSTD3ASCIIRules flags.  Note that the old
216 functions are not removed, but will be in the future.
218 ** IPS iSCSI stringprep profile added.
220 ** A new contrib/ directory added.
221 Currently it contains a Python interface to Libidn, contributed by
222 Stephane Bortzmeyer.
224 ** idna.h and punycode.h are now installed by "make install".
226 ** API and ABI is backwards compatible with the previous version.
228 * Version 0.1.9 (released 2003-02-20)
230 ** SASL ANONYMOUS "plain" stringprep profile added.
232 ** XMPP nodeprep profile fixed.
234 ** API and ABI is backwards compatible with the previous version.
235 For future releases, the NEWS entry will specifically mention whether
236 the C header API or library ABI backwards compatibility is affected.
238 * Version 0.1.8 (released 2003-02-14)
240 ** Portability fixes.
241 This includes not building the API Reference Manual with GTK-DOC by
242 default, if you want it use configure parameter --enable-gtk-doc after
243 making sure your gtkdoc-mkdb accept the --tmpl-dir parameter.
245 ** The type for string length variables is now (s)size_t.
246 Unfortunately this means binary shared library binary backwards
247 compatible is lost.
249 ** New nameprep test vectors.
251 * Version 0.1.7 (released 2003-02-12)
253 ** Uses official IDNA ACE prefix.
255 * Version 0.1.6 (released 2003-02-11)
257 ** Uses tentative IDNA ACE prefix.
259 ** Added XMPP Node/Resource Identifiers stringprep profiles.
261 ** Fixed prohibited character checks for bidi.
263 * Version 0.1.5 (released 2003-01-28)
265 ** The library can now be built as part of GNU Libc.
266 This is experimental and only tested against GNU Libc version 2.3.1.
267 See the libc/ directory, and libc/README in particular.
269 ** Bug fixes.
271 * Version 0.1.4 (released 2003-01-15)
273 ** Documentation fixes.
275 ** Portability fixes.
277 ** Bug fixes.
279 * Version 0.1.3 (released 2003-01-15)
281 ** Added texinfo manual.
283 * Version 0.1.2 (released 2003-01-08)
285 ** Added high-level IDNA API.
287 ** Added example3.c and example4.c demonstrating the high-level IDNA API.
289 * Version 0.1.1 (released 2003-01-08)
291 ** Added documentation using GTK-DOC.
293 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
294 By accident it was never removed in 0.1.0.
296 * Version 0.1.0 (released 2003-01-05)
298 ** Official GNU project.
300 ** Renamed from libstringprep to libidn.
302 ** Supports punycode and IDNA.  Caveat emptor: I don't use it myself.
304 ** Uses "unsigned long" for Unicode code points instead of "long".
305 Long is guaranteed to be at least 32 bits by C standards so it is
306 always sufficiently large, no need to use uint32_t and the like.
308 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
310 * Version 0.0.8 (released 2002-12-13)
312 ** Portability fixes (now works under Cygwin on Windows 2000).
314 ** Bug fixes.
316 * Version 0.0.7 (released 2002-12-09)
318 ** Apply all tables to entire strings, not just first hit.
320 ** Fix bidi infloop.
322 * Version 0.0.5 (released 2002-12-07)
324 ** Fix prohibited characters handling.
326 ** Fix bidi.
328 ** Renamed type (struct) stringprep_table_element to Stringprep_table_element.
330 ** Renamed type stringprep_profile to Stringprep_profile.
332 ** Renamed type (struct) stringprep_table to Stringprep_table.
334 ** Added more self-tests.
336 * Version 0.0.4 (released 2002-12-06)
338 ** Add unassigned code point handling, including self test cases.
340 ** Portability fixes.
342 * Version 0.0.3 (released 2002-11-30)
344 ** Exported utility function `stringprep_utf8_to_unichar', complementary
345 to existing `stringprep_unichar_to_utf8'.
347 ** Renamed `stringprep_utf8_to_ucs4_fast' to `stringprep_utf8_to_ucs4' to
348 clean up API. The old entry point is maintained for binary backwards
349 compatibility though.
351 ** The distribution is from now on signed using GnuPG.
353 ** Bug fixes.
355 * Version 0.0.2 (released 2002-11-07)
357 ** NFKC self test.
359 ** Bug fixes.
361 * Version 0.0.1 (released 2002-11-06)
363 ** Add utility functions stringprep_locale_charset(), stringprep_convert() 
364 and stringprep_locale_to_utf8 () that can be used to convert text from
365 system's locale into UTF-8, which should be done before invoking
366 stringprep().  The functions requires iconv() in the operating system.
368 ** An example program (example.c) that illustrates how libstringprep can be
369 used is included.
371 ** The pkg-config --libs output should now include necessary -R options.
373 * Version 0.0.0 (released 2002-11-05)
375 ** Initial release
377 ----------------------------------------------------------------------
378 Copying and distribution of this file, with or without modification,
379 are permitted in any medium without royalty provided the copyright
380 notice and this notice are preserved.