Skip to content
This repository was archived by the owner on Jul 11, 2021. It is now read-only.

Initial Update #22

Merged
merged 6 commits into from
Dec 21, 2017
Merged

Initial Update #22

merged 6 commits into from
Dec 21, 2017

Conversation

pyup-bot
Copy link
Contributor

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.

GitPython 0.3.2.RC1 » 2.1.8 PyPI | Repo | Docs
docutils 0.10 » 0.14 PyPI | Changelog | Homepage | Bugtracker
Pygments 1.6 » 2.2.0 PyPI | Changelog | Homepage
Markdown 2.5.1 » 2.6.10 PyPI | Repo | Docs
Flask 0.10.1 » 0.12.2 PyPI | Changelog | Repo
Yapsy 1.10.2-pythons2n3 » 1.11.223 PyPI | Homepage | Docs

Changelogs

docutils 0.10 -> 0.14

0.14

=========================

As rc2.

  • docutils/docs/ref/docutils.dtd:
  • Enable validation of Docutils XML documents against the DTD:
  • docutils/parsers/rst/:
  • Added functionality: escaped whitespace in URI contexts.
  • Consistent handling of all whitespace characters in inline markup
    recognition. (May break documents that relied on some whitespace
    characters (NBSP, ...) not to be recognized as whitespace.)
  • docutils/utils/smartquotes.py:
  • Update quote definitions for et, fi, fr, ro, sv, tr, uk.
  • Add quote definitions for hr, hsb, hu, lv, sh, sl, sr.
  • Differentiate apostrophe from closing single quote (if possible).
  • Add command line interface for stand-alone use (requires 2.7).
  • docutils/writers/_html_base:
  • Provide default title in metadata.
  • The MathJax CDN shut down on April 30, 2017. For security reasons, we
    don't use a third party public installation as default but warn
    if math-output is set to MathJax without specifying a URL.
    See math-output_ for details.
  • docutils/writers/html4css1:
  • Respect automatic table column sizing.
  • docutils/writers/latex2e/init.py
  • Handle class arguments for block-level elements by wrapping them
    in a "DUclass" environment. This replaces the special handling for
    "epigraph" and "topic" elements.
  • docutils/writers/odf_odt:
  • Language option sets ODF document's default language
  • Image width, scale, ... set image size in generated ODF.
  • tools/
  • New front-end rst2html4.py.

0.13.1

===========================

  • docutils/writers/html5_polyglot
  • New HTML writer generating HTML 5_.

.. _HTML 5: http://www.w3.org/TR/html5/

  • tools/
  • New front-end rst2html5.py.
  • languages: persian/farsi (fa) and latvian (la) mappings.
  • tables accept widths, a list and align
  • latex2e: Fix admonition width, remove deprecated options,
    better tablewidth auto, ...
  • rst.el: The problem with electric-indent-mode has been fixed.

0.12

=========================

Small changes only, release current state

0.11

=========================

  • General
  • Apply [ 2714873 ] Fix for the overwritting of document attributes.
  • Support embedded aliases within hyperlink references.
  • Fix [ 228 ] try local import of docutils components (reader, writer, parser,
    language module) before global search.
  • docutils/parsers/rst/directives/tables.py
  • Fix [ 210 ] Python 3.3 checks CVS syntax only if "strict" is True.
  • docutils/writers/html4css1/init.py
  • Fix [ 3600051 ] for tables in a list, table cells are not compacted.
  • New setting stylesheet_dirs (see above).

Now, it is easy to add a custom stylesheet to Docutils' default
stylesheet with, e.g., --stylesheet_path='html4css1.css, mystyle.css'

Changed behaviour of the default settings:
if there is a file html4css1.css in the working directory of the
process at launch, it is used instead of the one provided by Docutils
in the writer source directory.

  • New default for math-output_: HTML math.css.
  • Avoid repeated class declarations in html4css1 writer
    (modified version of patch [ 104 ]).

.. _math-output: docs/user/config.htmlmath-output

  • docutils/writers/latex2e/init.py
  • Drop the simple algorithm replacing straight double quotes with
    English typographic ones.
    Activate the SmartQuotes_ transform if you want this feature.
  • New setting stylesheet_dirs: Comma-separated list of directories
    where stylesheets are found. Used by stylesheet_path when expanding
    relative path arguments.

.. _SmartQuotes: docs/user/config.htmlsmart-quotes

  • docutils/writers/manpage.py
  • Fix [3607063] handle lines starting with a period.
  • Fix option separating comma was bold (thanks to Bill Morris).

Pygments 1.6 -> 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).

Flask 0.10.1 -> 0.12.2

0.12.2


Released on May 16 2017

  • Fix a bug in safe_join on Windows.

0.12.1


Bugfix release, released on March 31st 2017

  • Prevent flask run from showing a NoAppException when an ImportError occurs
    within the imported application module.
  • Fix encoding behavior of app.config.from_pyfile for Python 3. Fix
    2118.
  • Use the SERVER_NAME config if it is present as default values for
    app.run. 2109, 2152
  • Call ctx.auto_pop with the exception object instead of None, in the
    event that a BaseException such as KeyboardInterrupt is raised in a
    request handler.

0.12


Released on December 21st 2016, codename Punsch.

  • the cli command now responds to --version.
  • Mimetype guessing and ETag generation for file-like objects in send_file
    has been removed, as per issue 104. See pull request 1849.
  • Mimetype guessing in send_file now fails loudly and doesn't fall back to
    application/octet-stream. See pull request 1988.
  • Make flask.safe_join able to join multiple paths like os.path.join
    (pull request 1730).
  • Revert a behavior change that made the dev server crash instead of returning
    a Internal Server Error (pull request 2006).
  • Correctly invoke response handlers for both regular request dispatching as
    well as error handlers.
  • Disable logger propagation by default for the app logger.
  • Add support for range requests in send_file.
  • app.test_client includes preset default environment, which can now be
    directly set, instead of per client.get.

