Skip to content

Commit

Permalink
[BOT] post-merge updates
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot committed Dec 21, 2023
1 parent f40f84b commit a033014
Show file tree
Hide file tree
Showing 6 changed files with 55 additions and 27 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ addon | version | maintainers | summary
[datamodel](datamodel/) | 16.0.1.0.1 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | This addon allows you to define simple data models supporting serialization/deserialization
[extendable](extendable/) | 16.0.1.0.1 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Extendable classes registry loader for Odoo
[extendable_fastapi](extendable_fastapi/) | 16.0.2.1.1 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Allows the use of extendable into fastapi apps
[fastapi](fastapi/) | 16.0.1.2.2 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Odoo FastAPI endpoint
[fastapi](fastapi/) | 16.0.1.2.3 | [![lmignon](https://github.com/lmignon.png?size=30px)](https://github.com/lmignon) | Odoo FastAPI endpoint
[fastapi_auth_jwt](fastapi_auth_jwt/) | 16.0.1.0.3 | [![sbidoul](https://github.com/sbidoul.png?size=30px)](https://github.com/sbidoul) | JWT bearer token authentication for FastAPI.
[fastapi_auth_jwt_demo](fastapi_auth_jwt_demo/) | 16.0.2.0.1 | [![sbidoul](https://github.com/sbidoul.png?size=30px)](https://github.com/sbidoul) | Test/demo module for fastapi_auth_jwt.
[graphql_base](graphql_base/) | 16.0.1.0.1 | [![sbidoul](https://github.com/sbidoul.png?size=30px)](https://github.com/sbidoul) | Base GraphQL/GraphiQL controller
Expand Down
13 changes: 12 additions & 1 deletion fastapi/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Odoo FastAPI
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3c6fc2f30a2e71ad5f97cd59022ea69c1c7a812bc791555ace9206f7c18c82ae
!! source digest: sha256:b17a5ca250ac0d53b7e0a5952c348ca05d5e61da98bbc767904730e59de3eaab
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
Expand Down Expand Up @@ -1468,6 +1468,17 @@ WebSockets and to stream large responses.
Changelog
=========

16.0.1.2.3 (2023-12-21)
~~~~~~~~~~~~~~~~~~~~~~~

**Bugfixes**

- In case of exception in endpoint execution, close the database cursor after rollback.

This is to ensure that the *retrying* method in *service/model.py* does not try
to flush data to the database. (`#405 <https://github.com/OCA/rest-framework/issues/405>`_)


16.0.1.2.2 (2023-12-12)
~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion fastapi/__manifest__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "Odoo FastAPI",
"summary": """
Odoo FastAPI endpoint""",
"version": "16.0.1.2.2",
"version": "16.0.1.2.3",
"license": "LGPL-3",
"author": "ACSONE SA/NV,Odoo Community Association (OCA)",
"maintainers": ["lmignon"],
Expand Down
11 changes: 11 additions & 0 deletions fastapi/readme/HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
16.0.1.2.3 (2023-12-21)
~~~~~~~~~~~~~~~~~~~~~~~

**Bugfixes**

- In case of exception in endpoint execution, close the database cursor after rollback.

This is to ensure that the *retrying* method in *service/model.py* does not try
to flush data to the database. (`#405 <https://github.com/OCA/rest-framework/issues/405>`_)


16.0.1.2.2 (2023-12-12)
~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
4 changes: 0 additions & 4 deletions fastapi/readme/newsfragments/405.bugfix

This file was deleted.

50 changes: 30 additions & 20 deletions fastapi/static/description/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
Expand Down Expand Up @@ -367,7 +366,7 @@ <h1 class="title">Odoo FastAPI</h1>
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:3c6fc2f30a2e71ad5f97cd59022ea69c1c7a812bc791555ace9206f7c18c82ae
!! source digest: sha256:b17a5ca250ac0d53b7e0a5952c348ca05d5e61da98bbc767904730e59de3eaab
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Beta" src="https://img.shields.io/badge/maturity-Beta-yellow.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/lgpl-3.0-standalone.html"><img alt="License: LGPL-3" src="https://img.shields.io/badge/licence-LGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/rest-framework/tree/16.0/fastapi"><img alt="OCA/rest-framework" src="https://img.shields.io/badge/github-OCA%2Frest--framework-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/rest-framework-16-0/rest-framework-16-0-fastapi"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/rest-framework&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This addon provides the basis to smoothly integrate the <a class="reference external" href="https://fastapi.tiangolo.com/">FastAPI</a>
Expand Down Expand Up @@ -432,16 +431,17 @@ <h1 class="title">Odoo FastAPI</h1>
</li>
<li><a class="reference internal" href="#known-issues-roadmap" id="toc-entry-21">Known issues / Roadmap</a></li>
<li><a class="reference internal" href="#changelog" id="toc-entry-22">Changelog</a><ul>
<li><a class="reference internal" href="#section-1" id="toc-entry-23">16.0.1.2.2 (2023-12-12)</a></li>
<li><a class="reference internal" href="#section-2" id="toc-entry-24">16.0.1.2.1 (2023-11-03)</a></li>
<li><a class="reference internal" href="#section-3" id="toc-entry-25">16.0.1.2.0 (2023-10-13)</a></li>
<li><a class="reference internal" href="#section-1" id="toc-entry-23">16.0.1.2.3 (2023-12-21)</a></li>
<li><a class="reference internal" href="#section-2" id="toc-entry-24">16.0.1.2.2 (2023-12-12)</a></li>
<li><a class="reference internal" href="#section-3" id="toc-entry-25">16.0.1.2.1 (2023-11-03)</a></li>
<li><a class="reference internal" href="#section-4" id="toc-entry-26">16.0.1.2.0 (2023-10-13)</a></li>
</ul>
</li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-26">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-27">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-28">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-29">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-30">Maintainers</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-27">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-28">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-29">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-30">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-31">Maintainers</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -1701,7 +1701,17 @@ <h1><a class="toc-backref" href="#toc-entry-21">Known issues / Roadmap</a></h1>
<div class="section" id="changelog">
<h1><a class="toc-backref" href="#toc-entry-22">Changelog</a></h1>
<div class="section" id="section-1">
<h2><a class="toc-backref" href="#toc-entry-23">16.0.1.2.2 (2023-12-12)</a></h2>
<h2><a class="toc-backref" href="#toc-entry-23">16.0.1.2.3 (2023-12-21)</a></h2>
<p><strong>Bugfixes</strong></p>
<ul>
<li><p class="first">In case of exception in endpoint execution, close the database cursor after rollback.</p>
<p>This is to ensure that the <em>retrying</em> method in <em>service/model.py</em> does not try
to flush data to the database. (<a class="reference external" href="https://github.com/OCA/rest-framework/issues/405">#405</a>)</p>
</li>
</ul>
</div>
<div class="section" id="section-2">
<h2><a class="toc-backref" href="#toc-entry-24">16.0.1.2.2 (2023-12-12)</a></h2>
<p><strong>Bugfixes</strong></p>
<ul class="simple">
<li>When using the ‘FastAPITransactionCase’ class, allows to specify a specific
Expand All @@ -1715,17 +1725,17 @@ <h2><a class="toc-backref" href="#toc-entry-23">16.0.1.2.2 (2023-12-12)</a></h2>
‘authenticated_partner_impl’ method, an error is raised. (<a class="reference external" href="https://github.com/OCA/rest-framework/issues/396">#396</a>)</li>
</ul>
</div>
<div class="section" id="section-2">
<h2><a class="toc-backref" href="#toc-entry-24">16.0.1.2.1 (2023-11-03)</a></h2>
<div class="section" id="section-3">
<h2><a class="toc-backref" href="#toc-entry-25">16.0.1.2.1 (2023-11-03)</a></h2>
<p><strong>Bugfixes</strong></p>
<ul>
<li><p class="first">Fix a typo in the Field declaration of the ‘count’ attribute of the ‘PagedCollection’ schema.</p>
<p>Misspelt parameter was triggering a deprecation warning due to recent versions of Pydantic seeing it as an arbitrary parameter. (<a class="reference external" href="https://github.com/OCA/rest-framework/issues/389">#389</a>)</p>
</li>
</ul>
</div>
<div class="section" id="section-3">
<h2><a class="toc-backref" href="#toc-entry-25">16.0.1.2.0 (2023-10-13)</a></h2>
<div class="section" id="section-4">
<h2><a class="toc-backref" href="#toc-entry-26">16.0.1.2.0 (2023-10-13)</a></h2>
<p><strong>Features</strong></p>
<ul class="simple">
<li>The field <em>total</em> in the <em>PagedCollection</em> schema is replaced by the field <em>count</em>.
Expand All @@ -1739,29 +1749,29 @@ <h2><a class="toc-backref" href="#toc-entry-25">16.0.1.2.0 (2023-10-13)</a></h2>
</div>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#toc-entry-26">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#toc-entry-27">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/rest-framework/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/rest-framework/issues/new?body=module:%20fastapi%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#toc-entry-27">Credits</a></h1>
<h1><a class="toc-backref" href="#toc-entry-28">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#toc-entry-28">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-29">Authors</a></h2>
<ul class="simple">
<li>ACSONE SA/NV</li>
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#toc-entry-29">Contributors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-30">Contributors</a></h2>
<ul class="simple">
<li>Laurent Mignon &lt;<a class="reference external" href="mailto:laurent.mignon&#64;acsone.eu">laurent.mignon&#64;acsone.eu</a>&gt;</li>
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#toc-entry-30">Maintainers</a></h2>
<h2><a class="toc-backref" href="#toc-entry-31">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose
Expand Down

0 comments on commit a033014

Please sign in to comment.