File: changes.html

package info (click to toggle)
pyramid-jinja2 2.7%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,776 kB
  • ctags: 688
  • sloc: python: 1,657; makefile: 72; sh: 7
file content (595 lines) | stat: -rw-r--r-- 31,587 bytes parent folder | download | duplicates (3)
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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
    <title>Changes &mdash; pyramid_jinja2 2.4 documentation</title>
    
    <link rel="stylesheet" href="_static/pylons.css" type="text/css" />
    <link rel="stylesheet" href="_static/pygments.css" type="text/css" />
    
    <script type="text/javascript">
      var DOCUMENTATION_OPTIONS = {
        URL_ROOT:    './',
        VERSION:     '2.4',
        COLLAPSE_INDEX: false,
        FILE_SUFFIX: '.html',
        HAS_SOURCE:  true
      };
    </script>
    <script type="text/javascript" src="_static/jquery.js"></script>
    <script type="text/javascript" src="_static/underscore.js"></script>
    <script type="text/javascript" src="_static/doctools.js"></script>
    <link rel="top" title="pyramid_jinja2 2.4 documentation" href="index.html" />
    <link rel="next" title="Glossary" href="glossary.html" />
    <link rel="prev" title="pyramid_jinja2 API" href="api.html" />
<link rel="stylesheet" href="http://static.pylonsproject.org/fonts/nobile/stylesheet.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="http://static.pylonsproject.org/fonts/neuton/stylesheet.css" type="text/css" media="screen" charset="utf-8" />
<!--[if lte IE 6]>
<link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" />
<![endif]-->
<link rel="shortcut icon" href="_static/pyramid.ico"/>

  </head>
  <body role="document">







<div class="header-small">
	
	<div class="logo-small">
		<a href="index.html">
      		<img class="logo" src="_static/pyramid-small.png" alt="Logo"/>
		</a>
  	</div>
</div>

    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             accesskey="I">index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="glossary.html" title="Glossary"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="api.html" title="pyramid_jinja2 API"
             accesskey="P">previous</a> |</li>
    	<li><a href="index.html">pyramid_jinja2 2.4 documentation</a> &raquo;</li> 
      </ul>
    </div>  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <div class="section" id="changes">
<span id="id1"></span><h1>Changes<a class="headerlink" href="#changes" title="Permalink to this headline">¶</a></h1>
<div class="section" id="id2">
<h2>2.4 (2015-03-27)<a class="headerlink" href="#id2" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>#105: Support <code class="docutils literal"><span class="pre">jinja2.finalize</span></code> configuration setting. [dstufft]</li>
</ul>
</div>
<div class="section" id="id3">
<h2>2.3.3 (2014-07-02)<a class="headerlink" href="#id3" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>#91: Fix a recursion error while attempting to include a template with the
same name as one of the parents that was already loaded. [mmerickel]</li>
</ul>
</div>
<div class="section" id="id4">
<h2>2.3.2 (2014-06-13)<a class="headerlink" href="#id4" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Fix 2.3.1 brownbag release. It had some erroneous didn&#8217;t-mean-to-push
changes that are now solved. Brought coverage back up to 100%.</li>
</ul>
</div>
<div class="section" id="id5">
<h2>2.3.1 (2014-06-13)<a class="headerlink" href="#id5" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Improve the template-relative searchpath logic to search more possibilities
in the include-chain built up from templates including or extending
other templates. The logic for when the chain was longer than just one
template including another template was broken.</li>
</ul>
</div>
<div class="section" id="id6">
<h2>2.3 (2014-05-30)<a class="headerlink" href="#id6" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Require <code class="docutils literal"><span class="pre">pyramid_jinja2</span></code> to be included even when using
<code class="docutils literal"><span class="pre">pyramid_jinja2.renderer_factory</span></code>. It is now a thin wrapper around the
default renderer and can be used to share the same settings with another
file extension. [mmerickel]</li>
</ul>
<div class="section" id="backward-incompatible-changes">
<h3>Backward Incompatible Changes<a class="headerlink" href="#backward-incompatible-changes" title="Permalink to this headline">¶</a></h3>
<ul>
<li><p class="first"><code class="docutils literal"><span class="pre">pyramid_jinja2</span></code> <strong>must</strong> be included into the <code class="docutils literal"><span class="pre">Configurator</span></code> in order
to use <code class="docutils literal"><span class="pre">pyramid_jinja2.renderer_factory</span></code> otherwise you may see the
exception:</p>
<div class="highlight-python"><div class="highlight"><pre>ValueError: As of pyramid_jinja2 2.3, the use of the
&quot;pyramid_jinja2.renderer_factory&quot; requires that pyramid_jinja2 be
configured via config.include(&quot;pyramid_jinja2&quot;) or the equivalent
&quot;pyramid.includes&quot; setting.
</pre></div>
</div>
<p>The fix is to include <code class="docutils literal"><span class="pre">pyramid_jinja2</span></code>:</p>
<div class="highlight-python"><div class="highlight"><pre><span class="n">config</span><span class="o">.</span><span class="n">include</span><span class="p">(</span><span class="s">&#39;pyramid_jinja2&#39;</span><span class="p">)</span>
</pre></div>
</div>
</li>
</ul>
</div>
</div>
<div class="section" id="id7">
<h2>2.2 (2014-05-30)<a class="headerlink" href="#id7" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>#88: Formalize template loading order and allow all lookups to fallback to
the search path. A template is now always searched for relative to its
parent template. If not found, the lookup will fallback to the search path.
[mmerickel]</li>
<li>Add <code class="docutils literal"><span class="pre">prepend</span></code> option to <code class="docutils literal"><span class="pre">config.add_jinja2_search_path</span></code> to allow
prepending of paths to the beginning of the search path if a path should
override previously defined paths. [mmerickel]</li>
</ul>
</div>
<div class="section" id="id8">
<h2>2.1 (2014-05-16)<a class="headerlink" href="#id8" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>The 2.0 series started adding the package that invoked
<code class="docutils literal"><span class="pre">config.add_jinja2_renderer</span></code> to the template search path. This is
being removed in favor of explicit search paths and will hopefully not
affect many people as it has only been available for a couple weeks. The
only automatic search path left is the one added by the default <code class="docutils literal"><span class="pre">.jinja2</span></code>
renderer created when including <code class="docutils literal"><span class="pre">pyramid_jinja2</span></code>. [mmerickel]</li>
<li>Adjust the <code class="docutils literal"><span class="pre">config.include('pyramid_jinja2')</span></code> to add any packages from
<code class="docutils literal"><span class="pre">jinja2.directories</span></code> <strong>before</strong> the default search path at the base of
the app. Previously there was no way to override that search path.
[mmerickel]</li>
</ul>
</div>
<div class="section" id="id9">
<h2>2.0.2 (2014-05-06)<a class="headerlink" href="#id9" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>The path of the child template is always considered when inheriting from
a base template. Therefore when doing <code class="docutils literal"><span class="pre">render('templates/foo.jinja2')</span></code>
and <code class="docutils literal"><span class="pre">foo.jinja2</span></code> has an <code class="docutils literal"><span class="pre">{%</span> <span class="pre">extends</span> <span class="pre">'base.jinja2'</span> <span class="pre">%}</span></code>, the template
will be searched for as <code class="docutils literal"><span class="pre">'templates/base.jinja2'</span></code> on the search path.
Previously the path of the child template was ignored when doing the
lookup for the base, causing some very subtle and unrecoverable lookup
errors when the child template was found relative to the caller instead
of being found on the search path. [mmerickel]</li>
<li>This release restores the default search path behaviors from the 1.x series
that were inadvertently removed in the 2.x. The project&#8217;s root package is
added to the search path by default. [mmerickel]</li>
</ul>
</div>
<div class="section" id="id10">
<h2>2.0.1 (2014-04-23)<a class="headerlink" href="#id10" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>#86: Fix a regression caused by the new support for extending a template
relative to itself. Using <code class="docutils literal"><span class="pre">{%</span> <span class="pre">extends</span> <span class="pre">'some_asset:spec.jinja2'</span> <span class="pre">%}</span></code> was
no longer working and is now fixed. [mmerickel]</li>
</ul>
</div>
<div class="section" id="id11">
<h2>2.0 (2014-04-21)<a class="headerlink" href="#id11" title="Permalink to this headline">¶</a></h2>
<ul>
<li><p class="first">Claim Python 3.4 support
[mmerickel]</p>
</li>
<li><p class="first">#75: Fix the missing piece of relative template loading by allowing a
template to inherit from a template relative to itself, instead of
forcing the parent to be on the search path.
[mmerickel]</p>
</li>
<li><p class="first">#73: Added a new <code class="docutils literal"><span class="pre">config.add_jinja2_renderer</span></code> API that can create and
override multiple Jinja2 renderers, each loaded using potentially different
settings and extensions.</p>
<p>The other APIs are now keyed on the renderer extension, as each extension
may have different settings. Thus <code class="docutils literal"><span class="pre">config.add_jinja2_search_path</span></code>,
<code class="docutils literal"><span class="pre">config.add_jinja2_extension</span></code>, and <code class="docutils literal"><span class="pre">config.get_jinja2_environment</span></code>
accept a <code class="docutils literal"><span class="pre">name</span></code> argument, which defaults to <code class="docutils literal"><span class="pre">.jinja2</span></code>.</p>
<p>This deprecates the old <code class="docutils literal"><span class="pre">pyramid_jinja2.renderer_factory</span></code> mechanism
for adding renderers with alternate extensions.</p>
<p>Configuration of the renderers has been updated to follow Pyramid&#8217;s
standard mechanisms for conflict detection. This means that if two modules
both try to add a renderer for the <code class="docutils literal"><span class="pre">.jinja2</span></code> extension, they may raise a
conflict or the modifications made by the invocation closest to the
<code class="docutils literal"><span class="pre">Configurator</span></code> in the call-stack will win. This behavior can be affected
by calling <code class="docutils literal"><span class="pre">config.commit</span></code> at appropriate times to force a configuration
to take effect immediately. As such, configuration is deferred until
commit-time, meaning that it is now possible
<code class="docutils literal"><span class="pre">config.get_jinja2_environment</span></code> will return <code class="docutils literal"><span class="pre">None</span></code> because the changes
have not yet been committed.
[mmerickel]</p>
</li>
</ul>
<div class="section" id="id12">
<h3>Backward Incompatible Changes<a class="headerlink" href="#id12" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>The creation and configuration of the Jinja2 <code class="docutils literal"><span class="pre">Environment</span></code> is now deferred
until commit-type in the Pyramid <code class="docutils literal"><span class="pre">Configurator</span></code>. This means that
<code class="docutils literal"><span class="pre">config.get_jinja2_environment</span></code> may return <code class="docutils literal"><span class="pre">None</span></code>. To resolve this,
invoke <code class="docutils literal"><span class="pre">config.commit()</span></code> before attempting to get the environment.</li>
</ul>
</div>
</div>
<div class="section" id="id13">
<h2>1.10 (2014-01-11)<a class="headerlink" href="#id13" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>#77: Change semantics of <code class="docutils literal"><span class="pre">jinja2.bytecode_caching</span></code> setting.  The new
default is false (no bytecode caching) &#8211; <code class="docutils literal"><span class="pre">bytecode_caching</span></code> must
explicitly be set to true to enable a filesystem bytecode cache.
In addition, an atexit callback to clean the cache is no longer
registered (as this seemed to defeat most of the purpose of having
a bytecode cache.)  Finally, a more complex bytecode cache may be
configured by setting <code class="docutils literal"><span class="pre">jinja2.bytecode_caching</span></code> directly to a
<code class="docutils literal"><span class="pre">jinja2.BytecodeCache</span></code> instance.  (This can not be done in a
paste .ini file, it must be done programatically.)
[dairiki]</li>
<li>prevent error when using <cite>python setup.py bdist_wheel</cite>
[msabramo]</li>
</ul>
</div>
<div class="section" id="id14">
<h2>1.9 (2013-11-08)<a class="headerlink" href="#id14" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>fix indentation level for Jinja2ProjectTemplate in scaffolds/__init__.py
[Bruno Binet]</li>
<li>Remove unnecessary dependency on <code class="docutils literal"><span class="pre">pyramid.interfaces.ITemplateRenderer</span></code>
which was deprecated in Pyramid 1.5.
[mmerickel]</li>
<li>#68: Added <cite>model_path_filter</cite>, <cite>route_path_filter</cite> and <cite>static_path_filter</cite> filters
[Remco]</li>
<li>#74: Fixed issue with route being converted as_const by jinja2 engine when using btyecode cache
[Remco]</li>
</ul>
</div>
<div class="section" id="id15">
<h2>1.8 (2013-10-03)<a class="headerlink" href="#id15" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>#70: Do not pin for py3.2 compatibility unless running under py3.2
[dairiki]</li>
</ul>
</div>
<div class="section" id="id16">
<h2>1.7 (2013-08-07)<a class="headerlink" href="#id16" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>#56: python3.3: Non-ASCII characters in changelog breaks pip installation
[Domen Kozar]</li>
<li>#57: Remove useless warning: <cite>DeprecationWarning: reload_templates setting
is deprecated, use pyramid.reload_templates instead.</cite>
[Marc Abramowitz]</li>
</ul>
</div>
<div class="section" id="id17">
<h2>1.6 (2013-01-23)<a class="headerlink" href="#id17" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Set <cite>jinja2.i18n.domain</cite> default to the package name
of the pyramid application.
[Domen Kozar]</li>
<li>Add <cite>jinja2.globals</cite> setting to add global objects into
the template context
[Eugene Fominykh]</li>
<li>Add <cite>jinja2.newstyle</cite> setting to enable newstyle gettext calls
[Thomas Schussler]</li>
</ul>
</div>
<div class="section" id="id18">
<h2>1.5 (2012-11-24)<a class="headerlink" href="#id18" title="Permalink to this headline">¶</a></h2>
<ul>
<li><p class="first">Add <cite>pyramid.reload_templates</cite> to set <cite>jinja2.auto_reload</cite> instead of
using <cite>reload_templates</cite>. Deprecate the latter.
[Domen Kozar]</p>
</li>
<li><p class="first">Clear bytecode cache on atexit
[Domen Kozar]</p>
</li>
<li><p class="first">Add support for more Jinja2 options. Note support for jinja2.autoescape is
limited to boolean only.</p>
<ul class="simple">
<li>jinja2.block_start_string</li>
<li>jinja2.block_end_string</li>
<li>jinja2.variable_start_string</li>
<li>jinja2.variable_end_string</li>
<li>jinja2.comment_start_string</li>
<li>jinja2.comment_end_string</li>
<li>jinja2.line_statement_prefix</li>
<li>jinja2.line_comment_prefix</li>
<li>jinja2.trim_blocks</li>
<li>jinja2.newline_sequence</li>
<li>jinja2.optimized</li>
<li>jinja2.cache_size</li>
<li>jinja2.autoescape</li>
</ul>
<p>[Michael Ryabushkin]</p>
</li>
</ul>
</div>
<div class="section" id="id19">
<h2>1.4.2 (2012-10-17)<a class="headerlink" href="#id19" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Add <cite>jinja2.undefined</cite> setting to change handling of undefined types.
[Robert Buchholz]</li>
<li>Remove redundant decoding error handling
[Domen Kozar]</li>
<li>Configure bytecode caching by default. Introduce <cite>jinja2.bytecode_caching</cite>
and <cite>jinja2.bytecode_caching_directory</cite> settings.
[Domen Kozar]</li>
<li>Allow to add custom Jinja2 tests in <cite>jinja2.tests</cite> setting.
[Sebastian Kalinowski]</li>
</ul>
</div>
<div class="section" id="id20">
<h2>1.4.1 (2012-09-12)<a class="headerlink" href="#id20" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Fix brown-bag release
[Domen Kozar]</li>
</ul>
</div>
<div class="section" id="id21">
<h2>1.4 (2012-09-12)<a class="headerlink" href="#id21" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Correctly resolve relative search paths passed to <code class="docutils literal"><span class="pre">add_jinja2_search_path</span></code>
and <code class="docutils literal"><span class="pre">jinja2.directories</span></code>
[Domen Kozar]</li>
<li>#34: Don&#8217;t recreate <code class="docutils literal"><span class="pre">jinja2.Environment</span></code> for <code class="docutils literal"><span class="pre">add_jinja2_extension</span></code>
[Domen Kozar]</li>
<li>Drop Python 2.5 compatibility
[Domen Kozar]</li>
<li>Addition of <code class="docutils literal"><span class="pre">static_url</span></code> filter.</li>
<li>Add <code class="docutils literal"><span class="pre">dev</span></code> and <code class="docutils literal"><span class="pre">docs</span></code> setup.py aliases (ala Pyramid).</li>
<li>Changed template loading relative to package calling the renderer so
it works like the Chameleon template loader.</li>
</ul>
</div>
<div class="section" id="id22">
<h2>1.3 (2011-12-14)<a class="headerlink" href="#id22" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Make scaffolding compatible with Pyramid 1.3a2+.</li>
</ul>
</div>
<div class="section" id="id23">
<h2>1.2 (2011-09-27)<a class="headerlink" href="#id23" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Make tests pass on Pyramid 1.2dev.</li>
<li>Make compatible with Python 3.2 (requires Pyramid 1.3dev+).</li>
</ul>
</div>
<div class="section" id="id24">
<h2>1.1 (2011-07-24)<a class="headerlink" href="#id24" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Add <code class="docutils literal"><span class="pre">get_jinja2_environment</span></code> directive.</li>
<li>Add all configurator directives to documentation.</li>
</ul>
</div>
<div class="section" id="id25">
<h2>1.0 (2011-05-12)<a class="headerlink" href="#id25" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Message domain can now be specified with <em>jinja2.i18n.domain</em> for i18n</li>
<li>Paster template now sets up starter locale pot/po/mo files</li>
<li>pyramid_jinja2 now depends on Jinja2 &gt;= 2.5.0 due to
<code class="docutils literal"><span class="pre">jinja2.Environment.install_gettext_callables</span></code> use
<a class="reference external" href="https://github.com/Pylons/pyramid_jinja2/pull/21">https://github.com/Pylons/pyramid_jinja2/pull/21</a></li>
<li>Added demo app just to visualize i18n work</li>
</ul>
</div>
<div class="section" id="id26">
<h2>0.6.2 (2011-04-06)<a class="headerlink" href="#id26" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li><code class="docutils literal"><span class="pre">jinja2.ext.i18n</span></code> is now added by default, see <code class="docutils literal"><span class="pre">i18n.rst</span></code>
for details</li>
<li>Added <code class="docutils literal"><span class="pre">add_jinja2_extension</span></code> directive to the Configurator</li>
<li>Updated jinja2.extensions parsing mechanism</li>
<li>Fixed docs to indicate using asset: prefix is no longer necessary</li>
</ul>
</div>
<div class="section" id="id27">
<h2>0.6.1 (2011-03-03)<a class="headerlink" href="#id27" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Asset-based loading now takes precedance and does not require
&#8220;asset:&#8221; prefix</li>
<li>Fixed the &#8220;current&#8221; package mechanism of asset: loading so that
it more accurately finds the current package</li>
<li>Dependency on <code class="docutils literal"><span class="pre">pyramid_zcml</span></code> removed.</li>
</ul>
</div>
<div class="section" id="id28">
<h2>0.6 (2011-02-15)<a class="headerlink" href="#id28" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Documentation overhauled.</li>
<li>Templates can now be looked up by asset spec completely bypassing
the search path by specifying a prefix of <code class="docutils literal"><span class="pre">asset:</span></code>.</li>
<li>Updated paster template to more closely relate to changes made
to paster templmates in Pyramid core.</li>
<li>Add new directive <code class="docutils literal"><span class="pre">add_jinja2_search_path</span></code> to the configurator
when <code class="docutils literal"><span class="pre">includeme</span></code> is used.</li>
</ul>
</div>
<div class="section" id="id29">
<h2>0.5 (2011-01-18)<a class="headerlink" href="#id29" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Add <code class="docutils literal"><span class="pre">includeme</span></code> function (meant to be used via <code class="docutils literal"><span class="pre">config.include</span></code>).</li>
<li>Fix documentation bug related to <code class="docutils literal"><span class="pre">paster</span> <span class="pre">create</span></code> reported at
<a class="reference external" href="https://github.com/Pylons/pyramid_jinja2/issues#issue/12">https://github.com/Pylons/pyramid_jinja2/issues#issue/12</a></li>
<li>Depend upon Pyramid 1.0a10 + (to make ZCML work).</li>
</ul>
</div>
<div class="section" id="id30">
<h2>0.4 (2010-12-16)<a class="headerlink" href="#id30" title="Permalink to this headline">¶</a></h2>
<div class="section" id="paster-template">
<h3>Paster Template<a class="headerlink" href="#paster-template" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Changes to normalize with default templates shipping with Pyramid core:
remove calls to <code class="docutils literal"><span class="pre">config.begin()</span></code> and <code class="docutils literal"><span class="pre">config.end()</span></code> from
<code class="docutils literal"><span class="pre">__init__.main</span></code>, entry point name changed to <code class="docutils literal"><span class="pre">main</span></code>, entry
<code class="docutils literal"><span class="pre">__init__.py</span></code> function name changed to <code class="docutils literal"><span class="pre">main</span></code>, depend on WebError, use
<code class="docutils literal"><span class="pre">paster_plugins</span></code> argument to setup function in setup.py, depend on
Pyramid 1.0a6+ (use <code class="docutils literal"><span class="pre">config</span></code> rather than <code class="docutils literal"><span class="pre">configurator</span></code>).</li>
</ul>
</div>
<div class="section" id="tests">
<h3>Tests<a class="headerlink" href="#tests" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Use <code class="docutils literal"><span class="pre">testing.setUp</span></code> and <code class="docutils literal"><span class="pre">testing.tearDown</span></code> rather than constructing a
Configurator (better fwd compat).</li>
</ul>
</div>
<div class="section" id="features">
<h3>Features<a class="headerlink" href="#features" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Add <code class="docutils literal"><span class="pre">model_url</span></code> and <code class="docutils literal"><span class="pre">route_url</span></code> filter implementations (and
documented).</li>
</ul>
</div>
<div class="section" id="documentation">
<h3>Documentation<a class="headerlink" href="#documentation" title="Permalink to this headline">¶</a></h3>
<ul class="simple">
<li>Use Makefile which pulls in Pylons theme automagically.</li>
</ul>
</div>
</div>
<div class="section" id="id31">
<h2>0.3 (2010-11-26)<a class="headerlink" href="#id31" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Add <code class="docutils literal"><span class="pre">jinja2.filters</span></code> and <code class="docutils literal"><span class="pre">jinja2.extensions</span></code> settings (thanks to
aodag).</li>
<li>Document all known settings.</li>
</ul>
</div>
<div class="section" id="id32">
<h2>0.2 (2010-11-06)<a class="headerlink" href="#id32" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>Template autoreloading did not function, even if <code class="docutils literal"><span class="pre">reload_templates</span></code> was
set to <code class="docutils literal"><span class="pre">True</span></code>.</li>
</ul>
</div>
<div class="section" id="id33">
<h2>0.1 (2010-11-05)<a class="headerlink" href="#id33" title="Permalink to this headline">¶</a></h2>
<ul class="simple">
<li>First release.  <em>Not</em> backwards compatible with <code class="docutils literal"><span class="pre">repoze.bfg.jinja2</span></code>: we
use a filesystem loader (the directories to load from come from the
<code class="docutils literal"><span class="pre">jinja2.directories</span></code> setting).  No attention is paid to the current
package when resolving a renderer= line.</li>
</ul>
</div>
</div>


          </div>
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
  <h3><a href="index.html">Table Of Contents</a></h3>
  <ul>
<li><a class="reference internal" href="#">Changes</a><ul>
<li><a class="reference internal" href="#id2">2.4 (2015-03-27)</a></li>
<li><a class="reference internal" href="#id3">2.3.3 (2014-07-02)</a></li>
<li><a class="reference internal" href="#id4">2.3.2 (2014-06-13)</a></li>
<li><a class="reference internal" href="#id5">2.3.1 (2014-06-13)</a></li>
<li><a class="reference internal" href="#id6">2.3 (2014-05-30)</a><ul>
<li><a class="reference internal" href="#backward-incompatible-changes">Backward Incompatible Changes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#id7">2.2 (2014-05-30)</a></li>
<li><a class="reference internal" href="#id8">2.1 (2014-05-16)</a></li>
<li><a class="reference internal" href="#id9">2.0.2 (2014-05-06)</a></li>
<li><a class="reference internal" href="#id10">2.0.1 (2014-04-23)</a></li>
<li><a class="reference internal" href="#id11">2.0 (2014-04-21)</a><ul>
<li><a class="reference internal" href="#id12">Backward Incompatible Changes</a></li>
</ul>
</li>
<li><a class="reference internal" href="#id13">1.10 (2014-01-11)</a></li>
<li><a class="reference internal" href="#id14">1.9 (2013-11-08)</a></li>
<li><a class="reference internal" href="#id15">1.8 (2013-10-03)</a></li>
<li><a class="reference internal" href="#id16">1.7 (2013-08-07)</a></li>
<li><a class="reference internal" href="#id17">1.6 (2013-01-23)</a></li>
<li><a class="reference internal" href="#id18">1.5 (2012-11-24)</a></li>
<li><a class="reference internal" href="#id19">1.4.2 (2012-10-17)</a></li>
<li><a class="reference internal" href="#id20">1.4.1 (2012-09-12)</a></li>
<li><a class="reference internal" href="#id21">1.4 (2012-09-12)</a></li>
<li><a class="reference internal" href="#id22">1.3 (2011-12-14)</a></li>
<li><a class="reference internal" href="#id23">1.2 (2011-09-27)</a></li>
<li><a class="reference internal" href="#id24">1.1 (2011-07-24)</a></li>
<li><a class="reference internal" href="#id25">1.0 (2011-05-12)</a></li>
<li><a class="reference internal" href="#id26">0.6.2 (2011-04-06)</a></li>
<li><a class="reference internal" href="#id27">0.6.1 (2011-03-03)</a></li>
<li><a class="reference internal" href="#id28">0.6 (2011-02-15)</a></li>
<li><a class="reference internal" href="#id29">0.5 (2011-01-18)</a></li>
<li><a class="reference internal" href="#id30">0.4 (2010-12-16)</a><ul>
<li><a class="reference internal" href="#paster-template">Paster Template</a></li>
<li><a class="reference internal" href="#tests">Tests</a></li>
<li><a class="reference internal" href="#features">Features</a></li>
<li><a class="reference internal" href="#documentation">Documentation</a></li>
</ul>
</li>
<li><a class="reference internal" href="#id31">0.3 (2010-11-26)</a></li>
<li><a class="reference internal" href="#id32">0.2 (2010-11-06)</a></li>
<li><a class="reference internal" href="#id33">0.1 (2010-11-05)</a></li>
</ul>
</li>
</ul>

  <h4>Previous topic</h4>
  <p class="topless"><a href="api.html"
                        title="previous chapter"><code class="docutils literal"><span class="pre">pyramid_jinja2</span></code> API</a></p>
  <h4>Next topic</h4>
  <p class="topless"><a href="glossary.html"
                        title="next chapter">Glossary</a></p>
<div id="searchbox" style="display: none" role="search">
  <h3>Quick search</h3>
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" />
      <input type="submit" value="Go" />
      <input type="hidden" name="check_keywords" value="yes" />
      <input type="hidden" name="area" value="default" />
    </form>
    <p class="searchtip" style="font-size: 90%">
    Enter search terms or a module, class or function name.
    </p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="related" role="navigation" aria-label="related navigation">
      <h3>Navigation</h3>
      <ul>
        <li class="right" style="margin-right: 10px">
          <a href="genindex.html" title="General Index"
             >index</a></li>
        <li class="right" >
          <a href="py-modindex.html" title="Python Module Index"
             >modules</a> |</li>
        <li class="right" >
          <a href="glossary.html" title="Glossary"
             >next</a> |</li>
        <li class="right" >
          <a href="api.html" title="pyramid_jinja2 API"
             >previous</a> |</li>
    	<li><a href="index.html">pyramid_jinja2 2.4 documentation</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer" role="contentinfo">
        &copy; Copyright 2011, Agendaless Consulting &lt;chrism@plope.com&gt;.
      Last updated on Mar 27, 2015.
      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.3.1.
    </div>
  </body>
</html>