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