summaryrefslogtreecommitdiff
path: root/docs/news.rst
blob: 467576aa40a1b04cef87f65828c045e9d9690919 (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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
Paste Deployment News
=====================

3.0.1 (2022-10-17)
------------------

* Fix ``python_requires`` package metadata to support Python 3.7+.

3.0 (2022-10-16)
----------------

* Drop support for Python 2, as well as 3.4, 3.5, and 3.6.

* Fix a broken compatibility shim that would cause the ConfigParser to fail
  on Python 3.12 when ``ConfigParser.readfp`` is removed.

* Drop setuptools dependency and start using ``importlib.metadata`` instead.

* Refactor repository into a src folder layout.

2.1.1 (2020-10-12)
------------------

* Added ``setuptools`` as an explicit dependency.
  This has always been required but now that more environments are becoming capable of operating without it being installed, we now need to ensure it's available.

2.1.0
-----

* pytest-runner removed, use tox to run tests.

2.0.0
-----

* Python 3 deprecation warning cleanups
* Moved code to `GitHub <https://github.com/Pylons/pastedeploy>`_ under the Pylons Project.
* Moved documentation under the Pylons Project, hosted by Read the Docs at https://docs.pylonsproject.org/projects/pastedeploy/en/latest/

1.5.2
-----

* Fixed Python 3 issue in paste.deploy.util.fix_type_error()

1.5.1
-----

* Fixed use of the wrong variable when determining the context protocol

* Fixed invalid import of paste.deploy.Config to paste.deploy.config.Config

* Fixed multi proxy IPs bug in X-Forwarded-For header in PrefixMiddleware

* Fixed TypeError when trying to raise LookupError on Python 3

* Fixed exception reraise on Python 3

Thanks to Alexandre Conrad, Atsushi Odagiri, Pior Bastida and Tres Seaver for their contributions.

1.5.0
-----

* Project is now maintained by Alex Grönholm <alex.gronholm@nextday.fi>

* Was printing extraneous data when calling setup.py

* Fixed missing paster template files (fixes "paster create -t paste.deploy")

* Excluded tests from release distributions

* Added support for the "call:" protocol for loading apps directly as
  functions (contributed by Jason Stitt)

* Added Python 3.x support

* Dropped Python 2.4 support

* Removed the ``paste.deploy.epdesc`` and ``paste.deploy.interfaces`` modules
  -- contact the maintainer if you actually needed them

1.3.4
-----

* Fix loadconfig path handling on Jython on Windows.

1.3.3
-----

* In :class:`paste.deploy.config.PrefixMiddleware` the headers
  ``X-Forwarded-Scheme`` and ``X-Forwarded-Proto`` are now translated
  to the key ``environ['wsgi.url_scheme']``.  Also ``X-Forwarded-For``
  is translated to ``environ['REMOTE_ADDR']``

* Also in PrefixMiddleware, if X-Forwarded-Host has multiple
  (comma-separated) values, use only the first value.

1.3.2
-----

* Added ``paste.deploy.converters.asint()``.
* fixed use sections overwriting the config's __file__ value with the
  use'd filename.
* ``paste.deploy.loadwsgi`` now supports variable expansion in the
  DEFAULT section of config files (unlike plain ConfigParser).

1.3.1
-----

* 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.

* Added ``paste.filter_app_factory1`` and ``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.