Skip to content

Commit 3751220

Browse files
authored
Prepare release 2.0.2 (#138)
Update CHANGELOG.md and bump version number where necessary.
1 parent 76b2318 commit 3751220

File tree

8 files changed

+17
-9
lines changed

8 files changed

+17
-9
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
# Change Log
22

3-
## [Version 2.0.2] - unreleased
3+
## [Version 2.0.2] - 2020-07-15
44

55
### Fixed
66

77
- VWN3 functional has been fixed for the spin-polarized case. It previously gave wrong results
88
when alpha and beta densities differed. Thanks to Zhenyu Zhu for reporting the problem
99
and also suggesting the solution.
10+
See [PR #134](https://github.com/dftlibs/xcfun/pull/134) and
11+
[issue #132](https://github.com/dftlibs/xcfun/issues/132).
1012

1113
## [Version 2.0.1] - 2020-05-06
1214

@@ -112,7 +114,7 @@ modernize the library. See the [migration guide](https://xcfun.readthedocs.io/en
112114
- **BREAKING** The Fortran interface is no longer build with the code, but
113115
shipped as a separate file to be compiled within your own Fortran code.
114116

115-
[Unreleased]: https://github.com/dftlibs/xcfun/compare/v2.0.1...HEAD
117+
[Version 2.0.2]: https://github.com/dftlibs/xcfun/compare/v2.0.1...v2.0.2
116118
[Version 2.0.1]: https://github.com/dftlibs/xcfun/compare/v2.0.0...v2.0.1
117119
[Version 2.0.0]: https://github.com/dftlibs/xcfun/compare/v2.0.0a7...v2.0.0
118120
[Version 2.0.0a7]: https://github.com/dftlibs/xcfun/compare/v2.0.0a6...v2.0.0a7

cmake/custom/xcfun.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ if(DEFINED XCFUN_MAX_ORDER AND XCFUN_MAX_ORDER LESS 3)
2323
set(XCFUN_MAX_ORDER 6 CACHE STRING "Maximum order of derivatives of the exchange-correlation kernel" FORCE)
2424
endif()
2525

26-
set(PROJECT_VERSION 2.0.0)
26+
set(PROJECT_VERSION 2.0.2)
2727
set(PROJECT_VERSION_MAJOR 2)
2828
set(PROJECT_VERSION_MINOR 0)
29-
set(PROJECT_VERSION_PATCH 0)
29+
set(PROJECT_VERSION_PATCH 2)
3030

3131
if(WIN32 AND NOT CYGWIN)
3232
set(DEF_INSTALL_CMAKEDIR CMake)

docs/building.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,9 @@ To build the documentation::
110110
or::
111111

112112
$ sphinx-build docs _build -t html
113+
114+
Bumping versions
115+
----------------
116+
117+
To bump a version you should edit the ``cmake/custom/xcfun.cmake``,
118+
``src/version_info.hpp``, and ``docs/conf.py`` files.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
author = 'Ulf Ekström and contributors'
2626

2727
# The full version, including alpha/beta/rc tags
28-
release = '2.0.0a2'
28+
release = '2.0.2'
2929

3030
# -- General configuration ---------------------------------------------------
3131

examples/CXX_host/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ else()
1616
FetchContent_Declare(xcfun_sources
1717
QUIET
1818
URL
19-
https://github.com/dftlibs/xcfun/archive/v2.0.1.tar.gz
19+
https://github.com/dftlibs/xcfun/archive/v2.0.2.tar.gz
2020
)
2121

2222
FetchContent_GetProperties(xcfun_sources)

examples/C_host/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ else()
1616
FetchContent_Declare(xcfun_sources
1717
QUIET
1818
URL
19-
https://github.com/dftlibs/xcfun/archive/v2.0.1.tar.gz
19+
https://github.com/dftlibs/xcfun/archive/v2.0.2.tar.gz
2020
)
2121

2222
FetchContent_GetProperties(xcfun_sources)

examples/Fortran_host/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ else()
1212
FetchContent_Declare(xcfun_sources
1313
QUIET
1414
URL
15-
https://github.com/dftlibs/xcfun/archive/v2.0.1.tar.gz
15+
https://github.com/dftlibs/xcfun/archive/v2.0.2.tar.gz
1616
)
1717

1818
FetchContent_GetProperties(xcfun_sources)

src/version_info.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
namespace xcfun {
1818
constexpr auto PROJECT_VERSION_MAJOR = 2;
1919
constexpr auto PROJECT_VERSION_MINOR = 0;
20-
constexpr auto PROJECT_VERSION_PATCH = 0;
20+
constexpr auto PROJECT_VERSION_PATCH = 2;
2121
constexpr auto XCFun_VERSION =
2222
((PROJECT_VERSION_MAJOR << 16) | PROJECT_VERSION_MINOR | PROJECT_VERSION_PATCH);
2323

0 commit comments

Comments
 (0)