[rc] 0.6.28-rc1

This commit is contained in:
maxime 2023-08-08 09:09:16 +02:00
parent b1595beb14
commit e9c84c9f7c
2 changed files with 10 additions and 1 deletions

View File

@ -29,6 +29,15 @@ The title field of the "info" dictionnary is now the Domain's name.
The ACLs list is now available under the "info.x-acls" attribute of the schema. The ACLs list is now available under the "info.x-acls" attribute of the schema.
It is still accessible from the "/halfapi/acls" route. It is still accessible from the "/halfapi/acls" route.
#### Schema Components
You can now specify a dict in the domain's metadata dict that follows the
"components" key of an OpenAPI schema.
Use it to define models that are used in your API. You can see an exemple of
it's use in the "tests/dummy_domain/__init__.py" file.
### ACLs ### ACLs
The use of an "HEAD" request to check an ACL is now the norm. Please change all The use of an "HEAD" request to check an ACL is now the norm. Please change all

View File

@ -1,5 +1,5 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
__version__ = '0.6.28rc0' __version__ = '0.6.28rc1'
def version(): def version():
return f'HalfAPI version:{__version__}' return f'HalfAPI version:{__version__}'