Add PR29 functions.
[libidn.git] / NEWS
blob8656830a14bdcbb6664f1b3aea12003793b5a7d5
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.10 (unreleased)
7 ** Functions to detect "normalization problem sequences" as per PR-29 added.
8 See the new chapter "PR29 Functions" in the manual
9 (doc/libidn.{ps,pdf,html}) for more information and the background
10 story.  An external link that discuss the problem is
11 <http://www.unicode.org/review/pr-29.html>.
13 ** More translations.
14 Added Esperanto (by Edmund GRIMLEY EVANS).
16 ** API and ABI is backwards compatible with the previous version.
17 pr29.h: ADD.  Prototypes for PR29 types and functions.
18 pr29_4, pr29_4z, pr29_8z: ADD.  New API entry points for PR29 functions.
19 Pr29_rc: ADD.  New error code enum type for PR29 functions.
21 * Version 0.4.9 (released 2004-06-11)
23 ** The Java library (java/libidn-*.jar) is included in the distribution.
25 ** JavaDoc manuals (doc/javadoc/) are included.
27 ** API and ABI is backwards compatible with the previous version.
29 * Version 0.4.8 (released 2004-06-01)
31 ** The Java source code is actually included in the distribution.
33 ** API and ABI is backwards compatible with the previous version.
35 * Version 0.4.7 (released 2004-05-31)
37 ** The Java port should now be functional, contributed by Oliver Hitz.
38 See the new section "Java API" in the manual for more information.
40 ** API and ABI is backwards compatible with the previous version.
42 * Version 0.4.6 (released 2004-05-24)
44 ** The header file idn-free.h is actually installed by 'make install'.
46 ** API and ABI is backwards compatible with the previous version.
48 * Version 0.4.5 (released 2004-05-21)
50 ** In IDNA ToUnicode, a `free' on a stale pointer fixed by Ulrich Drepper.
52 ** Several memory leaks fixed by Ulrich Drepper.
54 ** Added more SASLPrep and NFKC test vectors.
56 ** Automake 1.8.4 is used.
58 ** API and ABI is backwards compatible with the previous version.
59 idn_free: ADD.  Wrapper around system `free'.
60 idn-free.h: ADD.  Prototype for `idn_free'.
61                 See idn-free.h for discussion.  The interface is
62                 currently not documented.  Comments and feedback is
63                 appreciated.
65 * Version 0.4.4 (released 2004-04-29)
67 ** Fixed two bugs in iSCSI definition, syncing with newly published RFC 3722.
68 The first bug was an omission of prohibiting the characters in C.1.1,
69 C.1.2 and C.7 (space characters and characters that are inappropriate
70 for canonical representation).  The second was a bug in the definition
71 of the table, causing the entire table to be skipped, of the special
72 prohibited output character table defined in RFC 3722 (see section 6,
73 the characters in the table are various ASCII characters and U+3002).
75 ** A few test vectors for iSCSI were added.
77 ** The self tests are linked with libtool -no-install to avoid wrapper script.
79 ** Separated self test utilities into a separate library, shared by all tests.
81 ** More translations.
82 Added Romanian (by Laurentiu Buzdugan).
84 ** API and ABI is backwards compatible with the previous version.
86 * Version 0.4.3 (released 2004-04-22)
88 ** Fixed a bug in table processing code to prohibit control characters.
89 The problem was that the code used a code point of 0 to indicate end
90 of table, but if (as for table C.2.1) a range starts with 0, this
91 logic would fail.  The end-of-table test is now that both the start
92 and end code points of the range is 0.  Table C.2.1 is responsible for
93 prohibiting non-ASCII control characters, i.e. ASCII 0-31 and 127.
94 Before, libidn silently accepted such strings without complaining.
96 ** A few test vectors for SASLprep were added.
98 ** The pkg-config script no longer include a -R parameter.
100 ** More translations.
101 Added Dutch (by Elros Cyriatan), and German (by Roland Illig).
103 ** API and ABI is backwards compatible with the previous version.
105 * Version 0.4.2 (released 2004-03-20)
107 ** A Punycode implementation in Java was added, by Oliver Hitz.
108 Eventually hopefully a StringPrep, Nameprep and IDNA implementation
109 will be added as well.  Currently you need to specify --enable-java to
110 enable the Java interface.  The Java sources (below java/) are
111 compiled into byte-code (not native code) into a JAR library.
113 ** More translations.
114 Added Danish (by Morten Bo Johansen), French (by Michel Robitaille),
115 Polish (by Jakub Bogusz), and Serbian (by Aleksandar Jelenak).
117 ** Norwegian TLD table added, by Thomas Jacob.
119 ** API and ABI is backwards compatible with the previous version.
121 * Version 0.4.1 (released 2004-03-08)
123 ** The user messages from the command line utility are now translated.
124 Currently English and Swedish is supported.
126 ** Logic of stringprep_locale_charset modified.
127 Future versions will use, in order, $CHARSET iff defined, nl_langinfo
128 (CODESET) iff working, or fall back to returning "ASCII".  Earlier it
129 attempted to guess the system locale, in contrast with the current
130 application's locale, via some setlocale save/set/reset magic.  This
131 change may require you to invoke setlocale() in your application,
132 which is (should be) required for non-ASCII to work anyway.  Based on
133 discussion with Ulrich Drepper.
135 ** The command-line utility now invoke setlocale (LC_ALL, "") at startup.
137 ** Fixed SASLprep tables to prohibit non-ASCII space in output.
138 Non-ASCII space has always been mapped to ASCII space, so it is not
139 clear this really have any effect, but the specification require it.
141 ** Building Libidn as part of GLIBC has been updated.
142 Refer to libc/README for more information.  Incidentally, GLIBC in CVS
143 now include a copy of Libidn.
145 ** API and ABI is backwards compatible with the previous version.
146 IDNA_DLOPEN_ERROR: ADD.  Only used internally by Libidn in libc.
148 * Version 0.4.0 (released 2004-02-28)
150 ** Support for TLD restrictions on IDN strings, contributed by Thomas Jacob.
151 Many TLDs restrict the set of characters that can be used, from the
152 full Unicode 3.2 range that is normally available.  This contribution
153 make it possible for you to test strings for TLD conformance locally.
154 The code can be disabled by --disable-tld.  If enabled (the default),
155 the new API "tld.h" is installed which can be used to check a string
156 for conformance to TLD specific rules.  This add a new self test, and
157 a new chapter in the manual.  People responsible for maintaining TLD
158 tables are hereby encouraged to contribute them (under reasonable
159 licensing terms) for inclusion in future versions of Libidn.  Be
160 warned that the API for TLD checking may change throughout the 0.4.x
161 series as we get feedback on it.
163 ** Kerberos 5 stringprep profile macro is no longer documented.
164 The macro itself will probably be removed in the future, if the
165 specification is dropped from the Kerberos WG agenda.
167 ** API and ABI is backwards compatible with the previous version.
168 stringprep_kerberos5: DEPRECATED.
169 Tld_table_element:
170 Tld_table:
171 Tld_rc: ADD.  New data types.
172 tld_get_4:
173 tld_get_4z:
174 tld_get_z: ADD.  New functions to extract TLD from string.
175 tld_get_table:
176 tld_default_table: ADD.  New functions to get TLD table from TLD name.
177 tld_check_4t:
178 tld_check_4tz: ADD.  New function to provide core TLD operations.
179 tld_check_4:
180 tld_check_4z:
181 tld_check_8z:
182 tld_check_lz: ADD.  New functions that combine all TLD operations in one call.
184 * Version 0.3.7 (released 2004-01-22)
186 ** The command line parameter '--' idiom is documented.
188 ** The iSCSI stringprep profile now recognized as "iSCSI".
189 The earlier name "ISCSIprep" is still recognized, for backwards
190 compatibility.
192 ** DocBook manuals no longer included (the tools are too unstable).
194 ** API and ABI is backwards compatible with the previous version.
196 * Version 0.3.6 (released 2004-01-06)
198 ** The manual now contain a troubleshooting section for the command line tool.
200 ** The PHP interface pass the string directly on the command line.
202 ** The macro that create 'idn-int.h' has been updated to latest version.
204 ** API and ABI is backwards compatible with the previous version.
206 * Version 0.3.5 (released 2003-12-15)
208 ** The program 'idn' accepts input strings directly on the command line.
210 ** The program 'idn' defaults to --idna-to-ascii if no parameter is given.
212 ** The program 'idn' now print user instructions before waiting for input.
214 ** DocBook HTML output not included any longer.
215 The reason is that the filenames generated by docbook2html appear to
216 be rather random, so it is difficult to maintain the Makefile.am rules
217 for them.
219 ** Autoconf 2.59, automake 1.8 and libtool from CVS is used.
221 ** API and ABI is backwards compatible with the previous version.
222 IDNA_CONTAINS_NON_LDH: ADD.  Same integer value as IDNA_CONTAINS_LDH.
223 IDNA_CONTAINS_LDH: DEPRECATED.  LDH (letter-digits-hyphens) characters
224                 are not an error, but non-LDH characters are, when
225                 IDNA_USE_STD3_ASCII_RULES is used.  The logic of the
226                 mnemonic name of this error constant was reversed.
228 * Version 0.3.4 (released 2003-11-09)
230 ** DocBook manuals in XML, PDF, PostScript, ASCII and HTML formats included.
232 * Version 0.3.3 (released 2003-10-18)
234 ** Fixed list of Stringprep profiles in 'idn --help' and 'idn.php'.
236 ** Fixed debug information in 'idn'.
238 ** Internal improvements.
239 Leads to reduced heap memory usage.  Simplified inter-dependency among
240 files in lib/* to make it easier to copy them into your project.
242 ** Debugging stringprep profile 'generic' removed.
244 ** Punycode implementation updated to rfc3492bis-00.
246 ** API and ABI is backwards compatible with the previous version.
247 stringprep_4i: NEW.
248 stringprep_4zi: NEW.
249 stringprep: CHANGED. 'profile' is marked as 'const'.
250 stringprep_profile: CHANGED. 'profile' is marked as 'const'.
251 stringprep_generic: REMOVED. Never meant for public use.
253 * Version 0.3.2 (released 2003-10-07)
255 ** SASL ANONYMOUS stringprep profile "trace" added.
256 It is equivalent to the already supported "plain" SASL ANONYMOUS
257 stringprep profile, except for the name.
259 ** API and ABI is backwards compatible with the previous version.
260 The 'in' parameter to stringprep_profile was changed from 'char*' to
261 'const char*'.
263 * Version 0.3.1 (released 2003-10-02)
265 ** Fixed handling of implicit and explicit zero-length root labels in ToASCII.
267 ** Fixed support for Hangul Syllables during Unicode NFKC normalization.
269 ** Fixed Unicode NFKC normalization of (some) BMP code points.
270 This was done by syncing the NFKC code with latest GLIB, and may have
271 fixed other bugs in the earlier versions of the updated functions.
273 ** Added more IDNA test vectors.
275 ** Emacs Lisp IDNA implementation now set the UseSTD3ASCIIRules flag.
276 This is the appropriate setting for mail-related uses of IDNA.
278 ** API and ABI is backwards compatible with the previous version.
280 * Version 0.3.0 (released 2003-09-23)
282 ** Ported to Mac OS X.
284 ** Gnulib code removed, we now assume a C89 compatible environment.
286 ** Building libidn as a libc add-on now works again.
288 ** Man pages for all public API functions are included.
290 ** Fixed bug in SASLprep profile.
292 ** API and ABI is NOT backwards compatible with the previous version.
293 All previously labeled (since 0.1.x) obsolete functions have been dropped.
294 The use of 'enum' types instead of 'int' added in 0.2.3 reverted, it
295 confused documentation generators and wasn't all that common practice.
297 * Version 0.2.3 (released 2003-08-26)
299 ** Example 4 was the same as example 3, now changed to demo ToUnicode.
301 ** Documentation improvements.
303 ** Prototype cleanups.
304 The proper enum types (Stringprep_rc, Idna_rc, etc) are now used in
305 several places where plain int where used before.  String lengths are
306 handled by (s)size_t instead of int.
308 ** API and ABI is backwards compatible with the previous version.
310 * Version 0.2.2 (released 2003-08-13)
312 ** Fixed problem with strings longer than 4GB in punycode functions.
313 The punycode code cannot handle strings longer than 4GB.  The code now
314 return PUNYCODE_BAD_INPUT on too long input, instead of failing in an
315 unknown way.
317 ** The "idn --idna-to-unicode" command now output locale encoded strings.
319 ** Build fixes, bug fixes.
321 ** API and ABI is backwards compatible with the previous version.
323 * Version 0.2.1 (released 2003-07-04)
325 ** Don't reject zero-length trailing labels as in, e.g., "www.example.org.".
326 The IDNA RFC is not clear on this topic, zero-length labels in general
327 are forbidden by the ToASCII algorithm in section 4.1 step 8, but the
328 terminology section define, inside a parenthesis, that the zero-length
329 root label is in fact not considered a label at all in IDNA.
331 ** Bug fixes.
333 ** API and ABI is backwards compatible with the previous version.
335 * Version 0.2.0 (released 2003-06-19)
337 ** Unicode code point data is now uint32_t, defined in "idn-int.h".
338 A header file "idn-int.h" is generated and installed to make sure the
339 "uint32_t" data type is available on all platforms.  The reason for
340 this change is that on 64-bit platforms, the application was required
341 to convert 32 bit integers (which is how Unicode code points are
342 typically represented) into 64 bit integers before calling libidn
343 functions.
345 ** New idna_*() functions have improved flags handling.
346 The allowunassigned and usestd3asciirules parameters were collapsed
347 into a flags parameter, that can take on the IDNA_ALLOW_UNASSIGNED and
348 IDNA_USE_STD3_ASCII_RULES values.  This allows for easier extensions
349 to support, e.g., Unicode 4.0 or RFC 952 ASCII rules checking.  Note
350 that the old entry points are unmodified (in this regard), and new
351 entry points with this modification were added.
353 ** The manual was moved into a separate directory doc/.
355 ** Bugfixes.
357 ** API and ABI is not backwards compatible.
358 In punycode.h and stringprep.h the "unsigned long" data type was
359 changed into "uint32_t", which cause a API and ABI missmatch.  For
360 idna.h, the old entry points that used "unsigned long" still exist,
361 and new entry points that uses "uint32_t" was added.  To update your
362 application, you probably only need to change "unsigned long" to
363 "uint32_t".  As a result of these changes, the shared object version
364 has been increased.
366 * Version 0.1.15 (released 2003-06-07)
368 ** Bugfixes.
370 ** API and ABI is backwards compatible with the previous version.
372 * Version 0.1.14 (released 2003-05-10)
374 ** Experimental documentation generation in contrib/doxygen/.
375 Simply invoke "doxygen" in that directory and it should build the
376 documentation.
378 ** Lisp API bug fixes.
380 ** API and ABI is backwards compatible with the previous version.
382 * Version 0.1.13 (released 2003-03-13)
384 ** Unfinished Java *.class files implementing the libidn API.
385 See the contrib/java/ directory.  It is implemented using the Java
386 Native Interface, and light initial testing indicate interoperability
387 between GCJ, IBM's JDK and Sun's JDK.
389 ** Building is now silent when gengetopt is not present.
391 ** Bug fixes.
393 ** API and ABI is backwards compatible with the previous version.
395 * Version 0.1.12 (released 2003-03-06)
397 ** Building libidn doesn't require gengetopt.
398 Warnings are still printed though.  Gengetopt will be replaced by argp
399 eventually.
401 ** Command line tool "idn" supports stringprep too.
403 ** New stringprep API entry point: stringprep_profile().
404 It takes a name of the stringprep profile as an argument instead of
405 the stringprep table structure.
407 ** stringprep_*.h are deprecated and will be removed in the future.
408 All symbols have been moved to stringprep.h.  The reasons are that (1)
409 the files typically only defined one CPP macro and exported one symbol
410 definition, which is wasteful as it generates too much work in the
411 manual, and (2) using one header file for all profiles allows easier
412 access to all stringprep profiles during runtime.  Note that the files
413 are still installed, but they only #include stringprep.h now, for
414 backwards compatibility.
416 ** GNU Libc add-on build instructions updated to GNU Libc 2.3.2.
418 ** SASLprep stringprep profile added.
420 ** An online interface to libidn written in PHP added to contrib/web/.
422 ** API and ABI is backwards compatible with the previous version.
424 * Version 0.1.11 (released 2003-02-26)
426 ** Command line application "idn" is included.
427 A simple wrapper around the library that allows you to invoke punycode
428 encoding/decoding and IDNA ToASCII/ToUnicode on the command line.
430 ** Emacs Lisp interface for punycode and IDNA included.
431 See punycode.el and idna.el.
433 ** API and ABI is backwards compatible with the previous version.
435 * Version 0.1.10 (released 2003-02-21)
437 ** idna_*_to_ace() and idna_*ace_to_*() are deprecated in favor of
438 ** idna_to_ascii_from_*() and idna_to_unicode_*_from_*() respectively.
439 The reason was that the old interfaces did not accept the
440 AllowUnassigned and UseSTD3ASCIIRules flags.  Note that the old
441 functions are not removed, but will be in the future.
443 ** IPS iSCSI stringprep profile added.
445 ** A new contrib/ directory added.
446 Currently it contains a Python interface to Libidn, contributed by
447 Stephane Bortzmeyer.
449 ** idna.h and punycode.h are now installed by "make install".
451 ** API and ABI is backwards compatible with the previous version.
453 * Version 0.1.9 (released 2003-02-20)
455 ** SASL ANONYMOUS "plain" stringprep profile added.
457 ** XMPP nodeprep profile fixed.
459 ** API and ABI is backwards compatible with the previous version.
460 For future releases, the NEWS entry will specifically mention whether
461 the C header API or library ABI backwards compatibility is affected.
463 * Version 0.1.8 (released 2003-02-14)
465 ** Portability fixes.
466 This includes not building the API Reference Manual with GTK-DOC by
467 default, if you want it use configure parameter --enable-gtk-doc after
468 making sure your gtkdoc-mkdb accept the --tmpl-dir parameter.
470 ** The type for string length variables is now (s)size_t.
471 Unfortunately this means binary shared library binary backwards
472 compatible is lost.
474 ** New nameprep test vectors.
476 * Version 0.1.7 (released 2003-02-12)
478 ** Uses official IDNA ACE prefix.
480 * Version 0.1.6 (released 2003-02-11)
482 ** Uses tentative IDNA ACE prefix.
484 ** Added XMPP Node/Resource Identifiers stringprep profiles.
486 ** Fixed prohibited character checks for bidi.
488 * Version 0.1.5 (released 2003-01-28)
490 ** The library can now be built as part of GNU Libc.
491 This is experimental and only tested against GNU Libc version 2.3.1.
492 See the libc/ directory, and libc/README in particular.
494 ** Bug fixes.
496 * Version 0.1.4 (released 2003-01-15)
498 ** Documentation fixes.
500 ** Portability fixes.
502 ** Bug fixes.
504 * Version 0.1.3 (released 2003-01-15)
506 ** Added texinfo manual.
508 * Version 0.1.2 (released 2003-01-08)
510 ** Added high-level IDNA API.
512 ** Added example3.c and example4.c demonstrating the high-level IDNA API.
514 * Version 0.1.1 (released 2003-01-08)
516 ** Added documentation using GTK-DOC.
518 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
519 By accident it was never removed in 0.1.0.
521 * Version 0.1.0 (released 2003-01-05)
523 ** Official GNU project.
525 ** Renamed from libstringprep to libidn.
527 ** Supports punycode and IDNA.  Caveat emptor: I don't use it myself.
529 ** Uses "unsigned long" for Unicode code points instead of "long".
530 Long is guaranteed to be at least 32 bits by C standards so it is
531 always sufficiently large, no need to use uint32_t and the like.
533 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
535 * Version 0.0.8 (released 2002-12-13)
537 ** Portability fixes (now works under Cygwin on Windows 2000).
539 ** Bug fixes.
541 * Version 0.0.7 (released 2002-12-09)
543 ** Apply all tables to entire strings, not just first hit.
545 ** Fix bidi infloop.
547 * Version 0.0.5 (released 2002-12-07)
549 ** Fix prohibited characters handling.
551 ** Fix bidi.
553 ** Renamed type (struct) stringprep_table_element to Stringprep_table_element.
555 ** Renamed type stringprep_profile to Stringprep_profile.
557 ** Renamed type (struct) stringprep_table to Stringprep_table.
559 ** Added more self-tests.
561 * Version 0.0.4 (released 2002-12-06)
563 ** Add unassigned code point handling, including self test cases.
565 ** Portability fixes.
567 * Version 0.0.3 (released 2002-11-30)
569 ** Exported utility function `stringprep_utf8_to_unichar', complementary
570 to existing `stringprep_unichar_to_utf8'.
572 ** Renamed `stringprep_utf8_to_ucs4_fast' to `stringprep_utf8_to_ucs4' to
573 clean up API. The old entry point is maintained for binary backwards
574 compatibility though.
576 ** The distribution is from now on signed using GnuPG.
578 ** Bug fixes.
580 * Version 0.0.2 (released 2002-11-07)
582 ** NFKC self test.
584 ** Bug fixes.
586 * Version 0.0.1 (released 2002-11-06)
588 ** Add utility functions stringprep_locale_charset(), stringprep_convert() 
589 and stringprep_locale_to_utf8 () that can be used to convert text from
590 system's locale into UTF-8, which should be done before invoking
591 stringprep().  The functions requires iconv() in the operating system.
593 ** An example program (example.c) that illustrates how libstringprep can be
594 used is included.
596 ** The pkg-config --libs output should now include necessary -R options.
598 * Version 0.0.0 (released 2002-11-05)
600 ** Initial release
602 ----------------------------------------------------------------------
603 Copying and distribution of this file, with or without modification,
604 are permitted in any medium without royalty provided the copyright
605 notice and this notice are preserved.