-
Notifications
You must be signed in to change notification settings - Fork 223
feat: add format #316
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
feat: add format #316
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "semi": true, | ||
| "singleQuote": true, | ||
| "tabWidth": 2 | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,53 +1,74 @@ | ||
| ## [5.0.0] - 2023-02-10 | ||
|
|
||
| ### BREAKING CHANGES | ||
|
|
||
| - run and runString now return a promise instead of a using a callback. | ||
| - You will need to 1) check the return value, 2) remove the callback argument, and 3) change to a promise | ||
| - see readme for usage examples | ||
|
|
||
| ### Other notes | ||
|
|
||
| - I confirmed that python-shell works with python 3.11 and node v18. | ||
|
|
||
| ## [4.0.0] - 2023-02-10 | ||
|
|
||
| ### Changed | ||
|
|
||
| - run and runString now return a promise instead of a using a callback. | ||
| - This is somewhat backwards compatible with previous behavior | ||
|
|
||
| ## [3.0.1] - 2021-10-09 | ||
|
|
||
| ### Fixed | ||
|
|
||
| - Previously when you called the kill method the terminated attribute was always set to true, regardless of whether the process was actually killed. Now the terminated boolean is set to true if kill succeeds, false otherwise. [#255](https://github.com/extrabacon/python-shell/issues/255) | ||
|
|
||
| ## [3.0.0] - 2021-03-07 | ||
|
|
||
| ### Changed | ||
|
|
||
| - **BREAKING** Default python path changed back to `python` on Windows. [#237](https://github.com/extrabacon/python-shell/issues/237) | ||
| - **BREAKING** `error` event renamed to `pythonError` event. [#118](https://github.com/extrabacon/python-shell/issues/118) | ||
| - **BREAKING** `receive` methods removed in favor of `splitter` arguments in the constructor. This lets the default splitting logic reside in a reuseable stream transformer. Now if you have extra pipes you can reuse `newlineTransformer` to split incoming data into newline-seperated lines. | ||
|
|
||
| ### Added | ||
|
|
||
| - `error` event that is fired upon failure to launch process, among other things. [#118](https://github.com/extrabacon/python-shell/issues/118) | ||
|
|
||
| ## [1.0.8] | ||
|
|
||
| ### Fixed | ||
|
|
||
| - @joaoe fixed a bug with pythonshell not working with unset std streams | ||
| - https://github.com/extrabacon/python-shell/milestone/9 | ||
|
|
||
| ## [1.0.7] | ||
|
|
||
| ### Changed | ||
|
|
||
| - default python path updated to py on windows | ||
|
|
||
| ## [1.0.4] | ||
|
|
||
| ### Added | ||
|
|
||
| - added getVersionSync | ||
|
|
||
| ## [0.0.3] | ||
|
|
||
| ### Fixed | ||
|
|
||
| - fixed buffering in `PythonShell.receive`, fixing [#1](https://github.com/extrabacon/python-shell/issues/1) | ||
|
|
||
| ## [0.0.2] | ||
|
|
||
| ### Changed | ||
|
|
||
| - improved documentation | ||
|
|
||
| ## [0.0.1] | ||
|
|
||
| ### Added | ||
|
|
||
| - initial version | ||
| - independent module moved from [extrabacon/pyspreadsheet](https://github.com/extrabacon/pyspreadsheet) | ||
|
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.