Releases: medic/cht-couch2pg
Releases · medic/cht-couch2pg
3.3.0
Deprecate old medic-users-meta
views and create new ones fixing bugs and making compatible with upcoming daily telemetry.
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
3.2.0
3.1.0
Adds a backwards compatible change to support configurable hierarchy.
3.0.2
- 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
2.1.0
- 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