Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 23 additions & 5 deletions reference/hash/functions/hash-init.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,25 @@

<refsect1 role="errors">
&reftitle.errors;
<para>
Throws a <classname>ValueError</classname> exception if
<parameter>algo</parameter> is unknown or is a non-cryptographic hash
function, or if <parameter>key</parameter> is empty.
</para>
<itemizedlist>
<listitem>
<simpara>
Throws a <classname>ValueError</classname> exception if
<parameter>algo</parameter> is unknown or is a non-cryptographic hash
function, or if <parameter>key</parameter> is empty.
</simpara>
</listitem>
<listitem>
<simpara>
Passing configurations options of the wrong type in
<parameter>options</parameter> will now emit an
<constant>E_DEPRECATED</constant> error because they can be interpreted
incorrectly.
This will become a <exceptionname>ValueError</exceptionname> in the
future.
</simpara>
</listitem>
</itemizedlist>
</refsect1>

<refsect1 role="changelog">
Expand All @@ -100,6 +114,10 @@
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>Passing options of a wrong type is now deprecated.</entry>
</row>
<row>
<entry>8.1.0</entry>
<entry>The <parameter>options</parameter> parameter has been added.</entry>
Expand Down
7 changes: 7 additions & 0 deletions reference/hash/functions/hash-update.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,13 @@
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
Now has a return type of <type>true</type> instead of
<type>bool</type>.
</entry>
</row>
<row>
<entry>7.2.0</entry>
<entry>
Expand Down