0.11.2


Bugfix release, unreleased

  • Fix crash when running under PyPy3, see pull request 1814.

0.11.1


Bugfix release, released on June 7th 2016.

  • Fixed a bug that prevented FLASK_APP=foobar/__init__.py from working. See
    pull request 1872.

0.11


Released on May 29th 2016, codename Absinthe.

  • Added support to serializing top-level arrays to :func:flask.jsonify. This
    introduces a security risk in ancient browsers. See
    :ref:json-security for details.
  • Added before_render_template signal.
  • Added **kwargs to :meth:flask.Test.test_client to support passing
    additional keyword arguments to the constructor of
    :attr:flask.Flask.test_client_class.
  • Added SESSION_REFRESH_EACH_REQUEST config key that controls the
    set-cookie behavior. If set to True a permanent session will be
    refreshed each request and get their lifetime extended, if set to
    False it will only be modified if the session actually modifies.
    Non permanent sessions are not affected by this and will always
    expire if the browser window closes.
  • Made Flask support custom JSON mimetypes for incoming data.
  • Added support for returning tuples in the form (response, headers)
    from a view function.
  • Added :meth:flask.Config.from_json.
  • Added :attr:flask.Flask.config_class.
  • Added :meth:flask.Config.get_namespace.
  • Templates are no longer automatically reloaded outside of debug mode. This
    can be configured with the new TEMPLATES_AUTO_RELOAD config key.
  • Added a workaround for a limitation in Python 3.3's namespace loader.
  • Added support for explicit root paths when using Python 3.3's namespace
    packages.
  • Added :command:flask and the flask.cli module to start the local
    debug server through the click CLI system. This is recommended over the old
    flask.run() method as it works faster and more reliable due to a
    different design and also replaces Flask-Script.
  • Error handlers that match specific classes are now checked first,
    thereby allowing catching exceptions that are subclasses of HTTP
    exceptions (in werkzeug.exceptions). This makes it possible
    for an extension author to create exceptions that will by default
    result in the HTTP error of their choosing, but may be caught with
    a custom error handler if desired.
  • Added :meth:flask.Config.from_mapping.
  • Flask will now log by default even if debug is disabled. The log format is
    now hardcoded but the default log handling can be disabled through the
    LOGGER_HANDLER_POLICY configuration key.
  • Removed deprecated module functionality.
  • Added the EXPLAIN_TEMPLATE_LOADING config flag which when enabled will
    instruct Flask to explain how it locates templates. This should help
    users debug when the wrong templates are loaded.
  • Enforce blueprint handling in the order they were registered for template
    loading.
  • Ported test suite to py.test.
  • Deprecated request.json in favour of request.get_json().
  • Add "pretty" and "compressed" separators definitions in jsonify() method.
    Reduces JSON response size when JSONIFY_PRETTYPRINT_REGULAR=False by removing
    unnecessary white space included by default after separators.
  • JSON responses are now terminated with a newline character, because it is a
    convention that UNIX text files end with a newline and some clients don't
    deal well when this newline is missing. See
    Add JSONIFY_END_WITH_NEWLINE config variable pallets/flask#1262 -- this came up originally as a
    part of https://github.com/kennethreitz/httpbin/issues/168
  • The automatically provided OPTIONS method is now correctly disabled if
    the user registered an overriding rule with the lowercase-version
    options (issue 1288).
  • flask.json.jsonify now supports the datetime.date type (pull request
    1326).
  • Don't leak exception info of already catched exceptions to context teardown
    handlers (pull request 1393).
  • Allow custom Jinja environment subclasses (pull request 1422).
  • flask.g now has pop() and setdefault methods.
  • Turn on autoescape for flask.templating.render_template_string by default
    (pull request 1515).
  • flask.ext is now deprecated (pull request 1484).
  • send_from_directory now raises BadRequest if the filename is invalid on
    the server OS (pull request 1763).
  • Added the JSONIFY_MIMETYPE configuration variable (pull request 1728).
  • Exceptions during teardown handling will no longer leave bad application
    contexts lingering around.

0.10.2


(bugfix release, release date to be announced)

  • Fixed broken test_appcontext_signals() test case.
  • Raise an :exc:AttributeError in :func:flask.helpers.find_package with a
    useful message explaining why it is raised when a PEP 302 import hook is used
    without an is_package() method.
  • Fixed an issue causing exceptions raised before entering a request or app
    context to be passed to teardown handlers.
  • Fixed an issue with query parameters getting removed from requests in
    the test client when absolute URLs were requested.
  • Made before_first_request into a decorator as intended.
  • Fixed an etags bug when sending a file streams with a name.
  • Fixed send_from_directory not expanding to the application root path
    correctly.
  • Changed logic of before first request handlers to flip the flag after
    invoking. This will allow some uses that are potentially dangerous but
    should probably be permitted.
  • Fixed Python 3 bug when a handler from app.url_build_error_handlers
    reraises the BuildError.

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! 🤖

@LuRsT
Copy link
Owner

LuRsT commented Dec 21, 2017

Tested, looks great, thanks @pyup-bot !

@LuRsT LuRsT merged commit 586ec0b into master Dec 21, 2017
@LuRsT LuRsT deleted the pyup-initial-update branch December 21, 2017 20:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants