Reflekt

Latest version: v0.6.0

Safety actively analyzes 624049 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 4

0.6.0

Breaking
- Only support python versions `>=3.9,<3.12`.

Added
- Add support for event data stored in BigQuery.
- Add required `--registry` option to `reflekt push` and `reflekt pull` commands, specifying a schema registry defined in `reflekt_profiles.yml`.
- Add `--artifact` option to `reflekt build` command, specifying the type of artifact to build (e.g. `dbt`).

Fixed
- CLI `--help` documentation.
- Updated `README.md` docs to reflect changes in this release.
- Remove `jaffle_shop_sessions.py`, this now lives in [reflekt-jaffle-shop](https://github.com/GClunies/reflekt-jaffle-shop)
- Fix `reflekt push/pull` bug that fails when `--select`ing a single schema.
- Fix `reflekt report` bug that labeled all properties as required, even if they were not in the schema.

0.5.0

Breaking
- Only support python versions `>=3.9,<3.13`. Support for python `3.8` is DEPRECATED.

Added
- Add [jaffle_shop_sessions.py](scripts/jaffle_shop/jaffle_shop_sessions.py) script to create example events and user [session data](data/jaffle_shop_sessions.csv).

Fixed
- [99](https://github.com/GClunies/Reflekt/issues/99) which caused an error when pulling events without an event description from Segment protocols.

0.4.0

Added
- `reflekt report` CLI command - create a Markdown formatted report of an event schema. Output to `stdout` or `.md` in same directory as the `.json` file.
- Add common `get_schema_paths()` to `cli.py` so that it can be used by all CLI commands that `--select` schemas.
- Update example schemas in `schemas/segment/ecommerce/`

Fixed
Use `from __future__ import annotations` so that `from typing import List, Dict, Tuple` is not required in python 3.8.

0.3.17

Fixed
- Handle case where schema author specifies `id` in schema. This is transformed by Segment to `_id` when loading the table in the warehouse. Reflekt now knows to look for a `_id` column when parsing the source table.

0.3.16

Fixed
- Bug in `segment.py` that would caused error when trying to push a single schema to Segment schema registry.

0.3.15

Added
- `reflekt lint` checks for properties that do not have a `type` defined.

Page 1 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.