wagtail/docs/releases
Matt Westcott dbc4c9b28e Adds the include_block template tag (#2786)
Update render and render_basic methods on Block to take a context kwarg

Update TableBlock to support passing extra context to render

Implement render_as_block on BoundBlock, StreamValue and StructValue.

Collectively, these are the objects encountered during template rendering which typically render
a block template when output inside {{ ... }} tags. Implementing render_as_block allows us to do
the same thing, but passing a template context as well.

Implement include_block tag

Support extra context vars on include_block via 'with foo=bar'

Support 'only' flag on include_block tag, to omit the parent context

Update StreamField documentation to cover the include_block tag

Rewrite 'BoundBlocks and values' docs based on the include_block tag

Add tests for blocks with legacy render / render_basic methods

Any bits of StreamField infrastructure that attempt to call render or render_basic
on a block with a 'context' kwarg, should (for now) also work on blocks that don't
accept the context kwarg, but output a RemovedInWagtail18Warning.

Explicitly test whether render / render_basic will accept a 'context' kwarg

This avoids unexpected behaviour when the method legitimately accepts a context
kwarg, but happens to throw an unrelated TypeError - in this situation, the final
output (or error diagnostics) will behave as if the context was never passed,
making debugging difficult. See https://github.com/torchbox/wagtail/pull/2786#discussion_r69563984
2016-07-06 17:44:02 +03:00
..
0.4.1.rst add release notes / changelog entry for 0.4.1 2014-07-14 13:12:04 +01:00
0.4.rst Spelling corrections 2015-04-19 10:53:34 +01:00
0.5.rst Make RoutablePage a mixin 2014-08-21 19:42:17 +10:00
0.6.rst Update 0.6.rst 2014-09-29 16:25:24 +01:00
0.7.rst prepare for 0.7 release 2014-10-09 19:51:26 +01:00
0.8.1.rst Prepare for 0.8.1 release 2014-11-05 22:05:48 +00:00
0.8.3.rst formally withdraw 0.8.2 release, move release notes to 0.8.3 2014-11-20 16:51:19 +00:00
0.8.4.rst release note for #872 2014-12-16 16:43:55 +00:00
0.8.5.rst Started fixing spellings. Added wordlist 2015-04-17 23:05:08 +01:00
0.8.6.rst prepare for 0.8.6 release 2015-03-10 17:32:14 +00:00
0.8.7.rst Finalise 0.8.7 in documentation 2015-04-29 14:08:32 +01:00
0.8.8.rst remove 'in development' from 0.8.8 2015-06-18 16:38:21 +01:00
0.8.10.rst version bump to 0.8.10 due to packaging issues (grr) 2015-09-16 17:36:21 +01:00
0.8.rst Document the necessary fix to custom image migrations - fixes #832 2014-12-04 13:18:19 +00:00
1.0.rst 'extremely basic information' -> 'the hostname of your Wagtail site' 2015-07-15 17:12:19 +01:00
1.1.rst prepare for 1.1 release 2015-09-15 12:45:54 +01:00
1.2.rst Prepare for 1.2 release 2015-11-12 16:55:14 +00:00
1.3.1.rst Version bump to 1.3.1 2016-01-05 17:19:08 +00:00
1.3.rst Fix typos in 1.3 release notes 2016-07-05 15:00:32 +01:00
1.4.1.rst Removed arrow-up after selector issue #2365 2016-03-17 01:25:26 +00:00
1.4.2.rst Tweaks to changelog message 2016-03-30 22:29:33 +01:00
1.4.3.rst 1.4.3 no longer in development 2016-04-04 21:39:58 +01:00
1.4.4.rst Update release notes / contributors with new translations imported into 1.4.4 2016-05-10 11:28:46 +01:00
1.4.5.rst 1.4.5 is now released 2016-05-19 15:00:35 +01:00
1.4.rst 1.4 no longer 'in development' 2016-03-16 11:31:20 +00:00
1.5.1.rst mark 1.5.1 as no longer in development 2016-06-07 18:59:13 +01:00
1.5.2.rst Release note for 1.5.2 2016-06-08 11:52:27 +01:00
1.5.rst promote rich text link handling to a major feature 2016-05-19 17:01:17 +01:00
1.6.rst Adds the include_block template tag (#2786) 2016-07-06 17:44:02 +03:00
index.rst Release note for 1.5.2 2016-06-08 11:52:27 +01:00