Skip to content

Initial Update#6

Closed
pyup-bot wants to merge 3 commits intomasterfrom
pyup-initial-update
Closed

Initial Update#6
pyup-bot wants to merge 3 commits intomasterfrom
pyup-initial-update

Conversation

@pyup-bot
Copy link
Copy Markdown

This is my first visit to this fine repo so I have bundled all updates in a single pull request to make things easier for you to merge.

Close this pull request and delete the branch if you want me to start with single pull requests right away

Here's the executive summary:

Updates

Here's a list of all the updates bundled in this pull request. I've added some links to make it easier for you to find all the information you need.

httplib2 0.10.3 » 0.10.3 PyPI | Changelog | Repo
html2text 2017.10.4 » 2017.10.4 PyPI | Changelog | Repo
Pygments 2.2.0 » 2.2.0 PyPI | Changelog | Homepage

Changelogs

httplib2 -> 0.10.3

0.10.3

Fix certificate validation on Python<=2.7.8 without ssl.CertificateError
httplib2/httplib2#45

0.10.2

Just a reupload of 0.10.1, which was broken for Python3
because wheel distribution doesn't play well with our 2/3 split code base.
httplib2/httplib2#43

0.10.1

This is the first release by new httplib2 team. See post by Joe
https://bitworking.org/news/2016/03/an_update_on_httplib2

Remove VeriSign Class 3 CA from trusted certs
https://googleonlinesecurity.blogspot.com/2015/12/proactive-measures-in-digital.html

Add IdenTrust DST Root CA X3
httplib2/httplib2#26

Support for specifying the SSL protocol version (Python v2)
https://github.com/jcgregorio/httplib2/issues/329

On App Engine use urlfetch's default deadline if None is passed.

Fix TypeError on AppEngine “init() got an unexpected keyword argument 'ssl_version’”
httplib2/httplib2#12

Send SNI data for SSL connections on Python 2.7.9+
Verify the server hostname if certificate validation is enabled
httplib2/httplib2#13

Add proxy_headers argument to ProxyInfo constructor
httplib2/httplib2#21

Make disable_ssl_certificate_validation work with Python 3.5.
httplib2/httplib2#15

Fix socket error handling
httplib2/httplib2@eb74685
httplib2/httplib2@e7f6e62

0.9.2

Fixes in this release:

jcgregorio/httplib2#313

Fix incorrect ResponseNotReady exceptions, retry on transient errors.

0.9.1

Fixes in this release:

