Added
- Add CLI command "sql" for command line SQL query execution. (319)
- Add helper function (run_template) to run a template given its id and return
either the JSON output or the associated file ids. (318)
- Add helper function to list CivisML models. (314)
- Added helper functions to share CivisML models with users or groups,
patterned after the existing API sharing endpoints. (315)
- Allow the base URL of the CLI to be configured through the
`CIVIS_API_ENDPOINT` environment variable, like the civis Python module. (312)
- Allow the CLI log level to be configured with the `CIVIS_LOG_LEVEL`
environment variable with the standard `logging` module levels.
For example: `CIVIS_LOG_LEVEL=DEBUG civis users list-me` (312)
- Allow users to access `civis.utils.run_job` after an `import civis`. (305)
- `civis.io.dataframe_to_file` and `civis.io.json_to_file` convenience functions.
(262, 304)
- Add the user's Python version to the User-Agent string. (255, 301)
- Added a `last_response` parameter to the `APIClient` object. (153, 302)
- The deprecate_param decorator can take multiple parameter names, to allow
Python 2.7 compatibility for multiple deprecations. (311)
Fixed
- Added missing docs for `json_to_file` and `dataframe_to_file` (320).
- Fix unintentional dependency on scikit-learn for `parallel` module tests. (245, 303)
- Deprecate the `headers` parameter of `dataframe_to_civis` and always tell Civis
whether the import has headers or not, rather than autodetecting. (263, 307)
- Set `cloudpickle` requirements to <1.2 on Python v3.4. (309)
- Fixed an issue in the CLI which prevented users from accessing GET /aliases/{id}
and simultaneously generated a warning message. (298, 316)
Changed
- Loosened version requirements of `pyyaml` to include `pyyaml<=5.99`. (293)
- Loosened version requirement of `jsonref` to include `0.2` to fix a
DeprecationWarning under Python 3.7. (295)
- Changed pubnub version requirement in requirements.txt to match setup.py
(295)
- Loosened version requirements of `click` to include v7 and `jsonschema`
to include v3. (286, 300)
- Surfaced `civis.io.split_schema_tablename` in the Sphinx docs. (294)
- Loosen `joblib` version requirement to include v0.13 and add code to
the Civis joblib backend which newer versions of `joblib` can take
advantage of. Also loosened version requirement on `cloudpickle` to
include v1. (296, 299)
- Run all tests in Ubuntu Xenial. (310)