summaryrefslogtreecommitdiff
path: root/docs/news.txt
blob: 5448bf5eb280a2f1d8708f958f96fa6f9943ed80 (plain)
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
Paste Deployment News
=====================

svn trunk
---------

* Fix ``appconfig`` config loading when using a config file with
  ``filter-with`` in it (previously you'd get TypeError: iteration
  over non-sequence)

1.3
---

* Added ``scheme`` option to ``PrefixMiddleware``, so you can force a
  scheme (E.g., when proxying an HTTPS connection over HTTP).

* Pop proper values into ``environ['paste.config']`` in
  ``ConfigMiddleware``.

1.1
---

* Any ``global_conf`` extra keys you pass to ``loadapp`` (or the other
  loaders) will show up as though they were in ``[DEFAULT]``, so they
  can be used in variable interpolation.  Note: this won't overwrite
  any existing values in ``[DEFAULT]``.

* Added ``force_port`` option to
  ``paste.deploy.config.PrefixMiddleware``.  Also the ``prefix``
  argument is stripped of any trailing ``/``, which can't be valid in
  that position.

1.0
---

* Added some documentation for the different kinds of entry points
  Paste Deploy uses.

* Added a feature to ``PrefixMiddleware`` that translates the
  ``X-Forwarded-Server`` header to ``Host``.

0.9.6
-----

* Added ``PrefixMiddleware`` which compensates for cases where the
  wsgi app is behind a proxy of some sort that isn't moving the prefix
  into the SCRIPT_NAME in advance.

* Changed _loadconfig() so that it works with Windows absolute paths.

* Make the error messages prettier when you call a function and fail
  to give an argument, like a required function argument.

0.5
---

* Made the ``paste_deploy`` template (used with ``paster create
  --template=paste_deploy``) more useful, with an example application
  and entry point.

0.4
---

* Allow filters to have ``filter-with`` values, just like
  applications.

* Renamed ``composit`` to ``composite`` (old names still work, but
  aren't documented).

* Added ``appconfig()`` to load along with ``loadapp()``, but return
  the configuration without invoking the application.

0.3
---

* Allow variable setting like::

    get local_var = global_var_name

  To bring in global variables to the local scope.

* Allow interpolation in files, like ``%(here)s``.  Anything in the
  ``[DEFAULTS]`` section will be available to substitute into a value,
  as will variables in the same section.  Also, the special value
  ``here`` will be the directory the configuration file is located in.

0.2
---

Released 26 August 2004

* Added a ``filter-with`` setting to applications.

* Removed the ``1`` from all the protocol names (e.g.,
  ``paste.app_factory1`` is not ``paste.app_factory``).

* Added ``filter-app:`` and ``pipeline:`` sections.  `Docs
  <paste-deploy.html#filter-composition>`__.

* Added ``paste.filter_app_factory1`` (`doc
  <paste-deploy.html#paste-filter-app-factory1>`__) and
  ``paste.server_runner1`` (`doc
  <paste-deploy.html#paste-server-runner1>`__) protocols.

* Added ``paste.deploy.converters`` module for handling the
  string values that are common with this system.

0.1
---

Released 22 August 2004

Initial version released.  It's all new.