Skip to content

Commit

Permalink
changelog and version for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
tomweber-sas committed Jun 14, 2024
1 parent 17c4179 commit 64f3940
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 9 deletions.
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,33 @@



## [5.14.0] - 2024-06-14

### Added

- `None` Nothing added

### Changed

- `Enhancement` Per a user request (see issue #603 for details), in the HTTP and IOM access methods, there is
now a new boolean parameter `loglines` on the submit() method which changes how the LOG is returned. Of course the
default is Fslse to preserve current behavior. The user wanted a list of dictionaries for each line of the log, which
is returned from both the HTTP and IOM API's. The dictionaries have the `line`, which has the LOG contents for that
line, and the `type` which contains identifiers like NOTE, WARRNING, ERROR, TITLE, SOURCE ... See the Issue for
details of what to output is like for each of the access methods, as the API's don't return identical information.
The STDIO (SSH) access method can't return this as there is no API for that.


### Fixed

- `None` Nothing fixed

### Removed

- `None` Nothing removed



## [5.13.0] - 2024-05-16

### Added
Expand Down
17 changes: 9 additions & 8 deletions saspy/sasbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -877,11 +877,11 @@ def submit(self, code: str, results: str = '', prompt: dict = None, printto=Fals
'''
This method is used to submit any SAS code. It returns the Log and Listing as a python dictionary.
:param code: the SAS statements you want to execute
:param results: format of results. 'HTML' by default, alternatively 'TEXT'
:param prompt: dict of names and flags to prompt for; create macro variables (used in submitted code), then keep or delete \
the keys which are the names of the macro variables. The boolean flag is to either hide what you type and \
delete the macros, or show what you type and keep the macros (they will still be available later).
:param code: the SAS statements you want to execute
:param results: format of results. 'HTML' by default, alternatively 'TEXT'
:param prompt: dict of names and flags to prompt for; create macro variables (used in submitted code), then keep or delete \
the keys which are the names of the macro variables. The boolean flag is to either hide what you type and \
delete the macros, or show what you type and keep the macros (they will still be available later).
for example (what you type for pw will not be displayed, user and dsname will):
Expand All @@ -895,9 +895,10 @@ def submit(self, code: str, results: str = '', prompt: dict = None, printto=Fals
prompt = {'user': False, 'pw': True, 'dsname': False}
)
:param printto: this option, when set to True, will cause saspy to issue a 'proc printto;run;' after the code that is being \
submitted. This will 'undo' any proc printto w/in the submitted code that redirected the LOG or LST, to return \
the LOG/LST back to saspy. This is explained in more detail in the doc: https://sassoftware.github.io/saspy/limitations.html
:param printto: this option, when set to True, will cause saspy to issue a 'proc printto;run;' after the code that is being \
submitted. This will 'undo' any proc printto w/in the submitted code that redirected the LOG or LST, to return \
the LOG/LST back to saspy. This is explained in more detail in the doc: https://sassoftware.github.io/saspy/limitations.html
:param loglines: boolean identifying you want the list of dicts for each line that can be returned from the HTTP and IOM APIs
**HTTP**
Expand Down
2 changes: 1 addition & 1 deletion saspy/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '5.13.0'
__version__ = '5.14.0'

0 comments on commit 64f3940

Please sign in to comment.