jcgregorio/httplib2#296

   There was a problem with headers when a binary string is passed (like
   b&#39;Authorization&#39;).

jcgregorio/httplib2#276

   Default to doing DNS resolution through a proxy server if present.

0.9

Heartbleed

0.8

More fixes for the App Engine support.

Added a new feature that allows you to supply your own provider for the
CA_CERTS file. Just create a module named ca_certs_locater that has a method
get() that returns the file location of the CA_CERTS file.

Lots of clean up of the code formatting to make it more consistent.

0.7.7

More fixes for App Engine, now less likely to swallow important exceptions.
Adding proxy_info_from_* methods to Python3. Reviewed in https://codereview.appspot.com/6588078/.
Added GeoTrust cert
Make httplib2.Http() instances pickleable. Reviewed in https://codereview.appspot.com/6506074/

The following issues have been fixed:

229 python3 httplib2 clobbers multiple headers of same key
230 Expose meaningful exception for App Engine URLFetch ResponseTooLargeError
231 Expose App Engine URLFetch DeadlineExceededError for debugging purposes

0.7.6

Fixes for App Engine 2.7.

0.7.5

Keys are lowercase in a Response object, regardless of how Response object is constructed.
Add control so that Authorization: headers aren't forwarded on a 3xx response by default.
Set the reason correctly when running on App Engine. Patch from Alain Vongsouvanh. Reviewed in http://codereview.appspot.com/6422051/
Fix proxy socks for SSL connections. Fixes issue 199.
You can now set httplib2.RETRIES to the number of retries before a request
is considered to fail It is set to a default of 2 to mimic the traditional
behavior of httplib2.

The following issues have been addressed:

223 HEAD requests fail calling the close() method of ResponseDict instance.
222 Can&#39;t disable cert validation in appengine
204 Credentials can leak in HTTP redirects
210 Different API between Python 2 and Python 3 version breaks wsgi_intercept
214 ValueError on malformated cache entries
204 Credentials can leak in HTTP redirects

0.7.3

ProxyInfo objects now can construct themselves from environment
variables commonly-used in Unix environments. By default, the Http
class will construct a ProxyInfo instance based on these environment
variables. To achieve the previous behavior, where environment
variables are ignored, pass proxy_info=None to Http().

The following issues have been addressed:

Issue 159: automatic detection of proxy configuration.
Issue 179: Allow unicode in proxy hostname.
Issue 194: Added support for setuptools.
Fixes for HTTP CONNECT proxies.

0.7.1

Fix failure to install cacerts.txt for 2.x installs.

0.7.0

The two major changes in this release are SSL Certificate
checking and App Engine support. By default the certificates
of an HTTPS connection are checked, but that can be disabled
via disable_ssl_certificate_validation. The second change
is that on App Engine there is a new connection object
that utilizes the urlfetch capabilities on App Engine, including
setting timeouts and validating certificates.

The following issues have been addressed:

Fixes issue 72. Always lowercase authorization header.
Fix issue 47. Redirects that become a GET should not have a body.
Fixes issue 19. Set Content-location on redirected HEAD requests
Fixes issue 139. Redirect with a GET on 302 regardless of the originating method.
Fixes issue 138. Handle unicode in headers when writing and retrieving cache entries. Who says headers have to be ASCII!
Add certificate validation. Work initially started by Christoph Kern.
Set a version number. Fixes issue 135.
Sync to latest version of socks.py
Add gzip to the user-agent, in case we are making a request to an app engine project: http://code.google.com/appengine/kb/general.htmlcompression
Uses a custom httplib shim on App Engine to wrap urlfetch, as opposed
Add default support for optimistic concurrency on PATCH requests
Fixes issue 126. IPv6 under various conditions would fail.
Fixes issue 131. Handle socket.timeout's that occur during send.
proxy support: degrade gracefully when socket.socket is unavailable

0.6.0

The following issues have been addressed:

51 - Failure to handle server legitimately closing connection before request body is fully sent
77 - Duplicated caching test
65 - Transform _normalize_headers into a method of Http class
45 - Vary header
73 - All files in Mercurial are executable
81 - Have a useful .hgignore
78 - Add release tags to the Mercurial repository
67 - HEAD requests cause next request to be retried

Mostly bug fixes, the big enhancement is the addition of proper Vary: header
handling. Thanks to Chris Dent for that change.

The other big change is the build process for distributions so that both python2 and python3
are included in the same .tar.gz/.zip file.

0.5.0

Added Python 3 support

Fixed the following bugs:

 12 - Cache-Control: only-if-cached incorrectly does request if item not in cache
 39 - Deprecation warnings in Python 2.6
 54 - Http.request fails accessing Google account via http proxy
 56 - Block on response.read() for HEAD requests.
 57 - Timeout ignore for Python 2.6
 58 - Fixed parsing of Cache-Control: header to make it more robust

Also fixed a deprecation warning that appeared between Python 3.0 and 3.1.

0.4.0

Added support for proxies if the Socksipy module is installed.

Fixed bug with some HEAD responses having content-length set to
zero incorrectly.

Fixed most except's to catch a specific exception.

Added 'connection_type' parameter to Http.request().

The default for 'force_exception_to_status_code' was changed to False. Defaulting
to True was causing quite a bit of confusion.

0.3.0

Calling Http.request() with a relative URI, as opposed to an absolute URI,
will now throw a specific exception.

Http() now has an additional optional parameter for the socket timeout.

Exceptions can now be forced into responses. That is, instead of
throwing an exception, a good httlib2.Response object is returned
that describe the error with an appropriate status code.

Many improvements to the file cache:

1.  The names in the cache are now much less
    opaque, which should help with debugging.
2.  The disk cache is now Apache mod_asis compatible.
3.  A Content-Location: header is supplied and stored in the
    cache which points to the original requested URI.

User supplied If-* headers now override httplib2 supplied
versions.

IRIs are now fully supported. Note that they MUST be passed in
as unicode objects.

Http.add_credentials() now takes an optional domain to restrict
the credentials to being only used on that domain.

Added Http.add_certificate() which allows setting
a key and cert for SSL connections.

Many other bugs fixed.

0.2.0

Added support for Google Auth.

Added experimental support for HMACDigest.

Added support for a pluggable caching system. Now supports
the old system of using the file system and now memcached.

Added httplib2.debuglevel which turns on debugging.

Change Response._previous to Response.previous.

Added Http.follow_all_redirects which forces
httplib2 to follow all redirects, as opposed to
following only the safe redirects. This makes the
GData protocol easier to use.

All known bugs fixed to date.

0.1.1

Fixed several bugs raised by James Antill:

  1. HEAD didn't get an Accept: header added like GET.
  2. HEAD requests did not use the cache.
  3. GET requests with Range: headers would erroneously return a full cached response.
  4. Subsequent requests to resources that had timed out would raise an exception.
    And one feature request for 'method' to default to GET.

Xavier Verges Farrero supplied what I needed to make the
library work with Python 2.3.

I added distutils based setup.py.

0.1

Initial Release

html2text -> 2017.10.4

2017.10.4

==========

  • Fix 157: Fix images link with div wrap
  • Fix 55: Fix error when empty title tags
  • Fix 160: The html2text tests are failing on Windows and on Cygwin due to differences in eol handling between windows/*nix
  • Feature 164: Housekeeping: Add flake8 to the travis build, cleanup existing flake8 violations, add py3.6 and pypy3 to the travis build
  • Fix 109: Fix for unexpanded &lt; &gt; &amp;
  • Fix 143: Fix line wrapping for the lines starting with bold
  • Adds support for numeric bold text indication in font-weight,
    as used by Google (and presumably others.)
  • Fix 173 and 142: Stripping whitespace in crucial markdown and adding whitespace as necessary
  • Don't drop any cell data on tables uneven row lengths (e.g. colspan in use)

2016.9.19

=========

  • Default image alt text option created and set to a default of empty string "" to maintain backward compatibility
  • Fix 136: --default-image-alt now takes a string as argument
  • Fix 113: Stop changing quiet levels on /script tags.
  • Merge 126: Fix deprecation warning on py3 due to html.escape
  • Fix 145: Running test suite on Travis CI for Python 2.6.

2016.5.29

=========

  • Fix 125: --pad_tables now pads table cells to make them look nice.
  • Fix 114: Break does not interrupt blockquotes
  • Deprecation warnings for URL retrieval.

2016.4.2

=========

  • Fix 106: encoding by stdin
  • Fix 89: Python 3.5 support.
  • Fix 113: inplace baseurl substitution for <a> and <img> tags.
  • Feature 118: Update the badges to badge.kloud51.com
  • Fix 119: new-line after a list is inserted

2016.1.8

=========

  • Feature 99: Removed duplicated initialisation.
  • Fix 100: Get element style key error.
  • Fix 101: Fix error end tag pop exception
  • <s>, <strike>, <del> now rendered as text.

2015.11.4

=========

  • Fix 38: Long links wrapping controlled by --no-wrap-links.
  • Note: --no-wrap-links implies --reference-links
  • Feature 83: Add callback-on-tag.
  • Fix 87: Decode errors can be handled via command line.
  • Feature 95: Docs, decode errors spelling mistake.
  • Fix 84: Make bodywidth kwarg overridable using config.

2015.6.21

=========

  • Fix 31: HTML entities stay inside link.
  • Fix 71: Coverage detects command line tests.
  • Fix 39: Documentation update.
  • Fix 61: Functionality added for optional use of automatic links.
  • Feature 80: title attribute is preserved in both inline and reference links.
  • Feature 82: More command line options. See docs.

2015.6.12

=========

  • Feature 76: Making pre blocks clearer for further automatic formatting.
  • Fix 71: Coverage detects tests carried out in subprocesses

2015.6.6

========

  • Fix 24: 3.200.3 vs 2014.7.3 output quirks.
  • Fix 61. Malformed links in markdown output.
  • Feature 62: Automatic version number.
  • Fix 63: Nested code, anchor bug.
  • Fix 64: Proper handling of anchors with content that starts with tags.
  • Feature 67: Documentation all over the module.
  • Feature 70: Adding tests for the module.
  • Fix 73: Typo in config documentation.

2015.4.14

=========

  • Feature 59: Write image tags with height and width attrs as raw html to retain dimensions

2015.4.13

=========

  • Feature 56: Treat '-' file parameter as stdin.
  • Feature 57: Retain escaping of html except within code or pre tags.

2015.2.18

=========

  • Fix 38: Anchor tags with empty text or with &lt;img&gt; tags inside are no longer stripped.

2014.12.29

==========

  • Feature 51: Add single line break option.
    This feature is useful for ensuring that lots of extra line breaks do not
    end up in the resulting Markdown file in situations like Evernote .enex
    exports. Note that this only works properly if body-width is set
    to 0.

2014.12.24

==========

  • Feature 49: Added an images_to_alt option to discard images and keep only their alt.
  • Feature 50: Protect links, surrounding them with angle brackets to avoid breaking...
  • Feature: Add setup.cfg file.

2014.12.5

=========

  • Feature: Update README.md with usage examples.
  • Fix 35: Remove py_modules from setup.py.
  • Fix 36: Excludes tests from being installed as a separate module.
  • Fix 37: Don't hardcode the path to the installed binary.
  • Fix: Readme typo in running cli.
  • Feature 40: Extract cli part to cli module.
  • Feature 42: Bring python version compatibility to compat.py module.
  • Feature 41: Extract utility/helper methods to utils module.
  • Fix 45: Does not accept standard input when running under Python 3.
  • Feature: Clean up ChangeLog.rst for version and date numbers.

2014.9.25

=========

2014.9.8

========

  • Fix 28: missing html2text package in installation.

2014.9.7

========

  • Fix unicode/type error in memory leak unit-test.
  • Feature 16: Remove install_deps.py.
  • Feature 17: Add status badges via pypin.
  • Feature 18: Add Python 3.4 to travis config file.
  • Feature 19: Bring html2text to a separate module and take out the conf/constant variables.
  • Feature 21: Remove meta vars from html2text.py file header.
  • Fix: Fix TypeError when parsing tags like <img src='foo' alt>. Fixed in 25.

2014.7.3

========

  • Fix 8: Remove How to do a release section from README.md.
  • Fix 11: Include test directory markdown, html files.
  • Fix 13: memory leak in using handle while keeping the old instance of html2text.

2014.4.5

========

  • Fix 1: Add ChangeLog.rst file.
  • Fix 2: Add AUTHORS.rst file.

Pygments -> 2.2.0

2.2.0


(release Jan 22, 2017)

  • Added lexers:
  • AMPL
  • TypoScript (1173)
  • Varnish config (PR554)
  • Clean (PR503)
  • WDiff (PR513)
  • Flatline (PR551)
  • Silver (PR537)
  • HSAIL (PR518)
  • JSGF (PR546)
  • NCAR command language (PR536)
  • Extempore (PR530)
  • Cap'n Proto (PR595)
  • Whiley (PR573)
  • Monte (PR592)
  • Crystal (PR576)
  • Snowball (PR589)
  • CapDL (PR579)
  • NuSMV (PR564)
  • SAS, Stata (PR593)
  • Added the ability to load lexer and formatter classes directly from files
    with the -x command line option and the lexers.load_lexer_from_file()
    and formatters.load_formatter_from_file() functions. (PR559)
  • Added lexers.find_lexer_class_by_name(). (1203)
  • Added new token types and lexing for magic methods and variables in Python
    and PHP.
  • Added a new token type for string affixes and lexing for them in Python, C++
    and Postgresql lexers.
  • Added a new token type for heredoc (and similar) string delimiters and
    lexing for them in C++, Perl, PHP, Postgresql and Ruby lexers.
  • Styles can now define colors with ANSI colors for use in the 256-color
    terminal formatter. (PR531)
  • Improved the CSS lexer. (1083, 1130)
  • Added "Rainbow Dash" style. (PR623)
  • Delay loading pkg_resources, which takes a long while to import. (PR690)

2.1.3


(released Mar 2, 2016)

  • Fixed regression in Bash lexer (PR563)

2.1.2


(released Feb 29, 2016)

  • Fixed Python 3 regression in image formatter (1215)
  • Fixed regression in Bash lexer (PR562)

2.1.1


(relased Feb 14, 2016)

  • Fixed Jython compatibility (1205)
  • Fixed HTML formatter output with leading empty lines (1111)
  • Added a mapping table for LaTeX encodings and added utf8 (1152)
  • Fixed image formatter font searching on Macs (1188)
  • Fixed deepcopy-ing of Token instances (1168)
  • Fixed Julia string interpolation (1170)
  • Fixed statefulness of HttpLexer between get_tokens calls
  • Many smaller fixes to various lexers

2.1


(released Jan 17, 2016)

  • Added lexers:
  • Emacs Lisp (PR431)
  • Arduino (PR442)
  • Modula-2 with multi-dialect support (1090)
  • Fortran fixed format (PR213)
  • Archetype Definition language (PR483)
  • Terraform (PR432)
  • Jcl, Easytrieve (PR208)
  • ParaSail (PR381)
  • Boogie (PR420)
  • Turtle (PR425)
  • Fish Shell (PR422)
  • Roboconf (PR449)
  • Test Anything Protocol (PR428)
  • Shen (PR385)
  • Component Pascal (PR437)
  • SuperCollider (PR472)
  • Shell consoles (Tcsh, PowerShell, MSDOS) (PR479)
  • Elm and J (PR452)
  • Crmsh (PR440)
  • Praat (PR492)
  • CSound (PR494)
  • Ezhil (PR443)
  • Thrift (PR469)
  • QVT Operational (PR204)
  • Hexdump (PR508)
  • CAmkES Configuration (PR462)
  • Added styles:
  • Lovelace (PR456)
  • Algol and Algol-nu (1090)
  • Added formatters:
  • IRC (PR458)
  • True color (24-bit) terminal ANSI sequences (1142)
    (formatter alias: "16m")
  • New "filename" option for HTML formatter (PR527).
  • Improved performance of the HTML formatter for long lines (PR504).
  • Updated autopygmentize script (PR445).
  • Fixed style inheritance for non-standard token types in HTML output.
  • Added support for async/await to Python 3 lexer.
  • Rewrote linenos option for TerminalFormatter (it's better, but slightly
    different output than before) (1147).
  • Javascript lexer now supports most of ES6 (1100).
  • Cocoa builtins updated for iOS 8.1 (PR433).
  • Combined BashSessionLexer and ShellSessionLexer, new version should support
    the prompt styles of either.
  • Added option to pygmentize to show a full traceback on exceptions.
  • Fixed incomplete output on Windows and Python 3 (e.g. when using iPython
    Notebook) (1153).
  • Allowed more traceback styles in Python console lexer (PR253).
  • Added decorators to TypeScript (PR509).
  • Fix highlighting of certain IRC logs formats (1076).

2.0.2


(released Jan 20, 2015)

  • Fix Python tracebacks getting duplicated in the console lexer (1068).
  • Backquote-delimited identifiers are now recognized in F (1062).

2.0.1


(released Nov 10, 2014)

  • Fix an encoding issue when using pygmentize with the -o option.

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 (PR410).
  • 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.

2.0rc1


(released Oct 16, 2014)

  • Dropped Python 2.4 and 2.5 compatibility. This is in favor of single-source
    compatibility between Python 2.6, 2.7 and 3.3+.
  • New website and documentation based on Sphinx (finally!)
  • Lexers added:
  • APL (969)
  • Agda and Literate Agda (PR203)
  • Alloy (PR355)
  • AmbientTalk
  • BlitzBasic (PR197)
  • ChaiScript (PR24)
  • Chapel (PR256)
  • Cirru (PR275)
  • Clay (PR184)
  • ColdFusion CFC (PR283)
  • Cryptol and Literate Cryptol (PR344)
  • Cypher (PR257)
  • Docker config files
  • EBNF (PR193)
  • Eiffel (PR273)
  • GAP (PR311)
  • Golo (PR309)
  • Handlebars (PR186)
  • Hy (PR238)
  • Idris and Literate Idris (PR210)
  • Igor Pro (PR172)
  • Inform 6/7 (PR281)
  • Intel objdump (PR279)
  • Isabelle (PR386)
  • Jasmin (PR349)
  • JSON-LD (PR289)
  • Kal (PR233)
  • Lean (PR399)
  • LSL (PR296)
  • Limbo (PR291)
  • Liquid (977)
  • MQL (PR285)
  • MaskJS (PR280)
  • Mozilla preprocessors
  • Mathematica (PR245)
  • NesC (PR166)
  • Nit (PR375)
  • Nix (PR267)
  • Pan
  • Pawn (PR211)
  • Perl 6 (PR181)
  • Pig (PR304)
  • Pike (PR237)
  • QBasic (PR182)
  • Red (PR341)
  • ResourceBundle (1038)
  • Rexx (PR199)
  • Rql (PR251)
  • Rsl
  • SPARQL (PR78)
  • Slim (PR366)
  • Swift (PR371)
  • Swig (PR168)
  • TADS 3 (PR407)
  • Todo.txt todo lists
  • Twig (PR404)
  • 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.
  • New styles: "xcode" and "igor", similar to the default highlighting of
    the respective IDEs.
  • The command-line "pygmentize" tool now tries a little harder to find the
    correct encoding for files and the terminal (979).
  • Added "inencoding" option for lexers to override "encoding" analogous
    to "outencoding" (800).
  • Added line-by-line "streaming" mode for pygmentize with the "-s" option.
    (PR165) Only fully works for lexers that have no constructs spanning
    lines!
  • Added an "envname" option to the LaTeX formatter to select a replacement
    verbatim environment (PR235).
  • Updated the Makefile lexer to yield a little more useful highlighting.
  • Lexer aliases passed to get_lexer_by_name() are now case-insensitive.
  • File name matching in lexers and formatters will now use a regex cache
    for speed (PR205).
  • Pygments will now recognize "vim" modelines when guessing the lexer for
    a file based on content (PR118).
  • 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.
  • Opa lexer: add new keywords (PR170).
  • Julia lexer: add keywords and underscore-separated number
    literals (PR176).
  • Lasso lexer: fix method highlighting, update builtins. Fix
    guessing so that plain XML isn't always taken as Lasso (PR163).
  • Objective C/C++ lexers: allow "" prefixing any expression (871).
  • Ruby lexer: fix lexing of Name::Space tokens (860) and of symbols
    in hashes (873).
  • Stan lexer: update for version 2.4.0 of the language (PR162, PR255, PR377).
  • JavaScript lexer: add the "yield" keyword (PR196).
  • HTTP lexer: support for PATCH method (PR190).
  • Koka lexer: update to newest language spec (PR201).
  • Haxe lexer: rewrite and support for Haxe 3 (PR174).
  • Prolog lexer: add different kinds of numeric literals (864).
  • F lexer: rewrite with newest spec for F 3.0 (842), fix a bug with
    dotted chains (948).
  • Kotlin lexer: general update (PR271).
  • Rebol lexer: fix comment detection and analyse_text (PR261).
  • LLVM lexer: update keywords to v3.4 (PR258).
  • PHP lexer: add new keywords and binary literals (PR222).
  • external/markdown-processor.py updated to newest python-markdown (PR221).
  • CSS lexer: some highlighting order fixes (PR231).
  • Ceylon lexer: fix parsing of nested multiline comments (915).
  • C family lexers: fix parsing of indented preprocessor directives (944).
  • Rust lexer: update to 0.9 language version (PR270, PR388).
  • Elixir lexer: update to 0.15 language version (PR392).
  • Fix swallowing incomplete tracebacks in Python console lexer (874).

1.6


(released Feb 3, 2013)

  • Lexers added:
  • Dylan console (PR149)
  • Logos (PR150)
  • Shell sessions (PR158)
  • Fix guessed lexers not receiving lexer options (838).
  • Fix unquoted HTML attribute lexing in Opa (841).
  • Fixes to the Dart lexer (PR160).

1.6rc1


(released Jan 9, 2013)

  • Lexers added:
  • AspectJ (PR90)
  • AutoIt (PR122)
  • BUGS-like languages (PR89)
  • Ceylon (PR86)
  • Croc (new name for MiniD)
  • CUDA (PR75)
  • Dg (PR116)
  • IDL (PR115)
  • Jags (PR89)
  • Julia (PR61)
  • Kconfig (711)
  • Lasso (PR95, PR113)
  • LiveScript (PR84)
  • Monkey (PR117)
  • Mscgen (PR80)
  • NSIS scripts (PR136)
  • OpenCOBOL (PR72)
  • QML (PR123)
  • Puppet (PR133)
  • Racket (PR94)
  • Rdoc (PR99)
  • Robot Framework (PR137)
  • RPM spec files (PR124)
  • Rust (PR67)
  • Smali (Dalvik assembly)
  • SourcePawn (PR39)
  • Stan (PR89)
  • Treetop (PR125)
  • TypeScript (PR114)
  • VGL (PR12)
  • Visual FoxPro (762)
  • Windows Registry (819)
  • Xtend (PR68)
  • The HTML formatter now supports linking to tags using CTags files, when the
    python-ctags package is installed (PR87).
  • The HTML formatter now has a "linespans" option that wraps every line in a
    <span> tag with a specific id (PR82).
  • When deriving a lexer from another lexer with token definitions, definitions
    for states not in the child lexer are now inherited. If you override a state
    in the child lexer, an "inherit" keyword has been added to insert the base
    state at that position (PR141).
  • The C family lexers now inherit token definitions from a common base class,
    removing code duplication (PR141).
  • Use "colorama" on Windows for console color output (PR142).
  • Fix Template Haskell highlighting (PR63).
  • Fix some S/R lexer errors (PR91).
  • Fix a bug in the Prolog lexer with names that start with 'is' (810).
  • Rewrite Dylan lexer, add Dylan LID lexer (PR147).
  • Add a Java quickstart document (PR146).
  • Add a "external/autopygmentize" file that can be used as .lessfilter (802).

1.5


(codename Zeitdilatation, released Mar 10, 2012)

  • Lexers added:
  • Awk (630)
  • Fancy (633)
  • PyPy Log
  • eC
  • Nimrod
  • Nemerle (667)
  • F (353)
  • Groovy (501)
  • PostgreSQL (660)
  • DTD
  • Gosu (634)
  • Octave (PR22)
  • Standard ML (PR14)
  • CFengine3 (601)
  • Opa (PR37)
  • HTTP sessions (PR42)
  • JSON (PR31)
  • SNOBOL (PR30)
  • MoonScript (PR43)
  • ECL (PR29)
  • Urbiscript (PR17)
  • OpenEdge ABL (PR27)
  • SystemVerilog (PR35)
  • Coq (734)
  • PowerShell (654)
  • Dart (715)
  • Fantom (PR36)
  • Bro (PR5)
  • NewLISP (PR26)
  • VHDL (PR45)
  • Scilab (740)
  • Elixir (PR57)
  • Tea (PR56)
  • Kotlin (PR58)
  • Fix Python 3 terminal highlighting with pygmentize (691).
  • In the LaTeX formatter, escape special &, < and > chars (648).
  • In the LaTeX formatter, fix display problems for styles with token
    background colors (670).
  • Enhancements to the Squid conf lexer (664).
  • Several fixes to the reStructuredText lexer (636).
  • Recognize methods in the ObjC lexer (638).
  • Fix Lua "class" highlighting: it does not have classes (665).
  • Fix degenerate regex in Scala lexer (671) and highlighting bugs (713, 708).
  • Fix number pattern order in Ocaml lexer (647).
  • Fix generic type highlighting in ActionScript 3 (666).
  • Fixes to the Clojure lexer (PR9).
  • Fix degenerate regex in Nemerle lexer (706).
  • Fix infinite looping in CoffeeScript lexer (729).
  • Fix crashes and analysis with ObjectiveC lexer (693, 696).
  • Add some Fortran 2003 keywords.
  • Fix Boo string regexes (679).
  • Add "rrt" style (727).
  • Fix infinite looping in Darcs Patch lexer.
  • Lots of misc fixes to character-eating bugs and ordering problems in many
    different lexers.

1.4


(codename Unschärfe, released Jan 03, 2011)

  • Lexers added:
  • Factor (520)
  • PostScript (486)
  • Verilog (491)
  • BlitzMax Basic (478)
  • Ioke (465)
  • Java properties, split out of the INI lexer (445)
  • Scss (509)
  • Duel/JBST
  • XQuery (617)
  • Mason (615)
  • GoodData (609)
  • SSP (473)
  • Autohotkey (417)
  • Google Protocol Buffers
  • Hybris (506)
  • Do not fail in analyse_text methods (618).
  • Performance improvements in the HTML formatter (523).
  • With the noclasses option in the HTML formatter, some styles
    present in the stylesheet were not added as inline styles.
  • Four fixes to the Lua lexer (480, 481, 482, 497).
  • More context-sensitive Gherkin lexer with support for more i18n translations.
  • Support new OO keywords in Matlab lexer (521).
  • Small fix in the CoffeeScript lexer (519).
  • A bugfix for backslashes in ocaml strings (499).
  • Fix unicode/raw docstrings in the Python lexer (489).
  • Allow PIL to work without PIL.pth (502).
  • Allow seconds as a unit in CSS (496).
  • Support application/javascript as a JavaScript mime type (504).
  • Support Offload &lt;http://offload.codeplay.com&gt;_ C++ Extensions as
    keywords in the C++ lexer (484).
  • Escape more characters in LaTeX output (505).
  • Update Haml/Sass lexers to version 3 (509).
  • Small PHP lexer string escaping fix (515).
  • Support comments before preprocessor directives, and unsigned/
    long long literals in C/C++ (613, 616).
  • Support line continuations in the INI lexer (494).
  • Fix lexing of Dylan string and char literals (628).
  • Fix class/procedure name highlighting in VB.NET lexer (624).

1.3.1


(bugfix release, released Mar 05, 2010)

  • The pygmentize script was missing from the distribution.

1.3


(codename Schneeglöckchen, released Mar 01, 2010)

  • Added the ensurenl lexer option, which can be used to suppress the
    automatic addition of a newline to the lexer input.
  • Lexers added:
  • Ada
  • Coldfusion
  • Modula-2
  • Haxe
  • R console
  • Objective-J
  • Haml and Sass
  • CoffeeScript
  • Enhanced reStructuredText highlighting.
  • Added support for PHP 5.3 namespaces in the PHP lexer.
  • Added a bash completion script for pygmentize, to the external/
    directory (466).
  • Fixed a bug in do_insertions() used for multi-lexer languages.
  • Fixed a Ruby regex highlighting bug (476).
  • Fixed regex highlighting bugs in Perl lexer (258).
  • Add small enhancements to the C lexer (467) and Bash lexer (469).
  • Small fixes for the Tcl, Debian control file, Nginx config,
    Smalltalk, Objective-C, Clojure, Lua lexers.
  • Gherkin lexer: Fixed single apostrophe bug and added new i18n keywords.

1.2.2


(bugfix release, released Jan 02, 2010)

  • Removed a backwards incompatibility in the LaTeX formatter that caused
    Sphinx to produce invalid commands when writing LaTeX output (463).
  • Fixed a forever-backtracking regex in the BashLexer (462).

1.2.1


(bugfix release, released Jan 02, 2010)

  • Fixed mishandling of an ellipsis in place of the frames in a Python
    console traceback, resulting in clobbered output.

1.2


(codename Neujahr, released Jan 01, 2010)

  • Dropped Python 2.3 compatibility.
  • Lexers added:
  • Asymptote
  • Go
  • Gherkin (Cucumber)
  • CMake
  • Ooc
  • Coldfusion
  • Haxe
  • R console
  • Added options for rendering LaTeX in source code comments in the
    LaTeX formatter (461).
  • Updated the Logtalk lexer.
  • Added line_number_start option to image formatter (456).
  • Added hl_lines and hl_color options to image formatter (457).
  • Fixed the HtmlFormatter's handling of noclasses=True to not output any
    classes (427).
  • Added the Monokai style (453).
  • Fixed LLVM lexer identifier syntax and added new keywords (442).
  • Fixed the PythonTracebackLexer to handle non-traceback data in header or
    trailer, and support more partial tracebacks that start on line 2 (437).
  • Fixed the CLexer to not highlight ternary statements as labels.
  • Fixed lexing of some Ruby quoting peculiarities (460).
  • A few ASM lexer fixes (450).

1.1.1


(bugfix release, released Sep 15, 2009)

  • Fixed the BBCode lexer (435).
  • Added support for new Jinja2 keywords.
  • Fixed test suite failures.
  • Added Gentoo-specific suffixes to Bash lexer.

1.1


(codename Brillouin, released Sep 11, 2009)

  • Ported Pygments to Python 3. This needed a few changes in the way
    encodings are handled; they may affect corner cases when used with
    Python 2 as well.
  • Lexers added:
  • Antlr/Ragel, thanks to Ana Nelson
  • (Ba)sh shell
  • Erlang shell
  • GLSL
  • Prolog
  • Evoque
  • Modelica
  • Rebol
  • MXML
  • Cython
  • ABAP
  • ASP.net (VB/C)
  • Vala
  • Newspeak
  • Fixed the LaTeX formatter's output so that output generated for one style
    can be used with the style definitions of another (384).
  • Added "anchorlinenos" and "noclobber_cssfile" (396) options to HTML
    formatter.
  • Support multiline strings in Lua lexer.
  • Rewrite of the JavaScript lexer by Pumbaa80 to better support regular
    expression literals (403).
  • When pygmentize is asked to highlight a file for which multiple lexers
    match the filename, use the analyse_text guessing engine to determine the
    winner (355).
  • Fixed minor bugs in the JavaScript lexer (383), the Matlab lexer (378),
    the Scala lexer (392), the INI lexer (391), the Clojure lexer (387)
    and the AS3 lexer (389).
  • Fixed three Perl heredoc lexing bugs (379, 400, 422).
  • Fixed a bug in the image formatter which misdetected lines (380).
  • Fixed bugs lexing extended Ruby strings and regexes.
  • Fixed a bug when lexing git diffs.
  • Fixed a bug lexing the empty commit in the PHP lexer (405).
  • Fixed a bug causing Python numbers to be mishighlighted as floats (397).
  • Fixed a bug when backslashes are used in odd locations in Python (395).
  • Fixed various bugs in Matlab and S-Plus lexers, thanks to Winston Chang (410,
    411, 413, 414) and fmarc (419).
  • Fixed a bug in Haskell single-line comment detection (426).
  • Added new-style reStructuredText directive for docutils 0.5+ (428).

1.0


(codename Dreiundzwanzig, released Nov 23, 2008)

  • Don't use join(splitlines()) when converting newlines to \n,
    because that doesn't keep all newlines at the end when the
    stripnl lexer option is False.
  • Added -N option to command-line interface to get a lexer name
    for a given filename.
  • Added Tango style, written by Andre Roberge for the Crunchy project.
  • Added Python3TracebackLexer and python3 option to
    PythonConsoleLexer.
  • Fixed a few bugs in the Haskell lexer.
  • Fixed PythonTracebackLexer to be able to recognize SyntaxError and
    KeyboardInterrupt (360).
  • Provide one formatter class per image format, so that surprises like::

pygmentize -f gif -o foo.gif foo.py

creating a PNG file are avoided.

  • Actually use the font_size option of the image formatter.
  • Fixed numpy lexer that it doesn't listen for *.py any longer.
  • Fixed HTML formatter so that text options can be Unicode
    strings (371).
  • Unified Diff lexer supports the "udiff" alias now.
  • Fixed a few issues in Scala lexer (367).
  • RubyConsoleLexer now supports simple prompt mode (363).
  • JavascriptLexer is smarter about what constitutes a regex (356).
  • Add Applescript lexer, thanks to Andreas Amann (330).
  • Make the codetags more strict about matching words (368).
  • NginxConfLexer is a little more accurate on mimetypes and
    variables (370).

0.11.1


(released Aug 24, 2008)

  • Fixed a Jython compatibility issue in pygments.unistring (358).

0.11


(codename Strau�enei, released Aug 23, 2008)

Many thanks go to Tim Hatch for writing or integrating most of the bug
fixes and new features.

  • Lexers added:
  • Nasm-style assembly language, thanks to delroth
  • YAML, thanks to Kirill Simonov
  • ActionScript 3, thanks to Pierre Bourdon
  • Cheetah/Spitfire templates, thanks to Matt Good
  • Lighttpd config files
  • Nginx config files
  • Gnuplot plotting scripts
  • Clojure
  • POV-Ray scene files
  • Sqlite3 interactive console sessions
  • Scala source files, thanks to Krzysiek Goj
  • Lexers improved:
  • C lexer highlights standard library functions now and supports C99
    types.
  • Bash lexer now correctly highlights heredocs without preceding
    whitespace.
  • Vim lexer now highlights hex colors properly and knows a couple
    more keywords.
  • Irc logs lexer now handles xchat's default time format (340) and
    correctly highlights lines ending in &gt;.
  • Support more delimiters for perl regular expressions (258).
  • ObjectiveC lexer now supports 2.0 features.
  • Added "Visual Studio" style.
  • Updated markdown processor to Markdown 1.7.
  • Support roman/sans/mono style defs and use them in the LaTeX
    formatter.
  • The RawTokenFormatter is no longer registered to *.raw and it's
    documented that tokenization with this lexer may raise exceptions.
  • New option hl_lines to HTML formatter, to highlight certain
    lines.
  • New option prestyles to HTML formatter.
  • New option -g to pygmentize, to allow lexer guessing based on
    filetext (can be slowish, so file extensions are still checked
    first).
  • guess_lexer() now makes its decision much faster due to a cache
    of whether data is xml-like (a check which is used in several
    versions of analyse_text(). Several lexers also have more
    accurate analyse_text() now.

0.10


(codename Malzeug, released May 06, 2008)

  • Lexers added:
  • Io
  • Smalltalk
  • Darcs patches
  • Tcl
  • Matlab
  • Matlab sessions
  • FORTRAN
  • XSLT
  • tcsh
  • NumPy
  • Python 3
  • S, S-plus, R statistics languages
  • Logtalk
  • In the LatexFormatter, the commandprefix option is now by default
    'PY' instead of 'C', since the latter resulted in several collisions
    with other packages. Also, the special meaning of the arg
    argument to get_style_defs() was removed.
  • Added ImageFormatter, to format code as PNG, JPG, GIF or BMP.
    (Needs the Python Imaging Library.)
  • Support doc comments in the PHP lexer.
  • Handle format specifications in the Perl lexer.
  • Fix comment handling in the Batch lexer.
  • Add more file name extensions for the C++, INI and XML lexers.
  • Fixes in the IRC and MuPad lexers.
  • Fix function and interface name highlighting in the Java lexer.
  • Fix at-rule handling in the CSS lexer.
  • Handle KeyboardInterrupts gracefully in pygmentize.
  • Added BlackWhiteStyle.
  • Bash lexer now correctly highlights math, does not require
    whitespace after semicolons, and correctly highlights boolean
    operators.
  • Makefile lexer is now capable of handling BSD and GNU make syntax.

0.9


(codename Herbstzeitlose, released Oct 14, 2007)

  • Lexers added:
  • Erlang
  • ActionScript
  • Literate Haskell
  • Common Lisp
  • Various assembly languages
  • Gettext catalogs
  • Squid configuration
  • Debian control files
  • MySQL-style SQL
  • MOOCode
  • Lexers improved:
  • Greatly improved the Haskell and OCaml lexers.
  • Improved the Bash lexer's handling of nested constructs.
  • The C and Java lexers exhibited abysmal performance with some
    input code; this should now be fixed.
  • The IRC logs lexer is now able to colorize weechat logs too.
  • The Lua lexer now recognizes multi-line comments.
  • Fixed bugs in the D and MiniD lexer.
  • The encoding handling of the command line mode (pygmentize) was
    enhanced. You shouldn't get UnicodeErrors from it anymore if you
    don't give an encoding option.
  • Added a -P option to the command line mode which can be used to
    give options whose values contain commas or equals signs.
  • Added 256-color terminal formatter.
  • Added an experimental SVG formatter.
  • Added the lineanchors option to the HTML formatter, thanks to
    Ian Charnas for the idea.
  • Gave the line numbers table a CSS class in the HTML formatter.
  • Added a Vim 7-like style.

0.8.1


(released Jun 27, 2007)

  • Fixed POD highlighting in the Ruby lexer.
  • Fixed Unicode class and namespace name highlighting in the C lexer.
  • Fixed Unicode string prefix highlighting in the Python lexer.
  • Fixed a bug in the D and MiniD lexers.
  • Fixed the included MoinMoin parser.

0.8


(codename Maikäfer, released May 30, 2007)

  • Lexers added:
  • Haskell, thanks to Adam Blinkinsop
  • Redcode, thanks to Adam Blinkinsop
  • D, thanks to Kirk McDonald
  • MuPad, thanks to Christopher Creutzig
  • MiniD, thanks to Jarrett Billingsley
  • Vim Script, by Tim Hatch
  • The HTML formatter now has a second line-numbers mode in which it
    will just integrate the numbers in the same &lt;pre&gt; tag as the
    code.
  • The CSharpLexer now is Unicode-aware, which means that it has an
    option that can be set so that it correctly lexes Unicode
    identifiers allowed by the C specs.
  • Added a RaiseOnErrorTokenFilter that raises an exception when the
    lexer generates an error token, and a VisibleWhitespaceFilter that
    converts whitespace (spaces, tabs, newlines) into visible
    characters.
  • Fixed the do_insertions() helper function to yield correct
    indices.
  • The ReST lexer now automatically highlights source code blocks in
    ".. sourcecode:: language" and ".. code:: language" directive
    blocks.
  • Improved the default style (thanks to Tiberius Teng). The old
    default is still available as the "emacs" style (which was an alias
    before).
  • The get_style_defs method of HTML formatters now uses the
    cssclass option as the default selector if it was given.
  • Improved the ReST and Bash lexers a bit.
  • Fixed a few bugs in the Makefile and Bash lexers, thanks to Tim
    Hatch.
  • Fixed a bug in the command line code that disallowed -O options
    when using the -S option.
  • Fixed a bug in the RawTokenFormatter.

0.7.1


(released Feb 15, 2007)

  • Fixed little highlighting bugs in the Python, Java, Scheme and
    Apache Config lexers.
  • Updated the included manpage.
  • Included a built version of the documentation in the source tarball.

0.7


(codename Faschingskrapfn, released Feb 14, 2007)

  • Added a MoinMoin parser that uses Pygments. With it, you get
    Pygments highlighting in Moin Wiki pages.
  • Changed the exception raised if no suitable lexer, formatter etc. is
    found in one of the get_*_by_* functions to a custom exception,
    pygments.util.ClassNotFound. It is, however, a subclass of
    ValueError in order to retain backwards compatibility.
  • Added a -H command line option which can be used to get the
    docstring of a lexer, formatter or filter.
  • Made the handling of lexers and formatters more consistent. The
    aliases and filename patterns of formatters are now attributes on
    them.
  • Added an OCaml lexer, thanks to Adam Blinkinsop.
  • Made the HTML formatter more flexible, and easily subclassable in
    order to make it easy to implement custom wrappers, e.g. alternate
    line number markup. See the documentation.
  • Added an outencoding option to all formatters, making it possible
    to override the encoding (which is used by lexers and formatters)
    when using the command line interface. Also, if using the terminal
    formatter and the output file is a terminal and has an encoding
    attribute, use it if no encoding is given.
  • Made it possible to just drop style modules into the styles
    subpackage of the Pygments installation.
  • Added a "state" keyword argument to the using helper.
  • Added a commandprefix option to the LatexFormatter which allows
    to control how the command names are constructed.
  • Added quite a few new lexers, thanks to Tim Hatch:
  • Java Server Pages
  • Windows batch files
  • Trac Wiki markup
  • Python tracebacks
  • ReStructuredText
  • Dylan
  • and the Befunge esoteric programming language (yay!)
  • Added Mako lexers by Ben Bangert.
  • Added "fruity" style, another dark background originally vim-based
    theme.
  • Added sources.list lexer by Dennis Kaarsemaker.
  • Added token stream filters, and a pygmentize option to use them.
  • Changed behavior of in Operator for tokens.
  • Added mimetypes for all lexers.
  • Fixed some problems lexing Python strings.
  • Fixed tickets: 167, 178, 179, 180, 185, 201.

0.6


(codename Zimtstern, released Dec 20, 2006)

  • Added option for the HTML formatter to write the CSS to an external
    file in "full document" mode.
  • Added RTF formatter.
  • Added Bash and Apache configuration lexers (thanks to Tim Hatch).
  • Improved guessing methods for various lexers.
  • Added media support to CSS lexer (thanks to Tim Hatch).
  • Added a Groff lexer (thanks to Tim Hatch).
  • License change to BSD.
  • Added lexers for the Myghty template language.
  • Added a Scheme lexer (thanks to Marek Kubica).
  • Added some functions to iterate over existing lexers, formatters and
    lexers.
  • The HtmlFormatter's get_style_defs() can now take a list as an
    argument to generate CSS with multiple prefixes.
  • Support for guessing input encoding added.
  • Encoding support added: all processing is now done with Unicode
    strings, input and output are converted from and optionally to byte
    strings (see the encoding option of lexers and formatters).
  • Some improvements in the C(++) lexers handling comments and line
    continuations.

0.5.1


(released Oct 30, 2006)

  • Fixed traceback in pygmentize -L (thanks to Piotr Ozarowski).

0.5


(codename PyKleur, released Oct 30, 2006)

  • Initial public release.

Once you have closed this pull request, I'll create separate pull requests for every update as soon as I find them.

That's it for now!

Happy merging! 🤖

@JNRowe JNRowe closed this Oct 18, 2017
@JNRowe JNRowe deleted the pyup-initial-update branch October 18, 2017 07:19
@JNRowe
Copy link
Copy Markdown
Owner

JNRowe commented Oct 18, 2017

Single requests…

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants