Skip to content

Commit 23be484

Browse files
authored
Release: 0.12.0-alpha (#772)
### Complex Numbers, Close & Backend Options This release adds data type support for complex numbers, allows to close iterations and adds first support for backend configuration options (via JSON), which are currently implemented for ADIOS2. Further installation options have been added (homebrew and CLI tool support with pip). New free standing functions and macro defines are provided for version checks. Thanks to @ax3l, @franzpoeschel, and @LDAmorim for contributing to this release! ## Which version am I running? ### Python ```python import openpmd_api print(openpmd_api.__version__) ``` ### C++ ```C++ #include <openPMD/openPMD.hpp> #include <iostream> int main() { // query compile-time macros: std::cout << OPENPMDAPI_VERSION_MAJOR << "." << OPENPMDAPI_VERSION_MINOR << "." << OPENPMDAPI_VERSION_PATCH << std::endl; // there is also: OPENPMDAPI_VERSION_LABEL (e.g. "alpha") // or query the runtime API (new): std::cout << openPMD::getVersion() << std::endl; return 0; } ``` ### CLI ```bash # new command line option: openpmd-ls --version ```
1 parent 848538d commit 23be484

File tree

6 files changed

+20
-9
lines changed

6 files changed

+20
-9
lines changed

CHANGELOG.rst

+13-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ Changelog
55

66
0.12.0-alpha
77
------------
8-
**Date:** TBA
8+
**Date:** 2020-09-07
99

10-
[Title]
10+
Complex Numbers, Close & Backend Options
1111

12-
[Summary]
12+
This release adds data type support for complex numbers, allows to close iterations and adds first support for backend configuration options (via JSON), which are currently implemented for ADIOS2.
13+
Further installation options have been added (homebrew and CLI tool support with pip).
14+
New free standing functions and macro defines are provided for version checks.
1315

1416
Changes to "0.11.1-alpha"
1517
^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -27,17 +29,21 @@ Features
2729
- add ``Mesh_Record_Component.position`` read-write property #713
2830
- add ``openpmd-ls`` tool in ``pip`` installs and as module #721 #724
2931
- more idiomatic unit properties #735
32+
- add ``file_extensions`` property #768
3033
- CD:
3134

3235
- homebrew: add Formula (OSX/Linux) #724 #725
3336
- PyPI: autodeploy wheels (OSX/Linux) #716 #719
3437
- version compare macro #747
38+
- ``getFileExtensions`` function #768
3539
- Spack environment file ``spack.yaml`` added to repo #737
40+
- ``openpmd-ls``: add ``-v, --version`` option #771
3641

3742
Bug Fixes
3843
"""""""""
3944

4045
- ``flush()`` exceptions in ``~Series``/``~..IOHandler`` do not abort anymore #709
46+
- ``Iteration``/``Attributable`` assignment operator left object in invalid state #769
4147
- ``Datatype.hpp``: add missing include #764
4248
- readme: python example syntax was broken and outdated #722
4349
- examples:
@@ -47,7 +53,7 @@ Bug Fixes
4753
- warnings:
4854

4955
- ``listSeries``: unused params in try-catch #707
50-
- fix Doxygen 1.18.8 warnings
56+
- fix Doxygen 1.18.8 and 1.18.20 warnings #766
5157
- extended write example: remove MSVC warning #752
5258

5359
Other
@@ -57,7 +63,7 @@ Other
5763
- ADIOS2: require version 2.6.0+ #754
5864
- separate header for export macros #704
5965
- rename ``AccessType``/``Access_Type`` to ``Access`` #740 #743 #744
60-
- CI:
66+
- CI & tests:
6167

6268
- migration to travis-ci.com / GitHub app #703
6369
- migrate to GitHub checkout action v2 #712
@@ -69,6 +75,8 @@ Other
6975
- add Clang 10.0 builds #759
7076
- migrate Spack to use AppleClang #758
7177
- style check scripts: ``eval``-uable #757
78+
- new Spack external package syntax #760
79+
- python tests: ``testAttributes`` JSON backend coverage #767
7280
- ``listSeries``: remove unused parameters in try-catch #706
7381
- safer internal ``*dynamic_cast``s of pointers #745
7482
- CMake: subproject inclusion cleanup #751

NEWS.rst

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ Upgrade Guide
66
0.12.0-alpha
77
------------
88

9+
CMake 3.12.0 is now the minimally supported version for CMake.
10+
ADIOS 2.6.0 is now the minimally supported version for ADIOS2 support.
11+
912
Python
1013
^^^^^^
1114

docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
# The short X.Y version.
8585
version = u'0.12.0'
8686
# The full version, including alpha/beta/rc tags.
87-
release = u'0.12.0-dev'
87+
release = u'0.12.0-alpha'
8888

8989
# The language for content autogenerated by Sphinx. Refer to documentation
9090
# for a list of supported languages.

docs/source/index.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ openPMD-api version supported openPMD standard versions
4242
======================== ===================================
4343
``2.0.0+`` ``2.0.0+`` (not released yet)
4444
``1.0.0+`` ``1.0.1-1.1.0`` (not released yet)
45-
``0.1.0-0.11.1`` (alpha) ``1.0.0-1.1.0``
45+
``0.1.0-0.12.0`` (alpha) ``1.0.0-1.1.0``
4646
======================== ===================================
4747

4848
.. toctree::

include/openPMD/version.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
#define OPENPMDAPI_VERSION_MAJOR 0
3131
#define OPENPMDAPI_VERSION_MINOR 12
3232
#define OPENPMDAPI_VERSION_PATCH 0
33-
#define OPENPMDAPI_VERSION_LABEL "dev"
33+
#define OPENPMDAPI_VERSION_LABEL "alpha"
3434
/** @} */
3535

3636
/** maximum supported version of the openPMD standard (read & write, compile-time)

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def build_extension(self, ext):
142142
setup(
143143
name='openPMD-api',
144144
# note PEP-440 syntax: x.y.zaN but x.y.z.devN
145-
version='0.12.0.dev',
145+
version='0.12.0a',
146146
author='Fabian Koller, Franz Poeschel, Axel Huebl',
147147
148148
maintainer='Axel Huebl',

0 commit comments

Comments
 (0)