<h2>v2.5.2 (2023-11-22)</h2>
<p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.5.2">GitHub release</a></p>
<h3>What's Changed</h3>
<h4>Packaging</h4>
<ul>
<li>uprev <code>pydantic-core</code> to 2.14.5</li>
</ul>
<h4>New Features</h4>
<ul>
<li>Add <code>ConfigDict.ser_json_inf_nan</code> by @davidhewitt in <a href="https://github.com/pydantic/pydantic/pull/8159">#8159</a></li>
</ul>
<h4>Fixes</h4>
<ul>
<li>Fix validation of <code>Literal</code> from JSON keys when used as <code>dict</code> key by @sydney-runkle in <a href="https://github.com/pydantic/pydantic-core/pull/1075">pydantic/pydantic-core#1075</a></li>
<li>Fix bug re <code>custom_init</code> on members of <code>Union</code> by @sydney-runkle in <a href="https://github.com/pydantic/pydantic-core/pull/1076">pydantic/pydantic-core#1076</a></li>
<li>Fix <code>JsonValue</code> <code>bool</code> serialization by @sydney-runkle in <a href="https://github.com/pydantic/pydantic/pull/8159">#8190</a></li>
<li>Fix handling of unhashable inputs with <code>Literal</code> in <code>Union</code>s by @sydney-runkle in <a href="https://github.com/pydantic/pydantic-core/pull/1089">pydantic/pydantic-core#1089</a></li>
</ul>
<p>https://github.com/pydantic/pydantic/compare/v2.5.1...v2.5.2/</p>