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.9 (unreleased)
7 * Version 0.5.8 (released 2004-10-12)
9 ** BidiMirroring-3.2.0.txt is now included, not only the generated source code.
10 This allow builds to succeed after 'make realclean'.
12 ** Generated files now have consistent 'DO NOT EDIT!' comments.
14 ** API and ABI is backwards compatible with the previous version.
16 * Version 0.5.7 (released 2004-10-12)
18 ** Shared library version incremented, because new APIs were added.
19 This was forgotten in the last release.
21 ** French translation updated.
25 ** API and ABI is backwards compatible with the previous version.
27 * Version 0.5.6 (released 2004-10-02)
29 ** Added functions to convert return codes to human readable text.
31 ** Now using GNULib in command line front end (src/) for portability code.
32 See <http://www.gnu.org/software/gnulib/> for more information on
33 GNULib. This should make the code easier to read and maintain.
35 ** API and ABI is backwards compatible with the previous version.
38 punycode_strerror: ADD.
39 stringprep_strerror: ADD.
41 TLD_NO_TLD: ADD. Replaces TLD_NOTLD.
42 TLD_NOTLD: DEPRECATED. Use TLD_NO_TLD instead.
44 * Version 0.5.5 (released 2004-09-13)
46 ** Hide accidentally exported variable g_utf8_skip, by marking it as static.
50 ** API and ABI is backwards compatible with the previous version.
51 g_utf8_skip: REMOVED. (But never meant to be used.)
53 * Version 0.5.4 (released 2004-08-08)
55 ** Translation updates.
57 ** API and ABI is backwards compatible with the previous version.
59 * Version 0.5.3 (released 2004-08-05)
61 ** Fix crash in `idn --tld' command line tool.
63 ** API and ABI is backwards compatible with the previous version.
65 * Version 0.5.2 (released 2004-07-14)
67 ** Java "make install" rules are now DESTDIR compatible.
69 ** API and ABI is backwards compatible with the previous version.
71 * Version 0.5.1 (released 2004-07-09)
73 ** Cross compile builds should work.
74 It should work for any sane cross compile target, but the only tested
75 platform is uClibc/uClinux on Motorola Coldfire.
77 ** The example programs now correctly invoke `setlocale (LC_ALL, "")'.
79 ** API and ABI is backwards compatible with the previous version.
81 * Version 0.5.0 (released 2004-06-26)
83 ** Functions to detect "normalization problem sequences" as per PR-29 added.
84 See the new chapter "PR29 Functions" in the manual
85 (doc/libidn.{ps,pdf,html}) for more information and the background
86 story. An external link that discuss the problem is
87 <http://www.unicode.org/review/pr-29.html>.
90 Added Esperanto (by Edmund GRIMLEY EVANS).
92 ** API and ABI is backwards compatible with the previous version.
93 pr29.h: ADD. Prototypes for PR29 types and functions.
94 pr29_4, pr29_4z, pr29_8z: ADD. New API entry points for PR29 functions.
95 Pr29_rc: ADD. New error code enum type for PR29 functions.
97 * Version 0.4.9 (released 2004-06-11)
99 ** The Java library (java/libidn-*.jar) is included in the distribution.
101 ** JavaDoc manuals (doc/javadoc/) are included.
103 ** API and ABI is backwards compatible with the previous version.
105 * Version 0.4.8 (released 2004-06-01)
107 ** The Java source code is actually included in the distribution.
109 ** API and ABI is backwards compatible with the previous version.
111 * Version 0.4.7 (released 2004-05-31)
113 ** The Java port should now be functional, contributed by Oliver Hitz.
114 See the new section "Java API" in the manual for more information.
116 ** API and ABI is backwards compatible with the previous version.
118 * Version 0.4.6 (released 2004-05-24)
120 ** The header file idn-free.h is actually installed by 'make install'.
122 ** API and ABI is backwards compatible with the previous version.
124 * Version 0.4.5 (released 2004-05-21)
126 ** In IDNA ToUnicode, a `free' on a stale pointer fixed by Ulrich Drepper.
128 ** Several memory leaks fixed by Ulrich Drepper.
130 ** Added more SASLPrep and NFKC test vectors.
132 ** Automake 1.8.4 is used.
134 ** API and ABI is backwards compatible with the previous version.
135 idn_free: ADD. Wrapper around system `free'.
136 idn-free.h: ADD. Prototype for `idn_free'.
137 See idn-free.h for discussion. The interface is
138 currently not documented. Comments and feedback is
141 * Version 0.4.4 (released 2004-04-29)
143 ** Fixed two bugs in iSCSI definition, syncing with newly published RFC 3722.
144 The first bug was an omission of prohibiting the characters in C.1.1,
145 C.1.2 and C.7 (space characters and characters that are inappropriate
146 for canonical representation). The second was a bug in the definition
147 of the table, causing the entire table to be skipped, of the special
148 prohibited output character table defined in RFC 3722 (see section 6,
149 the characters in the table are various ASCII characters and U+3002).
151 ** A few test vectors for iSCSI were added.
153 ** The self tests are linked with libtool -no-install to avoid wrapper script.
155 ** Separated self test utilities into a separate library, shared by all tests.
157 ** More translations.
158 Added Romanian (by Laurentiu Buzdugan).
160 ** API and ABI is backwards compatible with the previous version.
162 * Version 0.4.3 (released 2004-04-22)
164 ** Fixed a bug in table processing code to prohibit control characters.
165 The problem was that the code used a code point of 0 to indicate end
166 of table, but if (as for table C.2.1) a range starts with 0, this
167 logic would fail. The end-of-table test is now that both the start
168 and end code points of the range is 0. Table C.2.1 is responsible for
169 prohibiting non-ASCII control characters, i.e. ASCII 0-31 and 127.
170 Before, libidn silently accepted such strings without complaining.
172 ** A few test vectors for SASLprep were added.
174 ** The pkg-config script no longer include a -R parameter.
176 ** More translations.
177 Added Dutch (by Elros Cyriatan), and German (by Roland Illig).
179 ** API and ABI is backwards compatible with the previous version.
181 * Version 0.4.2 (released 2004-03-20)
183 ** A Punycode implementation in Java was added, by Oliver Hitz.
184 Eventually hopefully a StringPrep, Nameprep and IDNA implementation
185 will be added as well. Currently you need to specify --enable-java to
186 enable the Java interface. The Java sources (below java/) are
187 compiled into byte-code (not native code) into a JAR library.
189 ** More translations.
190 Added Danish (by Morten Bo Johansen), French (by Michel Robitaille),
191 Polish (by Jakub Bogusz), and Serbian (by Aleksandar Jelenak).
193 ** Norwegian TLD table added, by Thomas Jacob.
195 ** API and ABI is backwards compatible with the previous version.
197 * Version 0.4.1 (released 2004-03-08)
199 ** The user messages from the command line utility are now translated.
200 Currently English and Swedish is supported.
202 ** Logic of stringprep_locale_charset modified.
203 Future versions will use, in order, $CHARSET iff defined, nl_langinfo
204 (CODESET) iff working, or fall back to returning "ASCII". Earlier it
205 attempted to guess the system locale, in contrast with the current
206 application's locale, via some setlocale save/set/reset magic. This
207 change may require you to invoke setlocale() in your application,
208 which is (should be) required for non-ASCII to work anyway. Based on
209 discussion with Ulrich Drepper.
211 ** The command-line utility now invoke setlocale (LC_ALL, "") at startup.
213 ** Fixed SASLprep tables to prohibit non-ASCII space in output.
214 Non-ASCII space has always been mapped to ASCII space, so it is not
215 clear this really have any effect, but the specification require it.
217 ** Building Libidn as part of GLIBC has been updated.
218 Refer to libc/README for more information. Incidentally, GLIBC in CVS
219 now include a copy of Libidn.
221 ** API and ABI is backwards compatible with the previous version.
222 IDNA_DLOPEN_ERROR: ADD. Only used internally by Libidn in libc.
224 * Version 0.4.0 (released 2004-02-28)
226 ** Support for TLD restrictions on IDN strings, contributed by Thomas Jacob.
227 Many TLDs restrict the set of characters that can be used, from the
228 full Unicode 3.2 range that is normally available. This contribution
229 make it possible for you to test strings for TLD conformance locally.
230 The code can be disabled by --disable-tld. If enabled (the default),
231 the new API "tld.h" is installed which can be used to check a string
232 for conformance to TLD specific rules. This add a new self test, and
233 a new chapter in the manual. People responsible for maintaining TLD
234 tables are hereby encouraged to contribute them (under reasonable
235 licensing terms) for inclusion in future versions of Libidn. Be
236 warned that the API for TLD checking may change throughout the 0.4.x
237 series as we get feedback on it.
239 ** Kerberos 5 stringprep profile macro is no longer documented.
240 The macro itself will probably be removed in the future, if the
241 specification is dropped from the Kerberos WG agenda.
243 ** API and ABI is backwards compatible with the previous version.
244 stringprep_kerberos5: DEPRECATED.
247 Tld_rc: ADD. New data types.
250 tld_get_z: ADD. New functions to extract TLD from string.
252 tld_default_table: ADD. New functions to get TLD table from TLD name.
254 tld_check_4tz: ADD. New function to provide core TLD operations.
258 tld_check_lz: ADD. New functions that combine all TLD operations in one call.
260 * Version 0.3.7 (released 2004-01-22)
262 ** The command line parameter '--' idiom is documented.
264 ** The iSCSI stringprep profile now recognized as "iSCSI".
265 The earlier name "ISCSIprep" is still recognized, for backwards
268 ** DocBook manuals no longer included (the tools are too unstable).
270 ** API and ABI is backwards compatible with the previous version.
272 * Version 0.3.6 (released 2004-01-06)
274 ** The manual now contain a troubleshooting section for the command line tool.
276 ** The PHP interface pass the string directly on the command line.
278 ** The macro that create 'idn-int.h' has been updated to latest version.
280 ** API and ABI is backwards compatible with the previous version.
282 * Version 0.3.5 (released 2003-12-15)
284 ** The program 'idn' accepts input strings directly on the command line.
286 ** The program 'idn' defaults to --idna-to-ascii if no parameter is given.
288 ** The program 'idn' now print user instructions before waiting for input.
290 ** DocBook HTML output not included any longer.
291 The reason is that the filenames generated by docbook2html appear to
292 be rather random, so it is difficult to maintain the Makefile.am rules
295 ** Autoconf 2.59, automake 1.8 and libtool from CVS is used.
297 ** API and ABI is backwards compatible with the previous version.
298 IDNA_CONTAINS_NON_LDH: ADD. Same integer value as IDNA_CONTAINS_LDH.
299 IDNA_CONTAINS_LDH: DEPRECATED. LDH (letter-digits-hyphens) characters
300 are not an error, but non-LDH characters are, when
301 IDNA_USE_STD3_ASCII_RULES is used. The logic of the
302 mnemonic name of this error constant was reversed.
304 * Version 0.3.4 (released 2003-11-09)
306 ** DocBook manuals in XML, PDF, PostScript, ASCII and HTML formats included.
308 * Version 0.3.3 (released 2003-10-18)
310 ** Fixed list of Stringprep profiles in 'idn --help' and 'idn.php'.
312 ** Fixed debug information in 'idn'.
314 ** Internal improvements.
315 Leads to reduced heap memory usage. Simplified inter-dependency among
316 files in lib/* to make it easier to copy them into your project.
318 ** Debugging stringprep profile 'generic' removed.
320 ** Punycode implementation updated to rfc3492bis-00.
322 ** API and ABI is backwards compatible with the previous version.
325 stringprep: CHANGED. 'profile' is marked as 'const'.
326 stringprep_profile: CHANGED. 'profile' is marked as 'const'.
327 stringprep_generic: REMOVED. Never meant for public use.
329 * Version 0.3.2 (released 2003-10-07)
331 ** SASL ANONYMOUS stringprep profile "trace" added.
332 It is equivalent to the already supported "plain" SASL ANONYMOUS
333 stringprep profile, except for the name.
335 ** API and ABI is backwards compatible with the previous version.
336 The 'in' parameter to stringprep_profile was changed from 'char*' to
339 * Version 0.3.1 (released 2003-10-02)
341 ** Fixed handling of implicit and explicit zero-length root labels in ToASCII.
343 ** Fixed support for Hangul Syllables during Unicode NFKC normalization.
345 ** Fixed Unicode NFKC normalization of (some) BMP code points.
346 This was done by syncing the NFKC code with latest GLIB, and may have
347 fixed other bugs in the earlier versions of the updated functions.
349 ** Added more IDNA test vectors.
351 ** Emacs Lisp IDNA implementation now set the UseSTD3ASCIIRules flag.
352 This is the appropriate setting for mail-related uses of IDNA.
354 ** API and ABI is backwards compatible with the previous version.
356 * Version 0.3.0 (released 2003-09-23)
358 ** Ported to Mac OS X.
360 ** Gnulib code removed, we now assume a C89 compatible environment.
362 ** Building libidn as a libc add-on now works again.
364 ** Man pages for all public API functions are included.
366 ** Fixed bug in SASLprep profile.
368 ** API and ABI is NOT backwards compatible with the previous version.
369 All previously labeled (since 0.1.x) obsolete functions have been dropped.
370 The use of 'enum' types instead of 'int' added in 0.2.3 reverted, it
371 confused documentation generators and wasn't all that common practice.
373 * Version 0.2.3 (released 2003-08-26)
375 ** Example 4 was the same as example 3, now changed to demo ToUnicode.
377 ** Documentation improvements.
379 ** Prototype cleanups.
380 The proper enum types (Stringprep_rc, Idna_rc, etc) are now used in
381 several places where plain int where used before. String lengths are
382 handled by (s)size_t instead of int.
384 ** API and ABI is backwards compatible with the previous version.
386 * Version 0.2.2 (released 2003-08-13)
388 ** Fixed problem with strings longer than 4GB in punycode functions.
389 The punycode code cannot handle strings longer than 4GB. The code now
390 return PUNYCODE_BAD_INPUT on too long input, instead of failing in an
393 ** The "idn --idna-to-unicode" command now output locale encoded strings.
395 ** Build fixes, bug fixes.
397 ** API and ABI is backwards compatible with the previous version.
399 * Version 0.2.1 (released 2003-07-04)
401 ** Don't reject zero-length trailing labels as in, e.g., "www.example.org.".
402 The IDNA RFC is not clear on this topic, zero-length labels in general
403 are forbidden by the ToASCII algorithm in section 4.1 step 8, but the
404 terminology section define, inside a parenthesis, that the zero-length
405 root label is in fact not considered a label at all in IDNA.
409 ** API and ABI is backwards compatible with the previous version.
411 * Version 0.2.0 (released 2003-06-19)
413 ** Unicode code point data is now uint32_t, defined in "idn-int.h".
414 A header file "idn-int.h" is generated and installed to make sure the
415 "uint32_t" data type is available on all platforms. The reason for
416 this change is that on 64-bit platforms, the application was required
417 to convert 32 bit integers (which is how Unicode code points are
418 typically represented) into 64 bit integers before calling libidn
421 ** New idna_*() functions have improved flags handling.
422 The allowunassigned and usestd3asciirules parameters were collapsed
423 into a flags parameter, that can take on the IDNA_ALLOW_UNASSIGNED and
424 IDNA_USE_STD3_ASCII_RULES values. This allows for easier extensions
425 to support, e.g., Unicode 4.0 or RFC 952 ASCII rules checking. Note
426 that the old entry points are unmodified (in this regard), and new
427 entry points with this modification were added.
429 ** The manual was moved into a separate directory doc/.
433 ** API and ABI is not backwards compatible.
434 In punycode.h and stringprep.h the "unsigned long" data type was
435 changed into "uint32_t", which cause a API and ABI missmatch. For
436 idna.h, the old entry points that used "unsigned long" still exist,
437 and new entry points that uses "uint32_t" was added. To update your
438 application, you probably only need to change "unsigned long" to
439 "uint32_t". As a result of these changes, the shared object version
442 * Version 0.1.15 (released 2003-06-07)
446 ** API and ABI is backwards compatible with the previous version.
448 * Version 0.1.14 (released 2003-05-10)
450 ** Experimental documentation generation in contrib/doxygen/.
451 Simply invoke "doxygen" in that directory and it should build the
454 ** Lisp API bug fixes.
456 ** API and ABI is backwards compatible with the previous version.
458 * Version 0.1.13 (released 2003-03-13)
460 ** Unfinished Java *.class files implementing the libidn API.
461 See the contrib/java/ directory. It is implemented using the Java
462 Native Interface, and light initial testing indicate interoperability
463 between GCJ, IBM's JDK and Sun's JDK.
465 ** Building is now silent when gengetopt is not present.
469 ** API and ABI is backwards compatible with the previous version.
471 * Version 0.1.12 (released 2003-03-06)
473 ** Building libidn doesn't require gengetopt.
474 Warnings are still printed though. Gengetopt will be replaced by argp
477 ** Command line tool "idn" supports stringprep too.
479 ** New stringprep API entry point: stringprep_profile().
480 It takes a name of the stringprep profile as an argument instead of
481 the stringprep table structure.
483 ** stringprep_*.h are deprecated and will be removed in the future.
484 All symbols have been moved to stringprep.h. The reasons are that (1)
485 the files typically only defined one CPP macro and exported one symbol
486 definition, which is wasteful as it generates too much work in the
487 manual, and (2) using one header file for all profiles allows easier
488 access to all stringprep profiles during runtime. Note that the files
489 are still installed, but they only #include stringprep.h now, for
490 backwards compatibility.
492 ** GNU Libc add-on build instructions updated to GNU Libc 2.3.2.
494 ** SASLprep stringprep profile added.
496 ** An online interface to libidn written in PHP added to contrib/web/.
498 ** API and ABI is backwards compatible with the previous version.
500 * Version 0.1.11 (released 2003-02-26)
502 ** Command line application "idn" is included.
503 A simple wrapper around the library that allows you to invoke punycode
504 encoding/decoding and IDNA ToASCII/ToUnicode on the command line.
506 ** Emacs Lisp interface for punycode and IDNA included.
507 See punycode.el and idna.el.
509 ** API and ABI is backwards compatible with the previous version.
511 * Version 0.1.10 (released 2003-02-21)
513 ** idna_*_to_ace() and idna_*ace_to_*() are deprecated in favor of
514 ** idna_to_ascii_from_*() and idna_to_unicode_*_from_*() respectively.
515 The reason was that the old interfaces did not accept the
516 AllowUnassigned and UseSTD3ASCIIRules flags. Note that the old
517 functions are not removed, but will be in the future.
519 ** IPS iSCSI stringprep profile added.
521 ** A new contrib/ directory added.
522 Currently it contains a Python interface to Libidn, contributed by
525 ** idna.h and punycode.h are now installed by "make install".
527 ** API and ABI is backwards compatible with the previous version.
529 * Version 0.1.9 (released 2003-02-20)
531 ** SASL ANONYMOUS "plain" stringprep profile added.
533 ** XMPP nodeprep profile fixed.
535 ** API and ABI is backwards compatible with the previous version.
536 For future releases, the NEWS entry will specifically mention whether
537 the C header API or library ABI backwards compatibility is affected.
539 * Version 0.1.8 (released 2003-02-14)
541 ** Portability fixes.
542 This includes not building the API Reference Manual with GTK-DOC by
543 default, if you want it use configure parameter --enable-gtk-doc after
544 making sure your gtkdoc-mkdb accept the --tmpl-dir parameter.
546 ** The type for string length variables is now (s)size_t.
547 Unfortunately this means binary shared library binary backwards
550 ** New nameprep test vectors.
552 * Version 0.1.7 (released 2003-02-12)
554 ** Uses official IDNA ACE prefix.
556 * Version 0.1.6 (released 2003-02-11)
558 ** Uses tentative IDNA ACE prefix.
560 ** Added XMPP Node/Resource Identifiers stringprep profiles.
562 ** Fixed prohibited character checks for bidi.
564 * Version 0.1.5 (released 2003-01-28)
566 ** The library can now be built as part of GNU Libc.
567 This is experimental and only tested against GNU Libc version 2.3.1.
568 See the libc/ directory, and libc/README in particular.
572 * Version 0.1.4 (released 2003-01-15)
574 ** Documentation fixes.
576 ** Portability fixes.
580 * Version 0.1.3 (released 2003-01-15)
582 ** Added texinfo manual.
584 * Version 0.1.2 (released 2003-01-08)
586 ** Added high-level IDNA API.
588 ** Added example3.c and example4.c demonstrating the high-level IDNA API.
590 * Version 0.1.1 (released 2003-01-08)
592 ** Added documentation using GTK-DOC.
594 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
595 By accident it was never removed in 0.1.0.
597 * Version 0.1.0 (released 2003-01-05)
599 ** Official GNU project.
601 ** Renamed from libstringprep to libidn.
603 ** Supports punycode and IDNA. Caveat emptor: I don't use it myself.
605 ** Uses "unsigned long" for Unicode code points instead of "long".
606 Long is guaranteed to be at least 32 bits by C standards so it is
607 always sufficiently large, no need to use uint32_t and the like.
609 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
611 * Version 0.0.8 (released 2002-12-13)
613 ** Portability fixes (now works under Cygwin on Windows 2000).
617 * Version 0.0.7 (released 2002-12-09)
619 ** Apply all tables to entire strings, not just first hit.
623 * Version 0.0.5 (released 2002-12-07)
625 ** Fix prohibited characters handling.
629 ** Renamed type (struct) stringprep_table_element to Stringprep_table_element.
631 ** Renamed type stringprep_profile to Stringprep_profile.
633 ** Renamed type (struct) stringprep_table to Stringprep_table.
635 ** Added more self-tests.
637 * Version 0.0.4 (released 2002-12-06)
639 ** Add unassigned code point handling, including self test cases.
641 ** Portability fixes.
643 * Version 0.0.3 (released 2002-11-30)
645 ** Exported utility function `stringprep_utf8_to_unichar', complementary
646 to existing `stringprep_unichar_to_utf8'.
648 ** Renamed `stringprep_utf8_to_ucs4_fast' to `stringprep_utf8_to_ucs4' to
649 clean up API. The old entry point is maintained for binary backwards
650 compatibility though.
652 ** The distribution is from now on signed using GnuPG.
656 * Version 0.0.2 (released 2002-11-07)
662 * Version 0.0.1 (released 2002-11-06)
664 ** Add utility functions stringprep_locale_charset(), stringprep_convert()
665 and stringprep_locale_to_utf8 () that can be used to convert text from
666 system's locale into UTF-8, which should be done before invoking
667 stringprep(). The functions requires iconv() in the operating system.
669 ** An example program (example.c) that illustrates how libstringprep can be
672 ** The pkg-config --libs output should now include necessary -R options.
674 * Version 0.0.0 (released 2002-11-05)
678 ----------------------------------------------------------------------
679 Copying and distribution of this file, with or without modification,
680 are permitted in any medium without royalty provided the copyright
681 notice and this notice are preserved.