summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-11-09 19:24:17 +0100
committerGeorg Brandl <georg@python.org>2014-11-09 19:24:17 +0100
commit710f05a6f512a5048db9bc3955474a40c44aeff8 (patch)
treedb0b8f839c3eb8fffbb50805cb91626c156627e1
parent4978e0fa9c0dc91ffeb4afd9ee0e97b1ff83d859 (diff)
downloadpygments-710f05a6f512a5048db9bc3955474a40c44aeff8.tar.gz
Changelog entries for 2.0 final.
-rw-r--r--CHANGES25
1 files changed, 22 insertions, 3 deletions
diff --git a/CHANGES b/CHANGES
index e8c12970..1537480f 100644
--- a/CHANGES
+++ b/CHANGES
@@ -6,6 +6,24 @@ Issue numbers refer to the tracker at
pull request numbers to the requests at
<http://bitbucket.org/birkenfeld/pygments-main/pull-requests/merged>.
+Version 2.0
+-----------
+(released Nov 9, 2014)
+
+- Default lexer encoding is now "guess", i.e. UTF-8 / Locale / Latin1 is
+ tried in that order.
+
+- Major update to Swift lexer (PR#410).
+
+- Multiple fixes to lexer guessing in conflicting cases:
+
+ * recognize HTML5 by doctype
+ * recognize XML by XML declaration
+ * don't recognize C/C++ as SystemVerilog
+
+- Simplified regexes and builtin lists.
+
+
Version 2.0rc1
--------------
(released Oct 16, 2014)
@@ -74,9 +92,6 @@ Version 2.0rc1
* Todo.txt todo lists
* Twig (PR#404)
-- Default lexer encoding is now "guess", i.e. UTF-8 / Locale / Latin1 is
- tried in that order.
-
- Added a helper to "optimize" regular expressions that match one of many
literal words; this can save 20% and more lexing time with lexers that
highlight many keywords or builtins.
@@ -107,6 +122,10 @@ Version 2.0rc1
- Pygments will now recognize "vim" modelines when guessing the lexer for
a file based on content (PR#118).
+- Major restructure of the ``pygments.lexers`` module namespace. There are now
+ many more modules with less lexers per module. Old modules are still around
+ and re-export the lexers they previously contained.
+
- The NameHighlightFilter now works with any Name.* token type (#790).
- Python 3 lexer: add new exceptions from PEP 3151.