Releases: aiidateam/aiida-optimade
Releases · aiidateam/aiida-optimade
v0.11.0
Major updates:
aiida-optimade calc
New CLI commandcalc
(#151).
This command will allow one to specify particular OPTIMADE fields that one wants to have recalculated for allStructureData
Nodes in a database. Compared to theinit
command, where the-f/--force
option will first remove all OPTIMADE fields before recalculating all of them, thecalc
command will be more picky, only updating the chosen OPTIMADE fields.- New CLI options
Add-y/--force-yes
and update-q/--silent
for thecalc
andinit
CLI commands (#153).
-y/--force-yes
will force a "Yes" when asked to continue in thecalc
CLI command.
-q/--silent
will silence any non-critical output to the console. - Progress bar and better output in CLI
Utilizetqdm
for a progress bar and wrappedclick.echo
commands fromaiida-core
to improve thecalc
andinit
CLI command outputs (#153).
Thetqdm
progress bar is wrapped around the list of Nodes when an extra is removed or (re)calculated.
The improvedclick.echo
-wrapper commands fromaiida-core
introduce a more colorful output with "Info:", "Success:", "Warning:" or similar prefixes.
Changes:
- Update to support
aiida-core
v1.4.2 (#140, #142). - Update to support
optimade
v0.12.3 (#147). - Use updated
uvicorn
v0.12.2 (#141, #143).
Fixes:
- Ordering in
chemical_formula_anonymous
is now correct according to the specification (#147).
The amount of each element must be descending, example:A48 B32 C10 D10 E F
.
Developer updates:
- Use the updated
CasperWA/push-protected@v2
in the publish workflow (#145). - Use the latest
pre-commit
v2.8 (#146). - Run CI workflow for all PRs and otherwise only for pushes to
master
andCasperWA/push-protected
relevant branches (#151). - New CI job
build-package
utilizesCasperWA/check-sdist-action
GitHub Action to ensure the source distribution for theaiida_optimade
Python package can be built and installed (#152). - Move imports in invoke tasks script into their relevant functions and branches therein (#154).
v0.10.3
Changes:
- Update central dependencies
optimade
(v0.12.1
) andaiida-core
(v1.4.1
) (#139). - Add JSON config files to
MANIFEST.in
, including them in the source distribution (#134). - Fallback to
config.json
ifOPTIMADE_CONFIG_FILE
environment variable is not defined or points to a non-existing file (#134).
Developer:
v0.10.2
v0.10.1
v0.10.0
Major updates:
- Use the OPTIMADE Validator action to check the implementation, both in CI and in the pytesting (#114)
- Add middleware from
optimade
to (#114):- Ensure a wrongly versioned base URL returns HTTP code 553.
- Add support for the
api_hint
query parameter. - Catch Python
Warning
s and report them in the response as OPTIMADE Warning objects.
Note, for this to work, one has to subclassoptimade.server.warnings.OptimadeWarning
.
Minor updates:
- Support
optimade
v0.12.0 (#114)
Bug fixes:
- Fix OPTIMADE badge in README (#112)
v0.9.0
Major changes:
aiida-optimade
CLI (#85)
New CLI with which one can run the server and initialize an AiiDA database.- Custom Python
Warnings
(#94)
All AiiDA-OPTIMADE warnings can be caught by the customAiidaOptimadeWarning
class. - Logger (#94)
Log various events in the code, useful for debugging and testing.
OPTIMADE-specific changes:
- Add new
nperiodic_dimensions
Structure attribute to translator (#93) - Add
type
attribute to the introspective/info/structures
endpoint (#93) - Add
/versions
-endpoint and use un-versioned URLs (#94)
Minor changes:
v0.8.0
Changes:
- New tests based on
optimade-python-tools
, but all in the flavor ofpytest
(#74) - Add
"sortable"
field to/info/structures
endpoint's"properties"
(#84)
All fields that are not containers (JSON arrays and objects) can be sorted. - Using custom
StructureResourceAttributes
with AiiDA-specific properties (ctime
) (#84) - Add
/links
endpoint (#86) - Update to the new LinksResource schema (#86)
- Update dependencies, now all dependencies have a specific version number, but are still using
~=
(#86)
v0.7.0
Major changes:
- Use
optimade-python-tools
' v0.8 config-system (#70, @CasperWA)
This allows to configure the server through environment variables and more, utilizingpydantic
's powerful config system.
See the relevant PR inoptimade-python-tools
for more information.
Updates:
- Use new OPTIMADE capitalization throughout the code (#67, @CasperWA)
- Update to latest AiiDA version (#67, @CasperWA)
- Run
reentry scan
in Dockerfile after installingaiida-core
(#67, @CasperWA) - Move to using GH Action services for testing with AiiDA-needed services (PostgreSQL & RabbitMQ) (#67, @CasperWA)
- Redirect all non-major version prefix URLs to major-version prefix URLs for the OpenAPI docs endpoints (#72, @CasperWA)
- Fix building source distribution, including missing files in
MANIFEST.in
(#76, @thatch) - Fix misplaced keys in
.codecov.yml
(#78, @CasperWA)
v0.6.1
Changes:
- Use OPTIMADE Python tools
v0.7.0
.
This introduced minor API and grammar changes (#62) - Update
codecov-action
to usev1
, which always points to the newestv1.x.y
(#62) - Update minimum versions for dependencies to the newest for
lark-parser
and explicitly set a version foruvicorn
(#62)