Skip to content

Commit 19e99c6

Browse files
committed
Updated Manual for 2.3.34 release
1 parent b0d4ffd commit 19e99c6

File tree

1 file changed

+8
-8
lines changed
  • freemarker-manual/src/main/docgen/en_US

1 file changed

+8
-8
lines changed

freemarker-manual/src/main/docgen/en_US/book.xml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10434,22 +10434,22 @@ cfg.setNumberFormat("@ua 0.####;; roundingMode=halfUp");</programlisting>
1043410434
<literal>freemarker.template.Configuration</literal> object
1043510435
like:</para>
1043610436

10437-
<programlisting role="unspecified">... = new Configuration(Configuration.VERSION_2_3_28)</programlisting>
10437+
<programlisting role="unspecified">... = new Configuration(Configuration.VERSION_2_3_34)</programlisting>
1043810438
</listitem>
1043910439

1044010440
<listitem>
1044110441
<para>Or, alter the <literal>Configuration</literal> singleton
1044210442
where you initialize its other settings like:</para>
1044310443

10444-
<programlisting role="unspecified">cfg.setIncompatibleImprovements(Configuration.VERSION_2_3_28)</programlisting>
10444+
<programlisting role="unspecified">cfg.setIncompatibleImprovements(Configuration.VERSION_2_3_34)</programlisting>
1044510445
</listitem>
1044610446

1044710447
<listitem>
1044810448
<para>Or, if you are configuring FreeMarker with properties
1044910449
(<literal>*.properties</literal> file or
1045010450
<literal>java.util.Properties</literal> object), add:</para>
1045110451

10452-
<programlisting role="unspecified">incompatible_improvements=2.3.28</programlisting>
10452+
<programlisting role="unspecified">incompatible_improvements=2.3.34</programlisting>
1045310453
</listitem>
1045410454

1045510455
<listitem>
@@ -10460,7 +10460,7 @@ cfg.setNumberFormat("@ua 0.####;; roundingMode=halfUp");</programlisting>
1046010460

1046110461
<programlisting role="unspecified">&lt;init-param&gt;
1046210462
&lt;param-name&gt;incompatible_improvements&lt;/param-name&gt;
10463-
&lt;param-value&gt;2.3.28&lt;/param-value&gt;
10463+
&lt;param-value&gt;2.3.34&lt;/param-value&gt;
1046410464
&lt;/init-param&gt;</programlisting>
1046510465
</listitem>
1046610466
</itemizedlist>
@@ -10497,7 +10497,7 @@ cfg.setNumberFormat("@ua 0.####;; roundingMode=halfUp");</programlisting>
1049710497
<para>Do not ever use
1049810498
<literal>Configuration.getVersion()</literal> to set the
1049910499
<quote>incompatible improvements</quote> setting. Always use a
10500-
fixed value, like <literal>Configuration.VERSION_2_3_28</literal>.
10500+
fixed value, like <literal>Configuration.VERSION_2_3_34</literal>.
1050110501
Otherwise your application can break as you upgrade FreeMarker.
1050210502
The whole point of <quote>incompatible improvements</quote> is to
1050310503
protect you from that, while you still always get the
@@ -30458,7 +30458,7 @@ TemplateModel x = env.getVariable("x"); // get variable x</programlisting>
3045830458
<section xml:id="versions_2_3_34">
3045930459
<title>2.3.34</title>
3046030460

30461-
<para>Release date: TODO</para>
30461+
<para>Release date: 2024-12-01 + release process</para>
3046230462

3046330463
<section>
3046430464
<title>Changes on the FTL side</title>
@@ -31556,8 +31556,8 @@ TemplateModel x = env.getVariable("x"); // get variable x</programlisting>
3155631556
This applies to said setting of
3155731557
<literal>Configuration</literal>,
3155831558
<literal>DefaultObjectWrapper</literal>, and
31559-
<literal>BeansWrapper</literal>. The typical bad pattern is
31560-
this: <literal>new
31559+
<literal>BeansWrapper</literal>. The typical
31560+
<emphasis>bad</emphasis> pattern is this: <literal>new
3156131561
Configuration(Configuration.getVersion())</literal>. Doing that
3156231562
defeats the purpose of
3156331563
<literal>incompatibleImprovements</literal>, and makes upgrading

0 commit comments

Comments
 (0)