mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-22 21:58:00 +00:00
242c111099
* WIP * More fixes * Add API section and various fixes
39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
{%- import "change.md.tera" as m_c -%}
|
||
|
||
{%- set_global host_fn_count = 0 -%}
|
||
|
||
{# We loop first to count the number of host functions but we do not display anything yet #}
|
||
{%- for pr in changes -%}
|
||
{%- if pr.meta.B and pr.meta.B.B0 -%}
|
||
{#- We skip silent ones -#}
|
||
{%- else -%}
|
||
{%- if pr.meta.E and pr.meta.E.E4 -%}
|
||
{%- set_global host_fn_count = host_fn_count + 1 -%}
|
||
{% endif -%}
|
||
{%- endif -%}
|
||
{%- endfor -%}
|
||
|
||
<!-- {{ host_fn_count }} host functions were detected -->
|
||
|
||
{% if host_fn_count == 0 -%}
|
||
<!-- ℹ️ This release does not contain any new host functions. -->
|
||
{%- else -%}
|
||
## Host functions
|
||
|
||
⚠️ 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 runtimes.
|
||
|
||
{% for pr in changes | sort(attribute="merged_at") -%}
|
||
|
||
{%- if pr.meta.B and pr.meta.B.B0 -%}
|
||
{#- We skip silent ones -#}
|
||
{%- else -%}
|
||
{%- if pr.meta.E and pr.meta.E.E4 -%}
|
||
- {{ m_c::change(c=pr) }}
|
||
{% endif -%}
|
||
{% endif -%}
|
||
{%- endfor -%}
|
||
|
||
{%- endif %}
|