Fix.
[libidn.git] / NEWS
blobb48e950dc7977a0fa479e23a6704d0d581bd50d5
1 Libidn NEWS -- History of user-visible changes.                 -*- outline -*-
2 Copyright (C) 2002, 2003, 2004 Simon Josefsson
3 See the end for copying conditions.
5 * Version 0.4.0 (unreleased)
7 ** Support for TLD restrictions on IDN strings, contributed by Thomas Jacob.
8 Many TLDs restrict the set of characters that can be used, from the
9 full Unicode 3.2 range that is normally available.  This contribution
10 make it possible for you to test strings for TLD conformance locally.
11 The code can be disabled by --disable-tld.  If enabled (the default),
12 the new API "tld.h" is installed which can be used to check a string
13 for conformance to TLD specific rules.  This add a new self test, and
14 a new chapter in the manual.  People responsible for maintaining TLD
15 tables are hereby encouraged to contribute them (under reasonable
16 licensing terms) for inclusion in future versions of Libidn.  Be
17 warned that the API for TLD checking may change throughout the 0.4.x
18 series as we get feedback on it.
20 ** Kerberos 5 stringprep profile macro is no longer documented.
21 The macro itself will probably be removed in the future, if the
22 specification is dropped from the Kerberos WG agenda.
24 ** API and ABI is backwards compatible with the previous version.
25 stringprep_kerberos5: DEPRECATED.
26 Tld_table_element:
27 Tld_table:
28 Tld_rc: ADD.  New data types.
29 tld_get_4:
30 tld_get_4z:
31 tld_get_z: ADD.  New functions to extract TLD from string.
32 tld_get_table:
33 tld_default_table: ADD.  New functions to get TLD table from TLD name.
34 tld_check_4t:
35 tld_check_4tz: ADD.  New function to provide core TLD operations.
36 tld_check_4:
37 tld_check_4z:
38 tld_check_8z:
39 tld_check_lz: ADD.  New functions that combine all TLD operations in one call.
41 * Version 0.3.7 (released 2004-01-22)
43 ** The command line parameter '--' idiom is documented.
45 ** The iSCSI stringprep profile now recognized as "iSCSI".
46 The earlier name "ISCSIprep" is still recognized, for backwards
47 compatibility.
49 ** DocBook manuals no longer included (the tools are too unstable).
51 ** API and ABI is backwards compatible with the previous version.
53 * Version 0.3.6 (released 2004-01-06)
55 ** The manual now contain a troubleshooting section for the command line tool.
57 ** The PHP interface pass the string directly on the command line.
59 ** The macro that create 'idn-int.h' has been updated to latest version.
61 ** API and ABI is backwards compatible with the previous version.
63 * Version 0.3.5 (released 2003-12-15)
65 ** The program 'idn' accepts input strings directly on the command line.
67 ** The program 'idn' defaults to --idna-to-ascii if no parameter is given.
69 ** The program 'idn' now print user instructions before waiting for input.
71 ** DocBook HTML output not included any longer.
72 The reason is that the filenames generated by docbook2html appear to
73 be rather random, so it is difficult to maintain the Makefile.am rules
74 for them.
76 ** Autoconf 2.59, automake 1.8 and libtool from CVS is used.
78 ** API and ABI is backwards compatible with the previous version.
79 IDNA_CONTAINS_NON_LDH: ADD.  Same integer value as IDNA_CONTAINS_LDH.
80 IDNA_CONTAINS_LDH: DEPRECATED.  LDH (letter-digits-hyphens) characters
81                 are not an error, but non-LDH characters are, when
82                 IDNA_USE_STD3_ASCII_RULES is used.  The logic of the
83                 mnemonic name of this error constant was reversed.
85 * Version 0.3.4 (released 2003-11-09)
87 ** DocBook manuals in XML, PDF, PostScript, ASCII and HTML formats included.
89 * Version 0.3.3 (released 2003-10-18)
91 ** Fixed list of Stringprep profiles in 'idn --help' and 'idn.php'.
93 ** Fixed debug information in 'idn'.
95 ** Internal improvements.
96 Leads to reduced heap memory usage.  Simplified inter-dependency among
97 files in lib/* to make it easier to copy them into your project.
99 ** Debugging stringprep profile 'generic' removed.
101 ** Punycode implementation updated to rfc3492bis-00.
103 ** API and ABI is backwards compatible with the previous version.
104 stringprep_4i: NEW.
105 stringprep_4zi: NEW.
106 stringprep: CHANGED. 'profile' is marked as 'const'.
107 stringprep_profile: CHANGED. 'profile' is marked as 'const'.
108 stringprep_generic: REMOVED. Never meant for public use.
110 * Version 0.3.2 (released 2003-10-07)
112 ** SASL ANONYMOUS stringprep profile "trace" added.
113 It is equivalent to the already supported "plain" SASL ANONYMOUS
114 stringprep profile, except for the name.
116 ** API and ABI is backwards compatible with the previous version.
117 The 'in' parameter to stringprep_profile was changed from 'char*' to
118 'const char*'.
120 * Version 0.3.1 (released 2003-10-02)
122 ** Fixed handling of implicit and explicit zero-length root labels in ToASCII.
124 ** Fixed support for Hangul Syllables during Unicode NFKC normalization.
126 ** Fixed Unicode NFKC normalization of (some) BMP code points.
127 This was done by syncing the NFKC code with latest GLIB, and may have
128 fixed other bugs in the earlier versions of the updated functions.
130 ** Added more IDNA test vectors.
132 ** Emacs Lisp IDNA implementation now set the UseSTD3ASCIIRules flag.
133 This is the appropriate setting for mail-related uses of IDNA.
135 ** API and ABI is backwards compatible with the previous version.
137 * Version 0.3.0 (released 2003-09-23)
139 ** Ported to Mac OS X.
141 ** Gnulib code removed, we now assume a C89 compatible environment.
143 ** Building libidn as a libc add-on now works again.
145 ** Man pages for all public API functions are included.
147 ** Fixed bug in SASLprep profile.
149 ** API and ABI is NOT backwards compatible with the previous version.
150 All previously labeled (since 0.1.x) obsolete functions have been dropped.
151 The use of 'enum' types instead of 'int' added in 0.2.3 reverted, it
152 confused documentation generators and wasn't all that common practice.
154 * Version 0.2.3 (released 2003-08-26)
156 ** Example 4 was the same as example 3, now changed to demo ToUnicode.
158 ** Documentation improvements.
160 ** Prototype cleanups.
161 The proper enum types (Stringprep_rc, Idna_rc, etc) are now used in
162 several places where plain int where used before.  String lengths are
163 handled by (s)size_t instead of int.
165 ** API and ABI is backwards compatible with the previous version.
167 * Version 0.2.2 (released 2003-08-13)
169 ** Fixed problem with strings longer than 4GB in punycode functions.
170 The punycode code cannot handle strings longer than 4GB.  The code now
171 return PUNYCODE_BAD_INPUT on too long input, instead of failing in an
172 unknown way.
174 ** The "idn --idna-to-unicode" command now output locale encoded strings.
176 ** Build fixes, bug fixes.
178 ** API and ABI is backwards compatible with the previous version.
180 * Version 0.2.1 (released 2003-07-04)
182 ** Don't reject zero-length trailing labels as in, e.g., "www.example.org.".
183 The IDNA RFC is not clear on this topic, zero-length labels in general
184 are forbidden by the ToASCII algorithm in section 4.1 step 8, but the
185 terminology section define, inside a parenthesis, that the zero-length
186 root label is in fact not considered a label at all in IDNA.
188 ** Bug fixes.
190 ** API and ABI is backwards compatible with the previous version.
192 * Version 0.2.0 (released 2003-06-19)
194 ** Unicode code point data is now uint32_t, defined in "idn-int.h".
195 A header file "idn-int.h" is generated and installed to make sure the
196 "uint32_t" data type is available on all platforms.  The reason for
197 this change is that on 64-bit platforms, the application was required
198 to convert 32 bit integers (which is how Unicode code points are
199 typically represented) into 64 bit integers before calling libidn
200 functions.
202 ** New idna_*() functions have improved flags handling.
203 The allowunassigned and usestd3asciirules parameters were collapsed
204 into a flags parameter, that can take on the IDNA_ALLOW_UNASSIGNED and
205 IDNA_USE_STD3_ASCII_RULES values.  This allows for easier extensions
206 to support, e.g., Unicode 4.0 or RFC 952 ASCII rules checking.  Note
207 that the old entry points are unmodified (in this regard), and new
208 entry points with this modification were added.
210 ** The manual was moved into a separate directory doc/.
212 ** Bugfixes.
214 ** API and ABI is not backwards compatible.
215 In punycode.h and stringprep.h the "unsigned long" data type was
216 changed into "uint32_t", which cause a API and ABI missmatch.  For
217 idna.h, the old entry points that used "unsigned long" still exist,
218 and new entry points that uses "uint32_t" was added.  To update your
219 application, you probably only need to change "unsigned long" to
220 "uint32_t".  As a result of these changes, the shared object version
221 has been increased.
223 * Version 0.1.15 (released 2003-06-07)
225 ** Bugfixes.
227 ** API and ABI is backwards compatible with the previous version.
229 * Version 0.1.14 (released 2003-05-10)
231 ** Experimental documentation generation in contrib/doxygen/.
232 Simply invoke "doxygen" in that directory and it should build the
233 documentation.
235 ** Lisp API bug fixes.
237 ** API and ABI is backwards compatible with the previous version.
239 * Version 0.1.13 (released 2003-03-13)
241 ** Unfinished Java *.class files implementing the libidn API.
242 See the contrib/java/ directory.  It is implemented using the Java
243 Native Interface, and light initial testing indicate interoperability
244 between GCJ, IBM's JDK and Sun's JDK.
246 ** Building is now silent when gengetopt is not present.
248 ** Bug fixes.
250 ** API and ABI is backwards compatible with the previous version.
252 * Version 0.1.12 (released 2003-03-06)
254 ** Building libidn doesn't require gengetopt.
255 Warnings are still printed though.  Gengetopt will be replaced by argp
256 eventually.
258 ** Command line tool "idn" supports stringprep too.
260 ** New stringprep API entry point: stringprep_profile().
261 It takes a name of the stringprep profile as an argument instead of
262 the stringprep table structure.
264 ** stringprep_*.h are deprecated and will be removed in the future.
265 All symbols have been moved to stringprep.h.  The reasons are that (1)
266 the files typically only defined one CPP macro and exported one symbol
267 definition, which is wasteful as it generates too much work in the
268 manual, and (2) using one header file for all profiles allows easier
269 access to all stringprep profiles during runtime.  Note that the files
270 are still installed, but they only #include stringprep.h now, for
271 backwards compatibility.
273 ** GNU Libc add-on build instructions updated to GNU Libc 2.3.2.
275 ** SASLprep stringprep profile added.
277 ** An online interface to libidn written in PHP added to contrib/web/.
279 ** API and ABI is backwards compatible with the previous version.
281 * Version 0.1.11 (released 2003-02-26)
283 ** Command line application "idn" is included.
284 A simple wrapper around the library that allows you to invoke punycode
285 encoding/decoding and IDNA ToASCII/ToUnicode on the command line.
287 ** Emacs Lisp interface for punycode and IDNA included.
288 See punycode.el and idna.el.
290 ** API and ABI is backwards compatible with the previous version.
292 * Version 0.1.10 (released 2003-02-21)
294 ** idna_*_to_ace() and idna_*ace_to_*() are deprecated in favor of
295 ** idna_to_ascii_from_*() and idna_to_unicode_*_from_*() respectively.
296 The reason was that the old interfaces did not accept the
297 AllowUnassigned and UseSTD3ASCIIRules flags.  Note that the old
298 functions are not removed, but will be in the future.
300 ** IPS iSCSI stringprep profile added.
302 ** A new contrib/ directory added.
303 Currently it contains a Python interface to Libidn, contributed by
304 Stephane Bortzmeyer.
306 ** idna.h and punycode.h are now installed by "make install".
308 ** API and ABI is backwards compatible with the previous version.
310 * Version 0.1.9 (released 2003-02-20)
312 ** SASL ANONYMOUS "plain" stringprep profile added.
314 ** XMPP nodeprep profile fixed.
316 ** API and ABI is backwards compatible with the previous version.
317 For future releases, the NEWS entry will specifically mention whether
318 the C header API or library ABI backwards compatibility is affected.
320 * Version 0.1.8 (released 2003-02-14)
322 ** Portability fixes.
323 This includes not building the API Reference Manual with GTK-DOC by
324 default, if you want it use configure parameter --enable-gtk-doc after
325 making sure your gtkdoc-mkdb accept the --tmpl-dir parameter.
327 ** The type for string length variables is now (s)size_t.
328 Unfortunately this means binary shared library binary backwards
329 compatible is lost.
331 ** New nameprep test vectors.
333 * Version 0.1.7 (released 2003-02-12)
335 ** Uses official IDNA ACE prefix.
337 * Version 0.1.6 (released 2003-02-11)
339 ** Uses tentative IDNA ACE prefix.
341 ** Added XMPP Node/Resource Identifiers stringprep profiles.
343 ** Fixed prohibited character checks for bidi.
345 * Version 0.1.5 (released 2003-01-28)
347 ** The library can now be built as part of GNU Libc.
348 This is experimental and only tested against GNU Libc version 2.3.1.
349 See the libc/ directory, and libc/README in particular.
351 ** Bug fixes.
353 * Version 0.1.4 (released 2003-01-15)
355 ** Documentation fixes.
357 ** Portability fixes.
359 ** Bug fixes.
361 * Version 0.1.3 (released 2003-01-15)
363 ** Added texinfo manual.
365 * Version 0.1.2 (released 2003-01-08)
367 ** Added high-level IDNA API.
369 ** Added example3.c and example4.c demonstrating the high-level IDNA API.
371 * Version 0.1.1 (released 2003-01-08)
373 ** Added documentation using GTK-DOC.
375 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
376 By accident it was never removed in 0.1.0.
378 * Version 0.1.0 (released 2003-01-05)
380 ** Official GNU project.
382 ** Renamed from libstringprep to libidn.
384 ** Supports punycode and IDNA.  Caveat emptor: I don't use it myself.
386 ** Uses "unsigned long" for Unicode code points instead of "long".
387 Long is guaranteed to be at least 32 bits by C standards so it is
388 always sufficiently large, no need to use uint32_t and the like.
390 ** The obsolete stringprep_utf8_to_ucs4_fast API entry point was removed.
392 * Version 0.0.8 (released 2002-12-13)
394 ** Portability fixes (now works under Cygwin on Windows 2000).
396 ** Bug fixes.
398 * Version 0.0.7 (released 2002-12-09)
400 ** Apply all tables to entire strings, not just first hit.
402 ** Fix bidi infloop.
404 * Version 0.0.5 (released 2002-12-07)
406 ** Fix prohibited characters handling.
408 ** Fix bidi.
410 ** Renamed type (struct) stringprep_table_element to Stringprep_table_element.
412 ** Renamed type stringprep_profile to Stringprep_profile.
414 ** Renamed type (struct) stringprep_table to Stringprep_table.
416 ** Added more self-tests.
418 * Version 0.0.4 (released 2002-12-06)
420 ** Add unassigned code point handling, including self test cases.
422 ** Portability fixes.
424 * Version 0.0.3 (released 2002-11-30)
426 ** Exported utility function `stringprep_utf8_to_unichar', complementary
427 to existing `stringprep_unichar_to_utf8'.
429 ** Renamed `stringprep_utf8_to_ucs4_fast' to `stringprep_utf8_to_ucs4' to
430 clean up API. The old entry point is maintained for binary backwards
431 compatibility though.
433 ** The distribution is from now on signed using GnuPG.
435 ** Bug fixes.
437 * Version 0.0.2 (released 2002-11-07)
439 ** NFKC self test.
441 ** Bug fixes.
443 * Version 0.0.1 (released 2002-11-06)
445 ** Add utility functions stringprep_locale_charset(), stringprep_convert() 
446 and stringprep_locale_to_utf8 () that can be used to convert text from
447 system's locale into UTF-8, which should be done before invoking
448 stringprep().  The functions requires iconv() in the operating system.
450 ** An example program (example.c) that illustrates how libstringprep can be
451 used is included.
453 ** The pkg-config --libs output should now include necessary -R options.
455 * Version 0.0.0 (released 2002-11-05)
457 ** Initial release
459 ----------------------------------------------------------------------
460 Copying and distribution of this file, with or without modification,
461 are permitted in any medium without royalty provided the copyright
462 notice and this notice are preserved.