Skip to content

Commit 141bcce

Browse files
author
Waylan Limberg
committed
Added release notes for v2.2.0.
1 parent c64c196 commit 141bcce

File tree

3 files changed

+87
-17
lines changed

3 files changed

+87
-17
lines changed

docs/change_log.txt

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
title: Change Log
22
prev_title: Test Suite
33
prev_url: test_suite.html
4-
next_title: Release Notes for v2.1.1
5-
next_url: release-2.1.1.html
4+
next_title: Release Notes for v2.2.0
5+
next_url: release-2.2.0.html
66

77
Python-Markdown Changelog
88
=========================
@@ -28,8 +28,8 @@ Jan 2009: Added HTML 4 output as an option (thanks Eric Abrahamsen)
2828
Nov 2008: Added Definistion List ext. Replaced old core with BlockProcessors.
2929
Broken up into multiple files.
3030

31-
Oct 2008: Changed logging behavior to work better with other systems.
32-
Refactored tree tarversing. Added treap implementation, then replaced with
31+
Oct 2008: Changed logging behavior to work better with other systems.
32+
Refactored tree tarversing. Added treap implementation, then replaced with
3333
OrderedDEict. Renamed various processors to better reflect what they actually
3434
do. Refactored footnote ext to match php Extra's output.
3535

@@ -41,19 +41,19 @@ August 18 2008: Reorganized directory structure. Added a 'docs' dir
4141
and moved all extensions into a 'markdown-extensions' package.
4242
Added additional documentation and a few bug fixes. (v2.0-beta)
4343

44-
August 4 2008: Updated included extensions to ElementTree. Added a
44+
August 4 2008: Updated included extensions to ElementTree. Added a
4545
seperate commanline script. (v2.0-alpha)
4646

4747
July 2008: Switched from home-grown NanoDOM to ElementTree and
4848
various related bugs (thanks Artem Yunusov).
4949

50-
June 2008: Fixed issues with nested inline patterns and cleaned
50+
June 2008: Fixed issues with nested inline patterns and cleaned
5151
up testing framework (thanks Artem Yunusov).
5252

5353
May 2008: Added a number of additional extensions to the
5454
distribution and other minor changes. Moved repo to git from svn.
5555

56-
Mar 2008: Refactored extension api to accept either an
56+
Mar 2008: Refactored extension api to accept either an
5757
extension name (as a string) or an instance of an extension
5858
(Thanks David Wolever). Fixed various bugs and added doc strings.
5959

@@ -74,27 +74,27 @@ and markdown as per list discussion. Clean up in prep for 1.7.
7474
Nov 29, 2007: Added support for images inside links. Also fixed
7575
a few bugs in the footnote extension.
7676

77-
Nov 19, 2007: `message` now uses python's logging module. Also removed
78-
limit imposed by recursion in `_process_section()`. You can now parse as
77+
Nov 19, 2007: `message` now uses python's logging module. Also removed
78+
limit imposed by recursion in `_process_section()`. You can now parse as
7979
long of a document as your memory can handle.
8080

81-
Nov 5, 2007: Moved safe_mode code to a textPostprocessor and added
81+
Nov 5, 2007: Moved safe_mode code to a textPostprocessor and added
8282
escaping option.
8383

8484
Nov 3, 2007: Fixed convert method to accept empty strings.
8585

86-
Oct 30, 2007: Fixed BOM removal (thanks Malcolm Tredinnick). Fixed
86+
Oct 30, 2007: Fixed BOM removal (thanks Malcolm Tredinnick). Fixed
8787
infinite loop in bracket regex for inline links.
8888

