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