Skip to content

Commit

Permalink
Version 1.3.0
Browse files Browse the repository at this point in the history
* Unfortunately, modern versions of jupyter clients (e.g. notebook)
  queue execution requests at the client (rather than letting the
  kernel do so) breaking the asynchronous execution model in
  IJavascript. Users can make up for the loss of this feature with
  `$$.display(id)`.

* For the above reason, I have disabled the previous behaviour of
  awaiting for promises in execution results. To reenable this
  behaviour see the below options.

* Added option `$$.config.awaitExecution` to enable the previous
  default behaviour of awaiting for promises in execution results.

* Added option `Session(nelConfig.awaitExecution)` with the same
  purpose to help implement the flag `--await-execution` in
  IJavascript.

* Fixed issue n-riesco/ijavascript#230
  that caused the corruption of Jupyter notebooks.
  • Loading branch information
n-riesco committed Feb 23, 2022
1 parent d8279aa commit 036fb42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,18 @@ expressions. See the section on usage for more details.

## Announcements

- `NEL v1.3.0`: API enhancement (added option awaitExecution)
- `NEL v1.2.0`: API enhancement (Session#transpile may return a Promise)
- `NEL v1.1.0`: New API (added $$.clear({wait}))
- `NEL v1.1.0`: API enhancement (added $$.clear({wait}))
- `NEL v1.0.0`: Stable API
- `NEL v0.5.6`: New API (added $$.input() and onRequest callback)
- `NEL v0.5.6`: API enhancement (added $$.input() and onRequest callback)
- `NEL v0.5.5`: Accept Promises as output
- `NEL v0.5.4`: New API (added $$.display() and onDisplay callback)
- `NEL v0.5`: New API (added transpile option)
- `NEL v0.4`: New API (added onStdout and onStderr callbacks)
- `NEL v0.5.4`: API enhancement (added $$.display() and onDisplay callback)
- `NEL v0.5`: API enhancement (added transpile option)
- `NEL v0.4`: API enhancement (added onStdout and onStderr callbacks)
- `NEL v0.3`: New API (simplify API by hiding type module:nel~Task)
- `NEL v0.2`: API change (removed Session#executionCount)
- `NEL v0.1.1`: New experimental `$$mimer$$` and `$$defaultMimer$$`
- `NEL v0.1.1`: API enhancement (experimental `$$mimer$$` and `$$defaultMimer$$`)
- `NEL v0.1`: Output change (changed function output)
- `NEL v0.0`: Initial release

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nel",
"version": "1.2.0",
"version": "1.3.0",
"description": "Node.js Evaluation Loop (NEL): module to run a Node.js REPL session",
"keywords": [
"javascript",
Expand Down

0 comments on commit 036fb42

Please sign in to comment.