Releases: redcap-tools/PyCap
Releases · redcap-tools/PyCap
2.7.0
What's Changed
- ⬆️ Test on newer python versions by @pwildenhain in #291
- Add file repo api by @pwildenhain in #297
- Implement "export_survey_link" in module Surveys by @eingemaischt in #296
- Add remaining Survey API methods by @pwildenhain in #298
- Add args to delete records by @pwildenhain in #300
New Contributors
- @eingemaischt made their first contribution in #296
Full Changelog: 2.6.0...2.7.0
2.6.0
2.5.0
What's Changed
- coerce field and form arguments in export_records() by @ugGit in #269
- Keep default values in df_kwargs when calling load_data() by @ugGit in #270
- Add Arm and Event API by @patking02 in #278
New Contributors
- @patking02 made their first contribution in #278 🙇🏻♂️
Full Changelog: 2.4.0...2.5.0
2.4.0
What's Changed
- Capitalization by @wibeasley in #256
- Add
request_kwargsto be passed during API requests by @ugGit in #251 - Add
mypyby @pwildenhain in #258
New Contributors
- @wibeasley made their first contribution in #256
- @ugGit made their first contribution in #251
Full Changelog: 2.3.0...2.4.0
2.3.0
What's Changed
- Backfill fields for all records export requests by @pwildenhain in #247
- ⬆️ Bump certifi by @pwildenhain in #250
- Only return complete fields for requested forms by @pwildenhain in #253
Full Changelog: 2.2.0...2.3.0
2.2.0
What's Changed
- Add check for missing token and url (#238)
- Update docs for pandas optional dependency (#239)
- Add delete roles method (#243)
Full Changelog: 2.1.0...2.2.0
2.1.0
2.0.0
2.0.0 (2022-03-29)
API Support 🤖
- Add support for
export_repeating_instruments_eventsandimport_repeating_instruments_events(#210 @JuliaSprenger)
Package Improvements 💪
Projectclass loads lazily by default- All
Project.export_*methods that return JSON now can returnDataFrame's as well Projectclass was broken up into smaller utility classes, see theredcap.methodsmodule or the API reference on the new docs site- Robust testing infrastructure (
pytest,doctest-plus) with both unit and integration tests, maintained at 100% test coverage, with automated styling and linting checks in CI (black,pylint) - Gradual typing added, but not yet enforced in CI
- Add _complete fields to payload when requesting survey fields (#149 @forsakendaemon)
Breaking changes 💥
- Dropped support for Python 2, requires python 3.8 or above
- Many extraneous
Projectattributes were removed. See the API reference for remaining attributes RedcapErroris raised for all endpoints when API errors are encountered. Errors are never returned in the responsegenerate_next_record_namenow returns astrinstead of anint. This fixes a bug that occurs when a project uses DAGsexport_femrenamed toexport_instrument_event_mappingto be more consistent with other endpoints- Common parameter name changes including:
format-->format_type,return_format-->return_format_type,type-->record_type. Most of the reason for this change was to avoid the use of reserved keywords such asformatandtype
Documentation 📝
- Revamp documentation to
mkdocs-materialstyle on GitHub pages - Add comprehensive docstrings and doctests to all methods
- Update
delete_recordsdocumentation (#173 @andyjessen)
Version 1.1.3
Version 1.1.2
API Support
- Add support for
exportFieldNamescall (#125 @chgreer) - Add
dateRangeBeginanddateRangeEndparameters toProject.export_records(#124 @chgreer)
Package Improvements
- Use
pytestfor full test suite (#132) - Enforce
blackandpylintstyle and formatting on project (#132) - Deprecate support for Python 2 (#132)
- Add
pandasas anextra_requires(#132)
Documentation
- Update README with new community support model and how to contribute (#132)