Sync with TP.
[libidn.git] / NEWS
blobf10a042ea9d5f03dcf6e01a446d0be3e417c3136
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.5.4 (unreleased)
7 ** Translation updates.
9 ** API and ABI is backwards compatible with the previous version.
11 * Version 0.5.3 (released 2004-08-05)
13 ** Fix crash in `idn --tld' command line tool.
15 ** API and ABI is backwards compatible with the previous version.
17 * Version 0.5.2 (released 2004-07-14)
19 ** Java "make install" rules are now DESTDIR compatible.
21 ** API and ABI is backwards compatible with the previous version.
23 * Version 0.5.1 (released 2004-07-09)
25 ** Cross compile builds should work.
26 It should work for any sane cross compile target, but the only tested
27 platform is uClibc/uClinux on Motorola Coldfire.
29 ** The example programs now correctly invoke `setlocale (LC_ALL, "")'.
31 ** API and ABI is backwards compatible with the previous version.
33 * Version 0.5.0 (released 2004-06-26)
35 ** Functions to detect "normalization problem sequences" as per PR-29 added.
36 See the new chapter "PR29 Functions" in the manual
37 (doc/libidn.{ps,pdf,html}) for more information and the background
38 story.  An external link that discuss the problem is
39 <http://www.unicode.org/review/pr-29.html>.
41 ** More translations.
42 Added Esperanto (by Edmund GRIMLEY EVANS).
44 ** API and ABI is backwards compatible with the previous version.
45 pr29.h: ADD.  Prototypes for PR29 types and functions.
46 pr29_4, pr29_4z, pr29_8z: ADD.  New API entry points for PR29 functions.
47 Pr29_rc: ADD.  New error code enum type for PR29 functions.
49 * Version 0.4.9 (released 2004-06-11)
51 ** The Java library (java/libidn-*.jar) is included in the distribution.
53 ** JavaDoc manuals (doc/javadoc/) are included.
55 ** API and ABI is backwards compatible with the previous version.
57 * Version 0.4.8 (released 2004-06-01)
59 ** The Java source code is actually included in the distribution.
61 ** API and ABI is backwards compatible with the previous version.
63 * Version 0.4.7 (released 2004-05-31)
65 ** The Java port should now be functional, contributed by Oliver Hitz.
66 See the new section "Java API" in the manual for more information.
68 ** API and ABI is backwards compatible with the previous version.
70 * Version 0.4.6 (released 2004-05-24)
72 ** The header file idn-free.h is actually installed by 'make install'.
74 ** API and ABI is backwards compatible with the previous version.
76 * Version 0.4.5 (released 2004-05-21)
78 ** In IDNA ToUnicode, a `free' on a stale pointer fixed by Ulrich Drepper.
80 ** Several memory leaks fixed by Ulrich Drepper.
82 ** Added more SASLPrep and NFKC test vectors.
84 ** Automake 1.8.4 is used.
86 ** API and ABI is backwards compatible with the previous version.
87 idn_free: ADD.  Wrapper around system `free'.
88 idn-free.h: ADD.  Prototype for `idn_free'.
89                 See idn-free.h for discussion.  The interface is
90                 currently not documented.  Comments and feedback is
91                 appreciated.
93 * Version 0.4.4 (released 2004-04-29)
95 ** Fixed two bugs in iSCSI definition, syncing with newly published RFC 3722.
96 The first bug was an omission of prohibiting the characters in C.1.1,
97 C.1.2 and C.7 (space characters and characters that are inappropriate
98 for canonical representation).  The second was a bug in the definition
99 of the table, causing the entire table to be skipped, of the special
100 prohibited output character table defined in RFC 3722 (see section 6,
101 the characters in the table are various ASCII characters and U+3002).
103 ** A few test vectors for iSCSI were added.
105 ** The self tests are linked with libtool -no-install to avoid wrapper script.
107 ** Separated self test utilities into a separate library, shared by all tests.
109 ** More translations.
110 Added Romanian (by Laurentiu Buzdugan).
112 ** API and ABI is backwards compatible with the previous version.
114 * Version 0.4.3 (released 2004-04-22)
116 ** Fixed a bug in table processing code to prohibit control characters.
117 The problem was that the code used a code point of 0 to indicate end
118 of table, but if (as for table C.2.1) a range starts with 0, this
119 logic would fail.  The end-of-table test is now that both the start
120 and end code points of the range is 0.  Table C.2.1 is responsible for
121 prohibiting non-ASCII control characters, i.e. ASCII 0-31 and 127.
122 Before, libidn silently accepted such strings without complaining.
124 ** A few test vectors for SASLprep were added.
126 ** The pkg-config script no longer include a -R parameter.
128 ** More translations.
129 Added Dutch (by Elros Cyriatan), and German (by Roland Illig).
131 ** API and ABI is backwards compatible with the previous version.
133 * Version 0.4.2 (released 2004-03-20)
135 ** A Punycode implementation in Java was added, by Oliver Hitz.
136 Eventually hopefully a StringPrep, Nameprep and IDNA implementation
137 will be added as well.  Currently you need to specify --enable-java to
138 enable the Java interface.  The Java sources (below java/) are
139 compiled into byte-code (not native code) into a JAR library.
141 ** More translations.
142 Added Danish (by Morten Bo Johansen), French (by Michel Robitaille),
143 Polish (by Jakub Bogusz), and Serbian (by Aleksandar Jelenak).
145 ** Norwegian TLD table added, by Thomas Jacob.
147 ** API and ABI is backwards compatible with the previous version.
149 * Version 0.4.1 (released 2004-03-08)
151 ** The user messages from the command line utility are now translated.
152 Currently English and Swedish is supported.
154 ** Logic of stringprep_locale_charset modified.
155 Future versions will use, in order, $CHARSET iff defined, nl_langinfo
156 (CODESET) iff working, or fall back to returning "ASCII".  Earlier it
157 attempted to guess the system locale, in contrast with the current
158 application's locale, via some setlocale save/set/reset magic.  This
159 change may require you to invoke setlocale() in your application,
160 which is (should be) required for non-ASCII to work anyway.  Based on
161 discussion with Ulrich Drepper.
163 ** The command-line utility now invoke setlocale (LC_ALL, "") at startup.
165 ** Fixed SASLprep tables to prohibit non-ASCII space in output.
166 Non-ASCII space has always been mapped to ASCII space, so it is not
167 clear this really have any effect, but the specification require it.
169 ** Building Libidn as part of GLIBC has been updated.
170 Refer to libc/README for more information.  Incidentally, GLIBC in CVS
171 now include a copy of Libidn.
173 ** API and ABI is backwards compatible with the previous version.
174 IDNA_DLOPEN_ERROR: ADD.  Only used internally by Libidn in libc.
176 * Version 0.4.0 (released 2004-02-28)
178 ** Support for TLD restrictions on IDN strings, contributed by Thomas Jacob.
179 Many TLDs restrict the set of characters that can be used, from the
180 full Unicode 3.2 range that is normally available.  This contribution
181 make it possible for you to test strings for TLD conformance locally.
182 The code can be disabled by --disable-tld.  If enabled (the default),
183 the new API "tld.h" is installed which can be used to check a string
184 for conformance to TLD specific rules.  This add a new self test, and
185 a new chapter in the manual.  People responsible for maintaining TLD
186 tables are hereby encouraged to contribute them (under reasonable
187 licensing terms) for inclusion in future versions of Libidn.  Be
188 warned that the API for TLD checking may change throughout the 0.4.x
189 series as we get feedback on it.
191 ** Kerberos 5 stringprep profile macro is no longer documented.
192 The macro itself will probably be removed in the future, if the
193 specification is dropped from the Kerberos WG agenda.
195 ** API and ABI is backwards compatible with the previous version.
196 stringprep_kerberos5: DEPRECATED.
197 Tld_table_element:
198 Tld_table:
199 Tld_rc: ADD.  New data types.
200 tld_get_4:
201 tld_get_4z:
202 tld_get_z: ADD.  New functions to extract TLD from string.
203 tld_get_table:
204 tld_default_table: ADD.  New functions to get TLD table from TLD name.
205 tld_check_4t:
206 tld_check_4tz: ADD.  New function to provide core TLD operations.
207 tld_check_4:
208 tld_check_4z:
209 tld_check_8z:
210 tld_check_lz: ADD.  New functions that combine all TLD operations in one call.
212 * Version 0.3.7 (released 2004-01-22)
214 ** The command line parameter '--' idiom is documented.
216 ** The iSCSI stringprep profile now recognized as "iSCSI".
217 The earlier name "ISCSIprep" is still recognized, for backwards
218 compatibility.
220 ** DocBook manuals no longer included (the tools are too unstable).
222 ** API and ABI is backwards compatible with the previous version.
224 * Version 0.3.6 (released 2004-01-06)
226 ** The manual now contain a troubleshooting section for the command line tool.
228 ** The PHP interface pass the string directly on the command line.
230 ** The macro that create 'idn-int.h' has been updated to latest version.
232 ** API and ABI is backwards compatible with the previous version.
234 * Version 0.3.5 (released 2003-12-15)
236 ** The program 'idn' accepts input strings directly on the command line.
238 ** The program 'idn' defaults to --idna-to-ascii if no parameter is given.
240 ** The program 'idn' now print user instructions before waiting for input.
242 ** DocBook HTML output not included any longer.
243 The reason is that the filenames generated by docbook2html appear to
244 be rather random, so it is difficult to maintain the Makefile.am rules
245 for them.
247 ** Autoconf 2.59, automake 1.8 and libtool from CVS is used.
249 ** API and ABI is backwards compatible with the previous version.
250 IDNA_CONTAINS_NON_LDH: ADD.  Same integer value as IDNA_CONTAINS_LDH.
251 IDNA_CONTAINS_LDH: DEPRECATED.  LDH (letter-digits-hyphens) characters
252                 are not an error, but non-LDH characters are, when
253                 IDNA_USE_STD3_ASCII_RULES is used.  The logic of the
254                 mnemonic name of this error constant was reversed.
256 * Version 0.3.4 (released 2003-11-09)
258 ** DocBook manuals in XML, PDF, PostScript, ASCII and HTML formats included.
260 * Version 0.3.3 (released 2003-10-18)
262 ** Fixed list of Stringprep profiles in 'idn --help' and 'idn.php'.
264 ** Fixed debug information in 'idn'.
266 ** Internal improvements.
267 Leads to reduced heap memory usage.  Simplified inter-dependency among
268 files in lib/* to make it easier to copy them into your project.
270 ** Debugging stringprep profile 'generic' removed.
272 ** Punycode implementation updated to rfc3492bis-00.
274 ** API and ABI is backwards compatible with the previous version.
275 stringprep_4i: NEW.
276 stringprep_4zi: NEW.
277 stringprep: CHANGED. 'profile' is marked as 'const'.
278 stringprep_profile: CHANGED. 'profile' is marked as 'const'.
279 stringprep_generic: REMOVED. Never meant for public use.
281 * Version 0.3.2 (released 2003-10-07)
283 ** SASL ANONYMOUS stringprep profile "trace" added.
284 It is equivalent to the already supported "plain" SASL ANONYMOUS
285 stringprep profile, except for the name.
287 ** API and ABI is backwards compatible with the previous version.
288 The 'in' parameter to stringprep_profile was changed from 'char*' to
289 'const char*'.
291 * Version 0.3.1 (released 2003-10-02)
293 ** Fixed handling of implicit and explicit zero-length root labels in ToASCII.
295 ** Fixed support for Hangul Syllables during Unicode NFKC normalization.
297 ** Fixed Unicode NFKC normalization of (some) BMP code points.
298 This was done by syncing the NFKC code with latest GLIB, and may have
299 fixed other bugs in the earlier versions of the updated functions.
301 ** Added more IDNA test vectors.
303 ** Emacs Lisp IDNA implementation now set the UseSTD3ASCIIRules flag.
304 This is the appropriate setting for mail-related uses of IDNA.
306 ** API and ABI is backwards compatible with the previous version.
308 * Version 0.3.0 (released 2003-09-23)
310 ** Ported to Mac OS X.
312 ** Gnulib code removed, we now assume a C89 compatible environment.
314 ** Building libidn as a libc add-on now works again.
316 ** Man pages for all public API functions are included.
318 ** Fixed bug in SASLprep profile.
320 ** API and ABI is NOT backwards compatible with the previous version.
321 All previously labeled (since 0.1.x) obsolete functions have been dropped.
322 The use of 'enum' types instead of 'int' added in 0.2.3 reverted, it
323 confused documentation generators and wasn't all that common practice.
325 * Version 0.2.3 (released 2003-08-26)
327 ** Example 4 was the same as example 3, now changed to demo ToUnicode.
329 ** Documentation improvements.
331 ** Prototype cleanups.
332 The proper enum types (Stringprep_rc, Idna_rc, etc) are now used in
333 several places where plain int where used before.  String lengths are
334 handled by (s)size_t instead of int.
336 ** API and ABI is backwards compatible with the previous version.
338 * Version 0.2.2 (released 2003-08-13)
340 ** Fixed problem with strings longer than 4GB in punycode functions.
341 The punycode code cannot handle strings longer than 4GB.  The code now
342 return PUNYCODE_BAD_INPUT on too long input, instead of failing in an
343 unknown way.
345 ** The "idn --idna-to-unicode" command now output locale encoded strings.
347 ** Build fixes, bug fixes.
349 ** API and ABI is backwards compatible with the previous version.
351 * Version 0.2.1 (released 2003-07-04)
353 ** Don't reject zero-length trailing labels as in, e.g., "www.example.org.".
354 The IDNA RFC is not clear on this topic, zero-length labels in general
355 are forbidden by the ToASCII algorithm in section 4.1 step 8, but the
356 terminology section define, inside a parenthesis, that the zero-length
357 root label is in fact not considered a label at all in IDNA.
359 ** Bug fixes.
361 ** API and ABI is backwards compatible with the previous version.
363 * Version 0.2.0 (released 2003-06-19)
365 ** Unicode code point data is now uint32_t, defined in "idn-int.h".
366 A header file "idn-int.h" is generated and installed to make sure the
367 "uint32_t" data type is available on all platforms.  The reason for
368 this change is that on 64-bit platforms, the application was required
369 to convert 32 bit integers (which is how Unicode code points are
370 typically represented) into 64 bit integers before calling libidn
371 functions.
373 ** New idna_*() functions have improved flags handling.
374 The allowunassigned and usestd3asciirules parameters were collapsed
375 into a flags parameter, that can take on the IDNA_ALLOW_UNASSIGNED and
376 IDNA_USE_STD3_ASCII_RULES values.  This allows for easier extensions
377 to support, e.g., Unicode 4.0 or RFC 952 ASCII rules checking.  Note
378 that the old entry points are unmodified (in this regard), and new
379 entry points with this modification were added.
381 ** The manual was moved into a separate directory doc/.
383 ** Bugfixes.
385 ** API and ABI is not backwards compatible.
386 In punycode.h and stringprep.h the "unsigned long" data type was
387 changed into "uint32_t", which cause a API and ABI missmatch.  For
388 idna.h, the old entry points that used "unsigned long" still exist,
389 and new entry points that uses "uint32_t" was added.  To update your
390 application, you probably only need to change "unsigned long" to
391 "uint32_t".  As a result of these changes, the shared object version
392 has been increased.
394 * Version 0.1.15 (released 2003-06-07)
396 ** Bugfixes.
398 ** API and ABI is backwards compatible with the previous version.
400 * Version 0.1.14 (released 2003-05-10)
402 ** Experimental documentation generation in contrib/doxygen/.
403 Simply invoke "doxygen" in that directory and it should build the
404 documentation.
406 ** Lisp API bug fixes.
408 ** API and ABI is backwards compatible with the previous version.
410 * Version 0.1.13 (released 2003-03-13)
412 ** Unfinished Java *.class files implementing the libidn API.
413 See the contrib/java/ directory.  It is implemented using the Java
414 Native Interface, and light initial testing indicate interoperability
415 between GCJ, IBM's JDK and Sun's JDK.
417 ** Building is now silent when gengetopt is not present.
419 ** Bug fixes.
421 ** API and ABI is backwards compatible with the previous version.
423 * Version 0.1.12 (released 2003-03-06)
425 ** Building libidn doesn't require gengetopt.
426 Warnings are still printed though.  Gengetopt will be replaced by argp
427 eventually.
429 ** Command line tool "idn" supports stringprep too.
431 ** New stringprep API entry point: stringprep_profile().
432 It takes a name of the stringprep profile as an argument instead of
433 the stringprep table structure.
435 ** stringprep_*.h are deprecated and will be removed in the future.
436 All symbols have been moved to stringprep.h.  The reasons are that (1)
437 the files typically only defined one CPP macro and exported one symbol
438 definition, which is wasteful as it generates too much work in the
439 manual, and (2) using one header file for all profiles allows easier
440 access to all stringprep profiles during runtime.  Note that the files
441 are still installed, but they only #include stringprep.h now, for
442 backwards compatibility.
444 ** GNU Libc add-on build instructions updated to GNU Libc 2.3.2.
446 ** SASLprep stringprep profile added.
448 ** An online interface to libidn written in PHP added to contrib/web/.
450 ** API and ABI is backwards compatible with the previous version.
452 * Version 0.1.11 (released 2003-02-26)
454 ** Command line application "idn" is included.
455 A simple wrapper around the library that allows you to invoke punycode
456 encoding/decoding and IDNA ToASCII/ToUnicode on the command line.
458 ** Emacs Lisp interface for punycode and IDNA included.
459 See punycode.el and idna.el.
461 ** API and ABI is backwards compatible with the previous version.
463 * Version 0.1.10 (released 2003-02-21)
465 ** idna_*_to_ace() and idna_*ace_to_*() are deprecated in favor of
466 ** idna_to_ascii_from_*() and idna_to_unicode_*_from_*() respectively.
467 The reason was that the old interfaces did not accept the
468 AllowUnassigned and UseSTD3ASCIIRules flags.  Note that the old
469 functions are not removed, but will be in the future.
471 ** IPS iSCSI stringprep profile added.
473 ** A new contrib/ directory added.
474 Currently it contains a Python interface to Libidn, contributed by
475 Stephane Bortzmeyer.
477 ** idna.h and punycode.h are now installed by "make install".
479 ** API and ABI is backwards compatible with the previous version.
481 * Version 0.1.9 (released 2003-02-20)
483 ** SASL ANONYMOUS "plain" stringprep profile added.
485 ** XMPP nodeprep profile fixed.
487 ** API and ABI is backwards compatible with the previous version.
488 For future releases, the NEWS entry will specifically mention whether
489 the C header API or library ABI backwards compatibility is affected.
491 * Version 0.1.8 (released 2003-02-14)
493 ** Portability fixes.
494 This includes not building the API Reference Manual with GTK-DOC by
495 default, if you want it use configure parameter --enable-gtk-doc after
496 making sure your gtkdoc-mkdb accept the --tmpl-dir parameter.
498 ** The type for string length variables is now (s)size_t.
499 Unfortunately this means binary shared library binary backwards
500 compatible is lost.
502 ** New nameprep test vectors.
504 * Version 0.1.7 (released 2003-02-12)
506 ** Uses official IDNA ACE prefix.
508 * Version 0.1.6 (released 2003-02-11)
510 ** Uses tentative IDNA ACE prefix.
512 ** Added XMPP Node/Resource Identifiers stringprep profiles.
514 ** Fixed prohibited character checks for bidi.
516 * Version 0.1.5 (released 2003-01-28)
518 ** The library can now be built as part of GNU Libc.
519 This is experimental and only tested against GNU Libc version 2.3.1.
520 See the libc/ directory, and libc/README in particular.
522 ** Bug fixes.
524 * Version 0.1.4 (released 2003-01-15)
526 ** Documentation fixes.
528 ** Portability fixes.
530 ** Bug fixes.
532 * Version 0.1.3 (released 2003-01-15)
534 ** Added texinfo manual.
536 * Version 0.1.2 (released 2003-01-08)
538 ** Added high-level IDNA API.
540 ** Added example3.c and example4.c demonstrating the high-level IDNA API.
542 * Version 0.1.1 (released 2003-01-08)
544 ** Added documentation using GTK-DOC.
546 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
547 By accident it was never removed in 0.1.0.
549 * Version 0.1.0 (released 2003-01-05)
551 ** Official GNU project.
553 ** Renamed from libstringprep to libidn.
555 ** Supports punycode and IDNA.  Caveat emptor: I don't use it myself.
557 ** Uses "unsigned long" for Unicode code points instead of "long".
558 Long is guaranteed to be at least 32 bits by C standards so it is
559 always sufficiently large, no need to use uint32_t and the like.
561 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
563 * Version 0.0.8 (released 2002-12-13)
565 ** Portability fixes (now works under Cygwin on Windows 2000).
567 ** Bug fixes.
569 * Version 0.0.7 (released 2002-12-09)
571 ** Apply all tables to entire strings, not just first hit.
573 ** Fix bidi infloop.
575 * Version 0.0.5 (released 2002-12-07)
577 ** Fix prohibited characters handling.
579 ** Fix bidi.
581 ** Renamed type (struct) stringprep_table_element to Stringprep_table_element.
583 ** Renamed type stringprep_profile to Stringprep_profile.
585 ** Renamed type (struct) stringprep_table to Stringprep_table.
587 ** Added more self-tests.
589 * Version 0.0.4 (released 2002-12-06)
591 ** Add unassigned code point handling, including self test cases.
593 ** Portability fixes.
595 * Version 0.0.3 (released 2002-11-30)
597 ** Exported utility function `stringprep_utf8_to_unichar', complementary
598 to existing `stringprep_unichar_to_utf8'.
600 ** Renamed `stringprep_utf8_to_ucs4_fast' to `stringprep_utf8_to_ucs4' to
601 clean up API. The old entry point is maintained for binary backwards
602 compatibility though.
604 ** The distribution is from now on signed using GnuPG.
606 ** Bug fixes.
608 * Version 0.0.2 (released 2002-11-07)
610 ** NFKC self test.
612 ** Bug fixes.
614 * Version 0.0.1 (released 2002-11-06)
616 ** Add utility functions stringprep_locale_charset(), stringprep_convert() 
617 and stringprep_locale_to_utf8 () that can be used to convert text from
618 system's locale into UTF-8, which should be done before invoking
619 stringprep().  The functions requires iconv() in the operating system.
621 ** An example program (example.c) that illustrates how libstringprep can be
622 used is included.
624 ** The pkg-config --libs output should now include necessary -R options.
626 * Version 0.0.0 (released 2002-11-05)
628 ** Initial release
630 ----------------------------------------------------------------------
631 Copying and distribution of this file, with or without modification,
632 are permitted in any medium without royalty provided the copyright
633 notice and this notice are preserved.