Skip to content

Releases: medic/cht-couch2pg

3.3.0

21 May 21:46
e6ff06b
Compare
Choose a tag to compare

Deprecate old medic-users-meta views and create new ones fixing bugs and making compatible with upcoming daily telemetry.

Issues: #85 , #86 , #87

Changes:

  • [Bug] Change the indexes for both views (telemetry and feedback) based on the columns user_name and period_start, the PR remove the unique constraint to avoid collisions, and instead the uuid of the records are used as unique index to allow concurrent refresh of the views (#86).
  • [Bug] Fix bug that causes records being parsed with months 0-indexed as 1-indexed and vice versa (thanks to @kitsao ) (#87).
  • [Improvement] The column period_start from the telemetry view has the same DATE type, but the day component is parsed from the JSON metadata.day field if present (daily aggregation telemetry from this upcoming CHT feature), otherwise defaulted to 1 as it was before to maintain backward compatibility with monthly aggregation telemetry (#85).

Affected views:

  • Feedback view: useview_feedback
  • Telemetry view: useview_telemetry

3.2.1

10 May 18:16
3fcb98d
Compare
Choose a tag to compare

Fix error "Checksum failed for migration ..." when upgrading from 3.1.0 (#78).

3.2.0

18 Apr 22:24
Compare
Choose a tag to compare

Add ability to replicate medic-users-meta database to PostgreSQL: #54

3.1.0

28 May 04:45
Compare
Choose a tag to compare

Adds a backwards compatible change to support configurable hierarchy.

3.0.2

19 Mar 15:12
1b46d08
Compare
Choose a tag to compare
  • Updates the couch2pg dependency as well as our own pouchdb dependencies to allow for a much smaller package-lock / less dependencies. Importantly this gets rid of the unnecessary compilation of leveldown
  • Adds a missing dependency that exists locally by proxy of dev dependencies, but wasn't declared correctly in the production dependencies, meaning using this package as an executable npm package didn't work

2.2.0

19 Mar 15:08
Compare
Choose a tag to compare
  • Identical to 2.1.0, but with an updated minor so we can get past an incorrectly versioned NPM release

2.1.0

19 Mar 15:04
Compare
Choose a tag to compare
  • Updates the couch2pg dependency as well as our own pouchdb dependencies to allow for a much smaller package-lock / less dependencies. Importantly this gets rid of the unnecessary compilation of leveldown
  • Added a npm binary hook with the same name as 3.x, so it can be run as a cli command more easily