89-
Oct 11, 2007: LineBreaks is now an inlinePattern. Fixed HR in
89+
Oct 11, 2007: LineBreaks is now an inlinePattern. Fixed HR in
9090
blockquotes. Refactored _processSection method (see tracker #1793419).
9191

9292
Oct 9, 2007: Added textPreprocessor (from 1.6b).
9393

94-
Oct 8, 2008: Fixed Lazy Blockquote. Fixed code block on first line.
94+
Oct 8, 2008: Fixed Lazy Blockquote. Fixed code block on first line.
9595
Fixed empty inline image link.
9696

97-
Oct 7, 2007: Limit recursion on inlinePatterns. Added a 'safe' tag
97+
Oct 7, 2007: Limit recursion on inlinePatterns. Added a 'safe' tag
9898
to htmlStash.
9999

100100
March 18, 2007: Fixed or merged a bunch of minor bugs, including
@@ -112,7 +112,7 @@ with ampersand normalization and html blocks.
112112
July 10, 2006: Switched to using optparse. Added proper support for
113113
unicode.
114114

115-
July 9, 2006: Fixed the `<[email protected]>` problem (Tracker #1501354).
115+
July 9, 2006: Fixed the `<[email protected]>` problem (Tracker #1501354).
116116

117117
May 18, 2006: Stopped catching unquoted titles in reference links.
118118
Stopped creating blank headers.

docs/release-2.1.1.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
title: Release Notes for v2.1.1
2-
prev_title: Change Log
3-
prev_url: change_log.html
2+
prev_title: Release Notes for v2.2.0
3+
prev_url: release-2.2.0.html
44
next_title: Release Notes for v2.1.0
55
next_url: release-2.1.0.html
66

docs/release-2.2.0.txt

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
title: Release Notes for v2.2.0
2+
prev_title: Change Log
3+
prev_url: change_log.html
4+
next_title: Release Notes for v2.1.1
5+
next_url: release-2.1.1.html
6+
7+
Python-Markdown 2.2.0 Release Notes
8+
===================================
9+
10+
We are pleased to release Python-Markdown 2.2 which makes improvements on 2.1.
11+
While 2.1 is primarily a bug fix release, some internal improvements were made
12+
to the parser, and a few security issues were resolved.
13+
14+
Python-Markdown supports Python versions 2.5, 2.6, 2.7, 3.1, and 3.2 out
15+
of the box.
16+
17+
__Note__ that this is BETA Software and is not recommended for production.
18+
19+
Backwards-incompatible Changes
20+
------------------------------
21+
22+
While Python-Markdown has received only minor internal changes since the last
23+
release, there are a few backward-incompatible changes to note:
24+
25+
* Support had been dropped for Python 2.4. No guarantees are made that the
26+
library will work in any version of Python lower than 2.5. Additionally, while
27+
the library had been tested with Python 2.5, consider Python 2.5 support to be
28+
depreciated. It is not likely that any future versions will continue to support
29+
any version of Python less than 2.6.
30+
31+
* For many years Python-Markdown has identified `<ins>` and `<del>` tags in
32+
raw HTML input as block level tags. As they are actually inline level tags,
33+
this behavior has been changed. This may result in slightly different output.
34+
While in most cases, the new output is more correct, there may be a few edge
35+
cases where a document author has relied on the previous incorrect behavior.
36+
It is likely that a few adjustments may need to be made to those documents.
37+
38+
* The behavior of the `enable_attributes` keyword has been slightly altered.
39+
If authors have been using attributes in documents with `safe_mode` on, those
40+
attributes will no longer be parsed unless `enable_attributes` is explicitly
41+
set to `True`. This change was made to prevent untrusted authors from injecting
42+
potentially harmful JavaScript in documents. This change had no effect when
43+
not in `safe_mode`.
44+
45+
What's New in Python-Markdown 2.1
46+
---------------------------------
47+
48+
The docs were refactored and can now be found at
49+
<http://packages.python.org/Markdown/>. The docs are now maintained in the
50+
Repo and are generated by the `setup.py build_docs` command.
51+
52+
The [Sane_Lists](http://packages.python.org/Markdown/extensions/sane_lists.html)
53+
extension was added. The Sane Lists Extension alters the behavior of the
54+
Markdown List syntax to be less surprising by not allowing the mixing of list
55+
types. In other words, an ordered list will not continue when an unordered list
56+
item is encountered and vice versa.
57+
58+
Markdown now excepts a full path to an extension module. In other words, your
59+
extensions no longer need to be in the primary namespace (and start with `mdx_`)
60+
for Markdown to find them. Just do `Markdown(extension=['path.to.some.module'])`.
61+
As long as the provided module contains a compatible extension, the extension
62+
will be loaded.
63+
64+
The BlockParser API was slightly altered to allow `blockprocessor.run` to return
65+
`True` or `False` which provides more control to the block proccessor loop from
66+
within any Blockprocessor instance.
67+
68+
Various bug fixes have been made. See the
69+
[commit log](https://github.com/waylan/Python-Markdown/commits/master)
70+
for a complete history of the changes.

0 commit comments

Comments
 (0)