Added
- Tests can be run using `tox`.
- Schemas used internally by Reflekt are stored in `schemas/.reflekt/` of a Reflekt project.
- Improved validation of `reflekt_project.yml` and `reflekt_profiles.yml` configuration files using JSON Schema.
- Added `metrics` property to event schemas template in prep for dbt metrics support.
- Simplified docs by moving to [README.md](https://github.com/GClunies/Reflekt/blob/main/README.md)
- Added this CHANGELOG.
Changed
- Use [JSON Schema](https://json-schema.org/) instead of YAML to define event schemas.
- JSON Schema a standard format that is widely used and supported. Better for future integrations.
- Makes Reflekt code simpler and faster (no converting YAML to JSON behind the scenes).
- Event schemas are now stored in a `schemas/` directory. Previously `tracking-plans/` (schemas may support use cases outside product analytics in the future).
- Required metadata for event schemas is configured in the `schemas/.reflekt/event-meta/1-0.json` meta-schema.
- Replaced `reflekt dbt` with `reflekt build` in prep to support building other data artifact types.
- dbt packages are now built in the `artifacts/dbt/` directory. Previously `dbt-packages/`.
- dbt packages only template staging models as views. Previously, staging models could be incremental, but this was overly complex with little benefit.
- CI suite upgrades.