mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 05:11:02 +00:00
42ceb1c1b1
* Move compiler information below priority information * Show docker section by default * Show a mention even if there are no host functions * Fix the wording for the migrations * Fix some wording * Include free notes section * Fix spacing issue * Rename the free notes template * Few minor changes including reworking the tag rendering
31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
{%- import "change.md.tera" as m_c -%}
|
||
{%- set_global host_fn_count = 0 -%}
|
||
|
||
{% for pr in changes | sort(attribute="merged_at") -%}
|
||
|
||
{%- if pr.meta.B and pr.meta.B.value == 0 -%}
|
||
{#- We skip silent ones -#}
|
||
{%- else -%}
|
||
{%- if pr.meta.E and pr.meta.E.value == 4 -%}
|
||
{%- set_global host_fn_count = host_fn_count + 1 -%}
|
||
- {{ m_c::change(c=pr) }}
|
||
{% endif -%}
|
||
{% endif -%}
|
||
{%- endfor -%}
|
||
|
||
<!-- {{ host_fn_count }} host functions were detected -->
|
||
|
||
## Host functions
|
||
|
||
{%- if host_fn_count == 0 %}
|
||
ℹ️ This release does not contain any new host functions.
|
||
{% elif host_fn_count == 1 -%}
|
||
⚠️ The runtimes in this release contain one new **host function**.
|
||
|
||
⚠️ It is critical that you update your client before the chain switches to the new runtime.
|
||
{%- else -%}
|
||
⚠️ The runtimes in this release contain {{ host_fn_count }} new **host function{{ host_fn_count | pluralize }}**.
|
||
|
||
⚠️ It is critical that you update your client before the chain switches to the new runtime.
|
||
{%- endif %}
|