Skip to content

Commit

Permalink
Merge pull request Materials-Consortia#168 from Materials-Consortia/b…
Browse files Browse the repository at this point in the history
…ump_to_v0.4

Bump to v0.4.0

Changes:

Changes:
- Reorder test files and update testing endpoints setup (Materials-Consortia#162, @CasperWA)
- Separate the regular and index-meta database server, making sure they're not importing each other (Materials-Consortia#160, @CasperWA)
- Introduce Starlette/FastAPI HTTP middleware for redirecting URLs ending with a slash to URLs _not_ ending with a slash (Materials-Consortia#160, @CasperWA)
- Fix validation of `dimension_types` resulting in `response_fields` failing and add tests for `response_fields` (Materials-Consortia#153, @CasperWA)
- Update entry list property descriptions according to updated OPTiMaDe spec (Materials-Consortia#153, @CasperWA)
- Validate updated entry list properties and test updated entry list properties (Materials-Consortia#153, @ml-evs)
- Add OpenAPI schema descriptions for query parameters (Materials-Consortia#166, @CasperWA)
- Remove custom constrained types `NonnegativeInt` and `conlist` and use instead standard types together with `pydantic`'s `FieldInfo` parameters for schema generation and validation (Materials-Consortia#166, @shyamd, @CasperWA)
  • Loading branch information
CasperWA authored Feb 6, 2020
2 parents 7de415a + 85c2640 commit ea975a2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion openapi/index_openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.2",
"info": {
"title": "OPTiMaDe API - Index meta-database",
"description": "The [Open Databases Integration for Materials Design (OPTiMaDe) consortium](https://www.optimade.org/) aims to make materials databases interoperational by developing a common REST API.\nThis is the \"special\" index meta-database.\n\nThis specification is generated using [`optimade-python-tools`](https://github.com/Materials-Consortia/optimade-python-tools/tree/v0.3.4) v0.3.4.",
"description": "The [Open Databases Integration for Materials Design (OPTiMaDe) consortium](https://www.optimade.org/) aims to make materials databases interoperational by developing a common REST API.\nThis is the \"special\" index meta-database.\n\nThis specification is generated using [`optimade-python-tools`](https://github.com/Materials-Consortia/optimade-python-tools/tree/v0.4.0) v0.4.0.",
"version": "0.10.1"
},
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"openapi": "3.0.2",
"info": {
"title": "OPTiMaDe API",
"description": "The [Open Databases Integration for Materials Design (OPTiMaDe) consortium](https://www.optimade.org/) aims to make materials databases interoperational by developing a common REST API.\n\nThis specification is generated using [`optimade-python-tools`](https://github.com/Materials-Consortia/optimade-python-tools/tree/v0.3.4) v0.3.4.",
"description": "The [Open Databases Integration for Materials Design (OPTiMaDe) consortium](https://www.optimade.org/) aims to make materials databases interoperational by developing a common REST API.\n\nThis specification is generated using [`optimade-python-tools`](https://github.com/Materials-Consortia/optimade-python-tools/tree/v0.4.0) v0.4.0.",
"version": "0.10.1"
},
"paths": {
Expand Down
2 changes: 1 addition & 1 deletion optimade/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.3.4"
__version__ = "0.4.0"
__api_version__ = "0.10.1"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

setup(
name="optimade",
version="0.3.4",
version="0.4.0",
url="https://github.com/Materials-Consortia/optimade-python-tools",
license="MIT",
author="OPTiMaDe Development Team",
Expand Down

0 comments on commit ea975a2

Please sign in to comment.