Skip to content

Latest commit

Β 

History

History
241 lines (154 loc) Β· 8.21 KB

HISTORY.md

File metadata and controls

241 lines (154 loc) Β· 8.21 KB

HISTORY

2.2.0 (2022-11-17)

API Support πŸ€–

  • Add support for delete_roles

Package Improvements πŸ’ͺ

  • Add check for missing token and url

Documentation πŸ“

  • Modify instructions for installing pandas (optional package dependency)

2.1.0 (2022-04-05)

API Support πŸ€–

  • Add logging methods (#222)
  • Add user methods (#225)
  • Add DAG methods (#226)
  • Add user role methods (#228)
  • Add new args for export records (#223)

Package Improvements πŸ’ͺ

  • Add docs tests for return format type (#224)

2.0.0 (2022-03-29)

API Support πŸ€–

  • Add support for export_repeating_instruments_events and import_repeating_instruments_events (#210 @JuliaSprenger)

Package Improvements πŸ’ͺ

  • Project class loads lazily by default
  • All Project.export_* methods that return JSON now can return DataFrame's as well
  • Project class was broken up into smaller utility classes, see the redcap.methods module 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 Project attributes were removed. See the API reference for remaining attributes
  • RedcapError is raised for all endpoints when API errors are encountered. Errors are never returned in the response
  • generate_next_record_name now returns a str instead of an int. This fixes a bug that occurs when a project uses DAGs
  • export_fem renamed to export_instrument_event_mapping to 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 as format and type

Documentation πŸ“

  • Revamp documentation to mkdocs-material style on GitHub pages
  • Add comprehensive docstrings and doctests to all methods
  • Update delete_records documentation (#173 @andyjessen)

1.1.3 (2021-03-30)

API Support πŸ€–

  • Add support for import_metadata endpoint (#145 @JuliaSprenger)

Documentation πŸ“

  • Update contributing.rst with new installation instructions (#135 @njvack)

1.1.2 (2020-11-05)

API Support πŸ€–

  • Add support for exportFieldNames call (#125 @chgreer)
  • Add dateRangeBegin and dateRangeEnd parameters to Project.export_records (#124 @chgreer)

Package Improvements πŸ’ͺ

  • Use pytest for full test suite (#132)
  • Enforce black and pylint style and formatting on project (#132)
  • Deprecate support for Python 2 (#132)
  • Add pandas as an extra_requires (#132)

Documentation πŸ“

  • Update README with new community support model and how to contribute (#132)

1.1.1 (2020-08-18)

Bug Fixes πŸ›

  • Fix package version parsing for UNIX (#122 @fissell)

1.1.0 (2020-07-16)

API Support πŸ€–

  • Add rec_type support in import_records() (#40 @dckc)
  • Add export_checkbox_labels keyword arg to export_records() (#48 Tyler Rivera)
  • Properly backfill requested fields for >6.X servers (#55)
  • Add Export Survey Participant List method (#71)
  • Add filter_logic to export_records (#85 @erikh360)
  • Add forceAutoNumber parameter to import_records() (#86 @CarlosBorroto)
  • Add Export Project Information (#106 @martinburchell)
  • Add Generate Next Record Name (#107 @martinburchell)
  • Add repeat_instance parameter to imp_file request (#104 @martinburchell)
  • Add Delete Record (#77 @damonms)
  • Add Export Reports (#91 @mcarmack)

Package Improvements πŸ’ͺ

  • Add redcap_version attribute to Project (#44 Tyler Rivera)
  • Support lazy loading of Projects (#53 Tyler Rivera)
  • Add Python 3 support (#67, #92 @jmillxyz, @fonnesbeck)
  • Remove obsolete Project.filter() (#105 @martinburchell)
  • Change API parameters from comma-separated to arrays (#110 @martinburchell)
  • Use single requests.Session() for connections (#120 @KarthikMasi)

Bug Fixes πŸ›

  • Allow later versions of semantic-version (#108 @martinburchell)
  • Fix package version when installing from GitHub (#113)
  • Handle EmptyData error from pandas read_csv (#118 @martinburchell)

Documentation πŸ“

  • Added REDCap API changelog from 6.0.0 - 6.12.1 (#64 @SlightlyUnorthodox)
  • Python 3 updates (#115 @sujaypatil96)

1.0.2 (2016-10-05)

  • Fix issue in new survey participant export method.

1.0.1 (2016-10-05)

  • Add a Project method to export the survey participant list.
  • Update author email.

1.0 (2014-05-16)

  • Normalize all format argument to default to json, not obj. This better follows the official REDCap API. This breaks backwards compatibility, hence the 1.0 release.
  • Remove the redcap.query and associated tests. If you need filtering functionality, Pandas is highly recommended.
  • Update documentation re: how PyCap implicitly decodes JSON responses.

0.9 (2014-02-27)

  • Update docs about passing CA_BUNDLE through verify_ssl.
  • Canonical URL for docs is now http://pycap.rtfd.org.
  • Add date_format argument for .import_records
  • Sphinxification of docs
  • Add MIT license
  • Add export_survey_fields & export_data_access_groups arguments for .import_records
  • Raise for 5XX responses
  • Raise exception for failed imports
  • Deprecate the entire redcap.Query module. It was a bad idea to begin with.
  • Raise exception during Project instantiation when the metadata call fails. This is usually indicative of bad credentials.

0.8.1 (2013-05-16)

  • By default, in longitudinal projects when exporting records as a data frame, the index will be a MultiIndex of the project's primary field and redcap_event_name.
  • DataFrames can be passed to Project.import_records.
  • Added Project.export_fem to export Form-Event Mappings from the Project.
  • The SSL certificate on REDCap server can be ignored if need be.

0.8.0 (2013-02-14)

  • Added rest of API methods: Project.export_users, Project.delete_file. Almost all API methods are implemented within Project in some way, shape or form.
  • Fix file import bug.
  • Now use relaxed JSON decoding because REDCap doesn't always send strict JSON.
  • File export, import and delete methods will raise redcap.RedcapError when the methods don't succeed on the server.
  • Low-level content handling has been cleaned up.

0.7.0 (2013-01-18)

  • Added Project.export_file and Project.import_file methods for exporting/importing files from/to REDCap databases
  • Fixed a dependency issue that would cause new installations to fail
  • Fixed an issue where newline characters in the project's Data Dictionary would case Projects to fail instantiation.

0.6.1 (2012-11-16)

  • Add ability to alter DataFrame construction with the df_kwargs arg in Project.export_records and .export_metadata

0.6 (2012-11-06)

  • Add export_metadata function on redcap.Project class
  • Add 'df as an option for the format argument on the redcap.Project export methods to return a pandas.DataFrame

0.5.2 (2012-10-12)

  • Update setup.py for more graceful building

0.5.1 (2012-10-04)

  • Fix potential issue when exporting strange characters

0.5 (2012-09-19)

  • Add initial support for longitudinal databases
  • Add helper attributes on redcap.Project class
  • Improve testing
  • Add Travis-CI testing on github

0.4.2 (2012-03-15)

  • 0.4.1 didn't play well with pypi?

0.4.1 (2012-03-15)

  • Defend against non-unicode characters in Redcap Project

0.3.4 (2012-01-12)

  • New documentation

0.3.3 (2011-11-21)

  • Bug fix when exporting all fields

0.3.2 (2011-11-21)

  • Works with current version of requests
  • Under-the-hood changes (only json is used for RCRequest)
  • Bug fix in Project.filter

0.3.1 (2011-11-02)

  • Bug fix in import_records

0.3 (2011-09-27)

  • Using Kenneth Reitz's requests module, greatly simplifying request code.

0.21 (2011-09-14)

  • First public release on PyPI
  • Version bump

0.1 (2011-09-14)

  • Basic import, export, metadata