Add.
[libidn.git] / NEWS
blob72a00b0bfad9074bba09cfd3e3a239e33cea5aa4
1 Libidn NEWS -- History of user-visible changes.                 -*- outline -*-
2 Copyright (C) 2002, 2003, 2004 Simon Josefsson
3 See the end for copying conditions.
5 * Version 0.4.1 (unreleased)
7 ** Logic of stringprep_locale_charset modified.
8 Future versions will use, in order, $CHARSET iff defined, nl_langinfo
9 (CODESET) iff working, or fall back to returning "ASCII".  Earlier it
10 attempted to guess the system locale, in contrast with the current
11 application's locale, via some setlocale save/set/reset magic.  This
12 change may require you to invoke setlocale() in your application,
13 which is (should be) required for non-ASCII to work anyway.  Based on
14 discussion with Ulrich Drepper.
16 ** The command-line utility now invoke setlocale (LC_ALL, "") at startup.
18 ** Fixed SASLprep tables to prohibit non-ASCII space in output.
19 Non-ASCII space has always been mapped to ASCII space, so it is not
20 clear this really have any effect, but the specification require it.
22 ** Building Libidn as part of GLIBC has been updated.
23 Refer to libc/README for more information.  Incidentally, GLIBC in CVS
24 now include a copy of Libidn.
26 ** API and ABI is backwards compatible with the previous version.
27 IDNA_DLOPEN_ERROR: ADD.  Only used internally by Libidn in libc.
29 * Version 0.4.0 (released 2004-02-28)
31 ** Support for TLD restrictions on IDN strings, contributed by Thomas Jacob.
32 Many TLDs restrict the set of characters that can be used, from the
33 full Unicode 3.2 range that is normally available.  This contribution
34 make it possible for you to test strings for TLD conformance locally.
35 The code can be disabled by --disable-tld.  If enabled (the default),
36 the new API "tld.h" is installed which can be used to check a string
37 for conformance to TLD specific rules.  This add a new self test, and
38 a new chapter in the manual.  People responsible for maintaining TLD
39 tables are hereby encouraged to contribute them (under reasonable
40 licensing terms) for inclusion in future versions of Libidn.  Be
41 warned that the API for TLD checking may change throughout the 0.4.x
42 series as we get feedback on it.
44 ** Kerberos 5 stringprep profile macro is no longer documented.
45 The macro itself will probably be removed in the future, if the
46 specification is dropped from the Kerberos WG agenda.
48 ** API and ABI is backwards compatible with the previous version.
49 stringprep_kerberos5: DEPRECATED.
50 Tld_table_element:
51 Tld_table:
52 Tld_rc: ADD.  New data types.
53 tld_get_4:
54 tld_get_4z:
55 tld_get_z: ADD.  New functions to extract TLD from string.
56 tld_get_table:
57 tld_default_table: ADD.  New functions to get TLD table from TLD name.
58 tld_check_4t:
59 tld_check_4tz: ADD.  New function to provide core TLD operations.
60 tld_check_4:
61 tld_check_4z:
62 tld_check_8z:
63 tld_check_lz: ADD.  New functions that combine all TLD operations in one call.
65 * Version 0.3.7 (released 2004-01-22)
67 ** The command line parameter '--' idiom is documented.
69 ** The iSCSI stringprep profile now recognized as "iSCSI".
70 The earlier name "ISCSIprep" is still recognized, for backwards
71 compatibility.
73 ** DocBook manuals no longer included (the tools are too unstable).
75 ** API and ABI is backwards compatible with the previous version.
77 * Version 0.3.6 (released 2004-01-06)
79 ** The manual now contain a troubleshooting section for the command line tool.
81 ** The PHP interface pass the string directly on the command line.
83 ** The macro that create 'idn-int.h' has been updated to latest version.
85 ** API and ABI is backwards compatible with the previous version.
87 * Version 0.3.5 (released 2003-12-15)
89 ** The program 'idn' accepts input strings directly on the command line.
91 ** The program 'idn' defaults to --idna-to-ascii if no parameter is given.
93 ** The program 'idn' now print user instructions before waiting for input.
95 ** DocBook HTML output not included any longer.
96 The reason is that the filenames generated by docbook2html appear to
97 be rather random, so it is difficult to maintain the Makefile.am rules
98 for them.
100 ** Autoconf 2.59, automake 1.8 and libtool from CVS is used.
102 ** API and ABI is backwards compatible with the previous version.
103 IDNA_CONTAINS_NON_LDH: ADD.  Same integer value as IDNA_CONTAINS_LDH.
104 IDNA_CONTAINS_LDH: DEPRECATED.  LDH (letter-digits-hyphens) characters
105                 are not an error, but non-LDH characters are, when
106                 IDNA_USE_STD3_ASCII_RULES is used.  The logic of the
107                 mnemonic name of this error constant was reversed.
109 * Version 0.3.4 (released 2003-11-09)
111 ** DocBook manuals in XML, PDF, PostScript, ASCII and HTML formats included.
113 * Version 0.3.3 (released 2003-10-18)
115 ** Fixed list of Stringprep profiles in 'idn --help' and 'idn.php'.
117 ** Fixed debug information in 'idn'.
119 ** Internal improvements.
120 Leads to reduced heap memory usage.  Simplified inter-dependency among
121 files in lib/* to make it easier to copy them into your project.
123 ** Debugging stringprep profile 'generic' removed.
125 ** Punycode implementation updated to rfc3492bis-00.
127 ** API and ABI is backwards compatible with the previous version.
128 stringprep_4i: NEW.
129 stringprep_4zi: NEW.
130 stringprep: CHANGED. 'profile' is marked as 'const'.
131 stringprep_profile: CHANGED. 'profile' is marked as 'const'.
132 stringprep_generic: REMOVED. Never meant for public use.
134 * Version 0.3.2 (released 2003-10-07)
136 ** SASL ANONYMOUS stringprep profile "trace" added.
137 It is equivalent to the already supported "plain" SASL ANONYMOUS
138 stringprep profile, except for the name.
140 ** API and ABI is backwards compatible with the previous version.
141 The 'in' parameter to stringprep_profile was changed from 'char*' to
142 'const char*'.
144 * Version 0.3.1 (released 2003-10-02)
146 ** Fixed handling of implicit and explicit zero-length root labels in ToASCII.
148 ** Fixed support for Hangul Syllables during Unicode NFKC normalization.
150 ** Fixed Unicode NFKC normalization of (some) BMP code points.
151 This was done by syncing the NFKC code with latest GLIB, and may have
152 fixed other bugs in the earlier versions of the updated functions.
154 ** Added more IDNA test vectors.
156 ** Emacs Lisp IDNA implementation now set the UseSTD3ASCIIRules flag.
157 This is the appropriate setting for mail-related uses of IDNA.
159 ** API and ABI is backwards compatible with the previous version.
161 * Version 0.3.0 (released 2003-09-23)
163 ** Ported to Mac OS X.
165 ** Gnulib code removed, we now assume a C89 compatible environment.
167 ** Building libidn as a libc add-on now works again.
169 ** Man pages for all public API functions are included.
171 ** Fixed bug in SASLprep profile.
173 ** API and ABI is NOT backwards compatible with the previous version.
174 All previously labeled (since 0.1.x) obsolete functions have been dropped.
175 The use of 'enum' types instead of 'int' added in 0.2.3 reverted, it
176 confused documentation generators and wasn't all that common practice.
178 * Version 0.2.3 (released 2003-08-26)
180 ** Example 4 was the same as example 3, now changed to demo ToUnicode.
182 ** Documentation improvements.
184 ** Prototype cleanups.
185 The proper enum types (Stringprep_rc, Idna_rc, etc) are now used in
186 several places where plain int where used before.  String lengths are
187 handled by (s)size_t instead of int.
189 ** API and ABI is backwards compatible with the previous version.
191 * Version 0.2.2 (released 2003-08-13)
193 ** Fixed problem with strings longer than 4GB in punycode functions.
194 The punycode code cannot handle strings longer than 4GB.  The code now
195 return PUNYCODE_BAD_INPUT on too long input, instead of failing in an
196 unknown way.
198 ** The "idn --idna-to-unicode" command now output locale encoded strings.
200 ** Build fixes, bug fixes.
202 ** API and ABI is backwards compatible with the previous version.
204 * Version 0.2.1 (released 2003-07-04)
206 ** Don't reject zero-length trailing labels as in, e.g., "www.example.org.".
207 The IDNA RFC is not clear on this topic, zero-length labels in general
208 are forbidden by the ToASCII algorithm in section 4.1 step 8, but the
209 terminology section define, inside a parenthesis, that the zero-length
210 root label is in fact not considered a label at all in IDNA.
212 ** Bug fixes.
214 ** API and ABI is backwards compatible with the previous version.
216 * Version 0.2.0 (released 2003-06-19)
218 ** Unicode code point data is now uint32_t, defined in "idn-int.h".
219 A header file "idn-int.h" is generated and installed to make sure the
220 "uint32_t" data type is available on all platforms.  The reason for
221 this change is that on 64-bit platforms, the application was required
222 to convert 32 bit integers (which is how Unicode code points are
223 typically represented) into 64 bit integers before calling libidn
224 functions.
226 ** New idna_*() functions have improved flags handling.
227 The allowunassigned and usestd3asciirules parameters were collapsed
228 into a flags parameter, that can take on the IDNA_ALLOW_UNASSIGNED and
229 IDNA_USE_STD3_ASCII_RULES values.  This allows for easier extensions
230 to support, e.g., Unicode 4.0 or RFC 952 ASCII rules checking.  Note
231 that the old entry points are unmodified (in this regard), and new
232 entry points with this modification were added.
234 ** The manual was moved into a separate directory doc/.
236 ** Bugfixes.
238 ** API and ABI is not backwards compatible.
239 In punycode.h and stringprep.h the "unsigned long" data type was
240 changed into "uint32_t", which cause a API and ABI missmatch.  For
241 idna.h, the old entry points that used "unsigned long" still exist,
242 and new entry points that uses "uint32_t" was added.  To update your
243 application, you probably only need to change "unsigned long" to
244 "uint32_t".  As a result of these changes, the shared object version
245 has been increased.
247 * Version 0.1.15 (released 2003-06-07)
249 ** Bugfixes.
251 ** API and ABI is backwards compatible with the previous version.
253 * Version 0.1.14 (released 2003-05-10)
255 ** Experimental documentation generation in contrib/doxygen/.
256 Simply invoke "doxygen" in that directory and it should build the
257 documentation.
259 ** Lisp API bug fixes.
261 ** API and ABI is backwards compatible with the previous version.
263 * Version 0.1.13 (released 2003-03-13)
265 ** Unfinished Java *.class files implementing the libidn API.
266 See the contrib/java/ directory.  It is implemented using the Java
267 Native Interface, and light initial testing indicate interoperability
268 between GCJ, IBM's JDK and Sun's JDK.
270 ** Building is now silent when gengetopt is not present.
272 ** Bug fixes.
274 ** API and ABI is backwards compatible with the previous version.
276 * Version 0.1.12 (released 2003-03-06)
278 ** Building libidn doesn't require gengetopt.
279 Warnings are still printed though.  Gengetopt will be replaced by argp
280 eventually.
282 ** Command line tool "idn" supports stringprep too.
284 ** New stringprep API entry point: stringprep_profile().
285 It takes a name of the stringprep profile as an argument instead of
286 the stringprep table structure.
288 ** stringprep_*.h are deprecated and will be removed in the future.
289 All symbols have been moved to stringprep.h.  The reasons are that (1)
290 the files typically only defined one CPP macro and exported one symbol
291 definition, which is wasteful as it generates too much work in the
292 manual, and (2) using one header file for all profiles allows easier
293 access to all stringprep profiles during runtime.  Note that the files
294 are still installed, but they only #include stringprep.h now, for
295 backwards compatibility.
297 ** GNU Libc add-on build instructions updated to GNU Libc 2.3.2.
299 ** SASLprep stringprep profile added.
301 ** An online interface to libidn written in PHP added to contrib/web/.
303 ** API and ABI is backwards compatible with the previous version.
305 * Version 0.1.11 (released 2003-02-26)
307 ** Command line application "idn" is included.
308 A simple wrapper around the library that allows you to invoke punycode
309 encoding/decoding and IDNA ToASCII/ToUnicode on the command line.
311 ** Emacs Lisp interface for punycode and IDNA included.
312 See punycode.el and idna.el.
314 ** API and ABI is backwards compatible with the previous version.
316 * Version 0.1.10 (released 2003-02-21)
318 ** idna_*_to_ace() and idna_*ace_to_*() are deprecated in favor of
319 ** idna_to_ascii_from_*() and idna_to_unicode_*_from_*() respectively.
320 The reason was that the old interfaces did not accept the
321 AllowUnassigned and UseSTD3ASCIIRules flags.  Note that the old
322 functions are not removed, but will be in the future.
324 ** IPS iSCSI stringprep profile added.
326 ** A new contrib/ directory added.
327 Currently it contains a Python interface to Libidn, contributed by
328 Stephane Bortzmeyer.
330 ** idna.h and punycode.h are now installed by "make install".
332 ** API and ABI is backwards compatible with the previous version.
334 * Version 0.1.9 (released 2003-02-20)
336 ** SASL ANONYMOUS "plain" stringprep profile added.
338 ** XMPP nodeprep profile fixed.
340 ** API and ABI is backwards compatible with the previous version.
341 For future releases, the NEWS entry will specifically mention whether
342 the C header API or library ABI backwards compatibility is affected.
344 * Version 0.1.8 (released 2003-02-14)
346 ** Portability fixes.
347 This includes not building the API Reference Manual with GTK-DOC by
348 default, if you want it use configure parameter --enable-gtk-doc after
349 making sure your gtkdoc-mkdb accept the --tmpl-dir parameter.
351 ** The type for string length variables is now (s)size_t.
352 Unfortunately this means binary shared library binary backwards
353 compatible is lost.
355 ** New nameprep test vectors.
357 * Version 0.1.7 (released 2003-02-12)
359 ** Uses official IDNA ACE prefix.
361 * Version 0.1.6 (released 2003-02-11)
363 ** Uses tentative IDNA ACE prefix.
365 ** Added XMPP Node/Resource Identifiers stringprep profiles.
367 ** Fixed prohibited character checks for bidi.
369 * Version 0.1.5 (released 2003-01-28)
371 ** The library can now be built as part of GNU Libc.
372 This is experimental and only tested against GNU Libc version 2.3.1.
373 See the libc/ directory, and libc/README in particular.
375 ** Bug fixes.
377 * Version 0.1.4 (released 2003-01-15)
379 ** Documentation fixes.
381 ** Portability fixes.
383 ** Bug fixes.
385 * Version 0.1.3 (released 2003-01-15)
387 ** Added texinfo manual.
389 * Version 0.1.2 (released 2003-01-08)
391 ** Added high-level IDNA API.
393 ** Added example3.c and example4.c demonstrating the high-level IDNA API.
395 * Version 0.1.1 (released 2003-01-08)
397 ** Added documentation using GTK-DOC.
399 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
400 By accident it was never removed in 0.1.0.
402 * Version 0.1.0 (released 2003-01-05)
404 ** Official GNU project.
406 ** Renamed from libstringprep to libidn.
408 ** Supports punycode and IDNA.  Caveat emptor: I don't use it myself.
410 ** Uses "unsigned long" for Unicode code points instead of "long".
411 Long is guaranteed to be at least 32 bits by C standards so it is
412 always sufficiently large, no need to use uint32_t and the like.
414 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
416 * Version 0.0.8 (released 2002-12-13)
418 ** Portability fixes (now works under Cygwin on Windows 2000).
420 ** Bug fixes.
422 * Version 0.0.7 (released 2002-12-09)
424 ** Apply all tables to entire strings, not just first hit.
426 ** Fix bidi infloop.
428 * Version 0.0.5 (released 2002-12-07)
430 ** Fix prohibited characters handling.
432 ** Fix bidi.
434 ** Renamed type (struct) stringprep_table_element to Stringprep_table_element.
436 ** Renamed type stringprep_profile to Stringprep_profile.
438 ** Renamed type (struct) stringprep_table to Stringprep_table.
440 ** Added more self-tests.
442 * Version 0.0.4 (released 2002-12-06)
444 ** Add unassigned code point handling, including self test cases.
446 ** Portability fixes.
448 * Version 0.0.3 (released 2002-11-30)
450 ** Exported utility function `stringprep_utf8_to_unichar', complementary
451 to existing `stringprep_unichar_to_utf8'.
453 ** Renamed `stringprep_utf8_to_ucs4_fast' to `stringprep_utf8_to_ucs4' to
454 clean up API. The old entry point is maintained for binary backwards
455 compatibility though.
457 ** The distribution is from now on signed using GnuPG.
459 ** Bug fixes.
461 * Version 0.0.2 (released 2002-11-07)
463 ** NFKC self test.
465 ** Bug fixes.
467 * Version 0.0.1 (released 2002-11-06)
469 ** Add utility functions stringprep_locale_charset(), stringprep_convert() 
470 and stringprep_locale_to_utf8 () that can be used to convert text from
471 system's locale into UTF-8, which should be done before invoking
472 stringprep().  The functions requires iconv() in the operating system.
474 ** An example program (example.c) that illustrates how libstringprep can be
475 used is included.
477 ** The pkg-config --libs output should now include necessary -R options.
479 * Version 0.0.0 (released 2002-11-05)
481 ** Initial release
483 ----------------------------------------------------------------------
484 Copying and distribution of this file, with or without modification,
485 are permitted in any medium without royalty provided the copyright
486 notice and this notice are preserved.