Skip to content

Commit

Permalink
Release 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed May 27, 2024
1 parent 0fb8184 commit 26f26e6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,13 @@ http://xeus.readthedocs.io/

The easiest way to get started with a new kernel is to inherit from the base interpreter class `xeus::xinterpreter` and implement the private virtual methods:

- `configure_impl`
- `execute_request_impl`
- `complete_request_impl`
- `inspect_request_impl`
- `is_complete_request_impl`
- `kernel_info_request_impl`
- `shutdown_request_impl`

as seen in the [documentation](http://xeus.readthedocs.io/).

Expand All @@ -64,8 +67,7 @@ namespace custom

void configure_impl() override;

void execute_request_impl(xrequest_context request_context,
send_reply_callback cb,
void execute_request_impl(send_reply_callback cb,
int execution_counter,
const std::string& code,
execute_request_config config,
Expand All @@ -91,7 +93,14 @@ Kernel authors can then rebind to the native APIs of the interpreter that is bei

## Building from Source

`xeus` depends on the following libraries: [`nlohmann_json`](https://github.com/nlohmann/json) and [`xtl`](https://github.com/xtensor-stack/xtl).
`xeus` depends on [`nlohmann_json`](https://github.com/nlohmann/json).

| xeus | nlohmann json |
|---------|---------------|
| master | ^3.11.0 |
| 5.x | ^3.11.0 |

Versions prior to version 5 depend on the following libraries: [`nlohmann_json`](https://github.com/nlohmann/json) and [`xtl`](https://github.com/xtensor-stack/xtl).

| xeus | xtl | nlohmann json |
|---------|----------------|---------------|
Expand Down
8 changes: 4 additions & 4 deletions include/xeus/xeus.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
#endif

// Project version
#define XEUS_VERSION_MAJOR 4
#define XEUS_VERSION_MAJOR 5
#define XEUS_VERSION_MINOR 0
#define XEUS_VERSION_PATCH 3
#define XEUS_VERSION_PATCH 0

// Binary version
// See the following URL for explanations about the binary versionning
// https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html#Updating-version-info
#define XEUS_BINARY_CURRENT 10
#define XEUS_BINARY_REVISION 3
#define XEUS_BINARY_CURRENT 11
#define XEUS_BINARY_REVISION 0
#define XEUS_BINARY_AGE 0

// Kernel protocol version
Expand Down

0 comments on commit 26f26e6

Please sign in to comment.