File: NEWS.Debian

package info (click to toggle)
python-bottle 0.12.15-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,220 kB
  • sloc: python: 5,791; makefile: 68; sh: 63
file content (29 lines) | stat: -rw-r--r-- 1,478 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
python-bottle (0.8.1-1) unstable; urgency=low

Bottle 0.8.1 has some API changes which may break compatibility with previous
versions.

  - the built-in Key/Value database is not available anymore. It was marked as
    deprecated since 0.6.4
  - the Route syntax and behaviour changed.
    + regular expressions must be encapsulated with #. In 0.6 all
      non-alphanumeric characters not present in the regular expression were
      allowed.
    + regular expressions not part of a route wildcard are escaped
      automatically. You don't have to escape dots or other regular control
      characters anymore. In 0.6 the whole URL was interpreted as a regular
      expression. You can use anonymous wildcards (/index:#(\.html)?#) to
      achieve a similar behaviour.
  - the BreakTheBottle exception is gone. Use HTTPResponse instead.
  - the SimpleTemplate engine escapes HTML special characters in {{bad_html}}
    expressions automatically. Use the new {{!good_html}} syntax to get old
    behaviour (no escaping).
  - the SimpleTemplate engine returns unicode strings instead of lists of byte
    strings.
  - bottle.optimize() and the automatic route optimization is obsolete.
  - Request._environ was renamed to Request.environ
  - the default redirect() code changed from 307 to 303.
  - removed support for @default. Use @error(404) instead.
  - default_app() is obsolete. Use app() instead.  

 -- David Paleino <dapal@debian.org>  Thu, 15 Jul 2010 18:37:46 +0200