Skip to content

Releases: dimagi/commcare-export

1.0.2

11 Oct 12:14
661eb24
Compare
Choose a tag to compare

(#108) catch all parsing errors from jsonpath

1.0.1

08 Oct 11:15
bd884b1
Compare
Choose a tag to compare

Maintenance release:

(#106) Correctly handle unicode characters in headings when writing data to CSV

1.0.0

04 Sep 13:07
Compare
Choose a tag to compare

(#85) Improve performance when exporting multiple tables from the same datasource e.g. form + repeats

  • Instead of fetching the same data for each table only fetch the data once and have each table process it directly

(#97) Allow specifying alternate source field names

  • Each source field is considered in order and the first one to appear in the data (even if it has an empty value) will be used.
  • Additional columns may be created for specifying alternate field names. There are two options that may be used:
    • Alternate fields listed as CSV
      • Column title: "Alternate Source Fields"
      • Column contents: A list of comma-separated field names to look for
    • Alternate fields listed in individual columns
      • One column added for each alternate field name
      • Columns named "Alternate Source Field [N]" (N is a number)

(#99) Allow specifying a checkpoint key via the command line to prevent having to re-start export after editing the query file

  • This allows users to make changes to the query file without having to re-export existing data.
  • This change also includes a new tool for interrogating the checkpoint data and for converting non-keyed checkpoints to keyed checkpoints. See commcare-export-utils --help.

(#98) Don't reuse checkpoints when querying different sources
(#105) Handle errors encountered when fetching data and retry with backoff
(#101) Unwrap 'object' values from CommCare HQ if possible
(#104) Prevent usage of --since and --until from affecting checkpoints
(#92) Quote special characters in source field names
(#91) Allow specifying the SQL table name in the query sheet in addition to the sheet name to get around the limitations on sheet name length

0.22.3

12 Jul 14:05
Compare
Choose a tag to compare
  • fix pagination bug for forms with multiple sorting

0.22.1

02 Jul 07:54
5817b99
Compare
Choose a tag to compare
  • Fix bug in checkpointing when exporting to SQL

0.22.0

31 May 13:43
368936e
Compare
Choose a tag to compare
  • Validate field length when exporting to SQL and restrict to database maximums:
    • 63 chars for PostgreSQL
    • 64 chars for MySQL
    • 128 chars for MSSQL

0.21.3

30 May 15:23
Compare
Choose a tag to compare
  • Prevent logging configuration from being overridden by migration framework

0.21.2

17 May 09:08
20d76c8
Compare
Choose a tag to compare
  • Fix packaging issue causing migrations not to be installed

0.21.1

15 May 12:11
Compare
Choose a tag to compare

[broken package]

  • Fix missing version file in 0.21.0 release
  • Fix str2num for blank fields

0.21.0

08 May 07:49
Compare
Choose a tag to compare

[broken package]

Official support for MS SQL Server using pyodbc