Skip to content

Releases: dimagi/commcare-export

1.3.2

19 Jun 19:45
c64a329
Compare
Choose a tag to compare

Fixes bug with markdown output format

1.3.1

04 Jun 11:22
Compare
Choose a tag to compare

Increased the default --batch-size to 200. The previous value of 100 was causing the tool to loop forever if more than 100 objects had the same timestamp (a number also used in CommCare HQ).

1.3.0

03 Jun 12:44
d377788
Compare
Choose a tag to compare

This release includes two significant changes:

  1. The --with-organization flag which provides a simple way to export location data and join it with forms and cases.
  2. Support for a "Data Type" column in excel query files, which allows you to explicitly set the SQL data type of a column. Columns with explicit data types set will also be created immediately, instead of the first time there is data for that property.

1.2.4

19 May 01:48
baf86ce
Compare
Choose a tag to compare

Change the Oracle text column from CLOB to VARCHAR2

1.2.3

17 May 23:27
f88567e
Compare
Choose a tag to compare
  • Support for locations export
  • Support for users export
  • Experimental support for Oracle Databases

1.2.2

17 May 23:26
477d6a8
Compare
Choose a tag to compare

Support for backing off on 429 rate limiting responses

1.2.1

23 Aug 14:16
3c7a0cd
Compare
Choose a tag to compare

Improvements:

#125 improved type checks when using --strict-types

Fixes:

b824fdc Handle type error when using mappings

1.2.0

10 Jul 15:12
Compare
Choose a tag to compare

Upgrade notes
If you are exporting to SQL and using config files with multiple tables (Excel sheets) it is recommended that you do a full re-export of your data to ensure that there is no missing data. You could do this in one of the following ways:

  1. Use the --start-over flag to ignore any existing checkpoints.
  2. Edit the file to change the checkpoint key.
  3. Change the checkpoint key manually using the commcare-export-utils set-checkpoint-key command.

New features
(#123) add sha1 function to allow creating hashes of output values. Mostly useful when exporting nested objects and the jsonpath ID becomes too long for the SQL primary key column.

Improvements / fixes
(#118) Don't set checkpoint to current time. Always use time from batch if available, otherwise don't log a checkpoint.

(#121) Use a separate checkpoint for each table being exported. This impacts any export configurations that have multiple tables configured in one file. Fixes #119

Other Changes

  • improvements to console logging
  • fix deprecation warnings

1.1.1

05 Feb 10:28
c77b4b5
Compare
Choose a tag to compare

(#117) upgrade openpyxl

1.1.0

24 Dec 22:20
9f106c4
Compare
Choose a tag to compare

(#114) For string columns, in MSSQL use NVARCHAR(MAX) and in PostgreSQL use TEXT.