change README to 0.12 and move reminder in release.sh
[docutils.git] / RELEASE-NOTES.txt
blob7e64643831b4536eb982f8d35378bbc3486452a0
1 ========================
2  Docutils Release Notes
3 ========================
5 :Contact: grubert@users.sourceforge.net
6 :Maintainer: docutils-develop@lists.sourceforge.net
7 :Date: $Date$
8 :Revision: $Revision$
9 :Web site: http://docutils.sourceforge.net/
10 :Copyright: This document has been placed in the public domain.
13 This document summarizes the major changes in recent releases.  For a
14 more detailed list of changes, please see the `Docutils History`_.
16 .. _Docutils History: HISTORY.html
18 .. contents::
20 Future changes
21 ==============
23 * remove the `handle_io_errors` option from io.FileInput/Output.
25 * »Prune« the doctree (no change to the reST input syntax):
27   - "doctest" element -> literal block with class argument,
28   - special admonitions (note, hint, warning, ...) -> generic "admonition"
29     element with class attribute and auto-generated title.
32 Changes Since 0.11
33 ==================
36 Release 0.11 (2013-07-22)
37 =========================
39 * General
41   - Apply [ 2714873 ] Fix for the overwritting of document attributes.
42   - Support embedded aliases within hyperlink references.
43   - Fix [ 228 ] try local import of docutils components (reader, writer, parser,
44     language module) before global search.
46 * docutils/parsers/rst/directives/tables.py
48   - Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
50 * docutils/writers/html4css1/__init__.py
51   - Fix [ 3600051 ] for tables in a list, table cells are not compacted.
52   - New setting `stylesheet_dirs` (see above).
54     Now, it is easy to add a custom stylesheet to Docutils' default
55     stylesheet with, e.g., ``--stylesheet_path='html4css1.css, mystyle.css'``
57     Changed behaviour of the default settings:
58       if there is a file ``html4css1.css`` in the working directory of the
59       process at launch, it is used instead of the one provided by Docutils
60       in the writer source directory.
62   - New default for math-output_: ``HTML math.css``.
63   - Avoid repeated class declarations in html4css1 writer
64     (modified version of patch [ 104 ]).
66 .. _math-output: docs/user/config.html#math-output
68 * docutils/writers/latex2e/__init__.py
70   - Drop the simple algorithm replacing straight double quotes with
71     English typographic ones.
72     Activate the SmartQuotes_ transform if you want this feature.
73   - New setting `stylesheet_dirs`: Comma-separated list of directories
74     where stylesheets are found. Used by `stylesheet_path` when expanding
75     relative path arguments.
77 .. _SmartQuotes: docs/user/config.html#smart-quotes
79 * docutils/writers/manpage.py
81   - Fix [3607063] handle lines starting with a period.
82   - Fix option separating comma was bold (thanks to Bill Morris).
84 Release 0.10 (2012-12-16)
85 =========================
87 .. Note::
89    Docutils 0.9.x is the last version supporting Python 2.3.
91    Docutils 0.10 is compatible with Python versions from 2.4 to 3.2
92    (cf. `Python 3 compatibility`_).
94 * General:
96   - SmartQuotes transform for typographic quotes and dashes.
98   - ``docutils/math``, ``docutils/error_reporting.py``, and
99     ``docutils/urischemes.py`` moved to the utils package.
100     Code importing these modules needs to adapt, e.g.::
102       try:
103           import docutils.math as math
104       except ImportError:
105           import docutils.utils.math as math
107   - enhanced math and error handling.
109 * docutils/io.py
111   - FileInput/FileOutput: no system-exit on IOError.
112     The `handle_io_errors` option is ignored.
114 .. _Python 3 compatibility: README.html#python-3-compatibility
116 * docutils/writers/html4css1/__init__.py
118   - Use ``<code>`` tag for inline "code",
119     do not drop nested inline nodes (syntax highlight tokens).
120   - Customizable MathJax URL (based on patch by Dmitry Shachnev).
121   - No line break after opening inline math tag.
123 * docutils/writers/latex2e/__init__.py, docutils/writers/xetex/__init__.py
125   - Fix section numbering by LaTeX.
127 * docutils/writers/s5_html/__init__.py
129   - Fix [ 3556388 ] Mathjax does not work with rst2s5.
132 Release 0.9.1 (2012-06-17)
133 ==========================
135 * General:
137   Several fixes for Python 3 usage.
139 * docutils/setup.py
141   - Fix [ 3527842 ]. Under Python 3, converted tests and tools were
142     installed in the PYTHONPATH. Converted tests are now
143     stored in ``docutils/test3/``, tools no longer need conversion.
145     If you installed one of Docutils versions 0.7 ... 0.9 with
146     ``setup.py install`` under Python 3, remove the spurious
147     ``test/`` and ``tools/`` directories in the site library root.
150 Release 0.9 (2012-05-02)
151 =========================
153 * General:
155   - reStructuredText "code" role and directive with syntax highlighting
156     by Pygments_.
157   - "code" option of the "include" directive.
159   .. _Pygments: http://pygments.org/
161   - Fix [ 3402314 ] allow non-ASCII whitespace, punctuation
162     characters and "international" quotes around inline markup.
164   - Fix handling of missing stylesheets.
166 * setup.py
168   - Fix [ 2971827 ] and [ 3442827 ]
169     extras/roman.py moved to docutils/utils/roman.py
171 * docutils/utils.py -> docutils/utils/__init__.py
173   - docutils.utils is now a package (providing a place for sub-modules)
175 * docutils/writers/html4css1/__init__.py
177   - change default for `math-output` setting to MathJax
179 * docutils/writers/latex2e/__init__.py
181   - Support the `abbreviation` and `acronym` standard roles.
182   - Record only files required to generate the LaTeX source as dependencies.
183   - Use ``\setcounter{secnumdepth}{0}`` instead of ``*``-versions
184     when suppressing LaTeX section numbering.
187 Release 0.8.1 (2011-08-30)
188 ==========================
190 * General:
192   - Fix [ 3364658 ] (Change last file with Apache license to BSD-2-Clause)
193     and [ 3395920 ] (correct copyright info for rst.el).
195 * docutils/writers/latex2e/__init__.py
197   - Clean up Babel language setting. Restores Sphinx compatibility.
200 Release 0.8 (2011-07-07)
201 ========================
203 * COPYING:
205   - Some additions to the Docutils core are released under the 2-Clause BSD
206     license.
208 * General:
210   - Handle language codes according to `BCP 47`_.
211   - If the specified langauage is not supported by Docutils,
212     warn and fall back to English.
213   - Math support: reStructuredText "math" role and directive,
214     ``math`` and ``math_block`` doctree elements.
215   - Orphaned "python" reader and "newlatex2e" writer moved to the sandbox.
217   .. _BCP 47: http://www.rfc-editor.org/rfc/bcp/bcp47.txt
219 * reStructuredText:
221   - most directives now support a "name" option that attaches a
222     reference name. So you can write ::
224       .. figure:: image.png
225          :name: figure name
227     as a short form of ::
229       .. _figure name:
231       .. figure:: image.png
233 Internationalization:
235 * Added lithuanian mappings.
237 Components:
239 * HTML writer:
241   - New setting "math-output" with support for HTML, MathML, and LaTeX.
243 * LaTeX2e writer:
245   - Convert image URI to a local file path.
246   - Apply [ 3148141 ] fix multicolumn support when a colspanning cell
247     has more than one paragraph (Wolfgang Scherer).
249 * XeTeX writer:
251   - New writer generating LaTeX code for compiling with ``xelatex``.
253     XeTeX uses unicode and modern font technologies.
255 * and fixes and enhancements here and there.
258 Release 0.7 (2010-07-07)
259 ========================
261 Components:
263 * HTML writer:
265   - Support SVG and SWF images (thanks to Stefan Rank).
266   - Generate valid XHTML for centered images with targets.
267     Use CSS classes instead of "align" tags for image alignment.
269 * LaTeX2e writer:
271   - Use the ``\url`` command for URLs (breaks long URLs instead of writing
272     into the margin).
273   - Preserve runs of spaces in 'inline literals'.
274   - Deprecate ``figure_footnotes`` setting.
275   - Rename ``use_latex_footnotes`` setting to `docutils_footnotes`__.
276   - New ``latex_preamble`` setting.
277   - Use PDF standard fonts (Times/Helvetica/Courier) as default.
278   - `hyperref` package called with ``unicode`` option (see the
279     `hyperref config tips`__ for how to override).
280   - Drop the special `output_encoding`__ default ("latin-1").
281     The Docutils wide default (usually "UTF-8") is used instead.
283 __ docs/user/config.html#docutils-footnotes
284 __ docs/user/latex.html#hyperlinks
285 __ docs/user/latex.html#output-encoding
287 * manpage writer:
289   - Titles level 1, that is ``.SH``, always uppercase.
290   - Apply patch from mg: literal text should be bold in man-pages.
292 General:
294 * io.FileInput opens files as text files with universal newline support
295   (mode "rU", configurable with the new optional argument "mode").
297 * setup.py:
299   - Python 3 support: copy test/ and tools/ to the build-dir
300     and convert Python sources with 2to3.
303 Release 0.6 (2009-10-11)
304 ========================
306 .. Note::
308    Docutils 0.5 is the last version supporting Python 2.2.
310    Docutils 0.6 is compatible with Python versions from 2.3 up to 2.6
311    and convertible to 3.1 code.
313 .. note::
315    The "newlatex" writer is orphaned.
317    The recommended way to generate PDF output is to use either the
318    LaTeX2e writer or one of the alternatives listed at
319    http://docutils.sourceforge.net/docs/user/links.html#pdf.
321 * reStructuredText:
323   - Allow length units for all length specifications.
324   - Allow percent sign in "scale" argument of "figure" and "image" directives.
325   - Bugfix: The "figalign" argument of a figure now works as intended
326     (aligning the figure not its contents).
327   - Align images with class "align-[right|center|left]"
328     (allows setting the alignment of an image in a figure).
329   - Hard tabs in literal inclusions are replaced by spaces. This is
330     configurable via the new "tab-width" option of the "include" directive
331     (a negative tab-width prevents tab expansion).
333 * HTML writer:
335   - ``--stylesheet`` and ``--stylesheet-path`` options now support a comma
336     separated list of stylesheets.
338 * LaTeX2e writer:
340   - New defaults:
341     - font-encoding: "T1" (formerly implicitely set by 'ae').
342     - use-latex-toc: true (ToC with page numbers).
343     - use-latex-footnotes: true (no mixup with figures).
344     - Float placement defaults to "here definitely" (configurable).
345     - Align of image in a figure defaults to 'center'.
346     - Use class defaults for page margins ('typearea' now optional).
347   - Support LaTeX packages as ``--stylesheet`` arguments.
348   - Use ``bp`` for lengths without unit or unit ``pt``,
349     do not convert ``px`` to ``pt``.
350   - Do not use 'ae' and 'aeguill' packages if font-encoding is set to ''.
351   - Set sub- and superscript role argument as text not math.
352   - Support custom roles based on standard roles.
353   - Load packages and define macros only if required in the document.
354   - All Docutils specific LaTeX macros are prefixed with ``DU``.
355   - Better conformance to Docutils specifications with "use_latex_toc".
356   - If 'sectnum_xform' is False, the 'sectnum' directive triggers
357     section numbering by LaTeX.
358   - Use default font in admonitions and sidebar.
359   - Typeset generic topic as "quote with title".
360   - Use template (file and configuration option).
361   - Render doctest blocks as literal blocks (indented).
363 * ODT writer:
365   - moved from sandbox to Doctutils core.
367 * manpage writer:
369   - moved from sandbox to Doctutils core.
372 Release 0.5 (2008-06-25)
373 ========================
375 Components:
377 * HTML writer.
379   - Dropped all ``name`` attributes of ``a`` elements (``id`` is
380     universally supported now).
382 * LaTeX2e writer:
384   - Better bibTeX citation support.
385   - Add ``--literal-block-env``
387 * PEP writer:
389   - Changed to support new python.org website structure and
390     pep2pyramid.py.
392 reStructuredText:
394 * Changed the directive API to a new object-oriented system.
395   (Compatibility for the old, functional-style directive interface is
396   retained.)  See the updated `Creating reStructuredText Directives`__
397   how-to.
399   __ docs/howto/rst-directives.html
401 * Allow ``+`` and ``:`` in reference names requested for citations.
403 Documentation:
405 * Added `Deploying Docutils Securely`__
407   __ docs/howto/security.txt
409 Internationalization:
411 * Added hebrew mappings.
413 General:
415 * Configuration files are now assumed and required to be
416   UTF-8-encoded.
418 * Added docutils/writers/html4css1/template.txt.
420 * Enhance emacs support.
423 Release 0.4 (2006-01-09)
424 ========================
426 .. Note::
428    Docutils 0.4.x is the last version that will support Python 2.1.
429    Docutils 0.5 will *not* be compatible with Python 2.1; Python 2.2
430    or later will be required.
432    Docutils 0.4.x is the last version that will make compromises in
433    its HTML output for Netscape Navigator 4.  Docutils 0.5 will
434    require more up-to-date browsers (the exact definition is to be
435    determined).
437 Components:
439 * Added an `S5/HTML writer`__ and the rst2s5.py__ front end:
440   multi-platform, multi-browser HTML slide shows.
442   __ docs/user/slide-shows.html
443   __ docs/user/tools.html#rst2s5-py
445 * The newlatex2e writer is nearing completion.
447 * Added a DocTree reader, ``publish_doctree`` and
448   ``publish_from_doctree`` convenience functions, for document tree
449   extraction and reprocessing.
451 reStructuredText:
453 * Added directives: "container__" (generic block-level container),
454   "default-role__" (role used for \`backtick\` syntax), "title__"
455   (document title metadata), and "date__" (generate the current local
456   date, for substitution definitions).
458   __ docs/ref/rst/directives.html#container
459   __ docs/ref/rst/directives.html#default-role
460   __ docs/ref/rst/directives.html#title
461   __ docs/ref/rst/directives.html#date
463 * Length units are now supported for image__ sizes.
465   __ docs/ref/rst/directives.html#image
467 * Added `standard definition files`__ for special characters etc.
469   __ docs/ref/rst/definitions.html
471 Internationalization:
473 * Added Japanese and Simplified Chinese language mappings, and support
474   for double-width CJK-characters in tables and section titles.
476 Documentation:
478 * Added a `guide for distributors`__ (package maintainers) and a
479   `guide for developers`__.
481   __ docs/dev/distributing.html
482   __ docs/dev/hacking.html
484 General:
486 * Added significant `Emacs support for reST`__.
488   __ docs/user/emacs.html
490 * Added a `--strip-comments`__ option.
492   __ docs/user/config.html#strip-comments
494 * `--embed-stylesheet`__ is now the default for the HTML writer
495   (rather than --link-stylesheet).
497   __ docs/user/config.html#embed-stylesheet
500 Release 0.3.9 (2005-05-26)
501 ==========================
503 * Added "file_insertion_enabled__" and "raw_enabled__" settings.
505   __ docs/user/config.html#file-insertion-enabled
506   __ docs/user/config.html#raw-enabled
508 * Added `auto-enumerated lists`__.
510   __ docs/ref/rst/restructuredtext.html#enumerated-lists
512 * Added `"header" and "footer"`__ directives.
514   __ docs/ref/rst/directives.html#document-header-footer
516 * Added "list-table__" directive.
518   __ docs/ref/rst/directives.html#list-table
520 * Added support for `section subtitles`__.
522   __ docs/user/config.html#sectsubtitle-xform
524 * Added "field_name_limit__" and "option_limit__" settings to HTML writer.
526   __ docs/user/config.html#field-name-limit
527   __ docs/user/config.html#option-limit
529 * Added "cloak_email_addresses__" setting to HTML writer.
531   __ docs/user/config.html#cloak-email-addresses
533 * UTF-8 BOMs are now removed from the input stream.
536 Release 0.3.7 (2004-12-24)
537 ==========================
539 * A special "`line block`__" syntax has been added.  (Also see the
540   `quick reference`__.)
542   __ docs/ref/rst/restructuredtext.html#line-blocks
543   __ docs/user/rst/quickref.html#line-blocks
545 * Empty sections are now allowed.
547 * A "raw__" role has been added.
549   __ docs/ref/rst/roles.html#raw
551 * The LaTeX writer now escapes consecutive dashes (like "--" or "---")
552   so that they are no longer transformed by LaTeX to en or em dashes.
553   (Please see the FAQ__ for how to represent such dashes.)
555   __ FAQ.html#how-can-i-represent-esoteric-characters-e-g-character-entities-in-a-document
557 * A `dependency recorder`__ has been added.
559   __ docs/user/config.html#record-dependencies
561 * A directive has been added for `compound paragraphs`__.
563   __ docs/ref/rst/directives.html#compound-paragraph
566 Release 0.3.5 (2004-07-29)
567 ==========================
569 * Improved, extended and reorganized the documentation__.
571   __ docs/index.html
573 * Added "csv-table__" directive.
575   __ docs/ref/rst/directives.html#csv-table