Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(deprecation): Add reset methods #2262

Merged
merged 2 commits into from
Jul 8, 2024
Merged

Conversation

julienbourdeau
Copy link
Contributor

Context

Deprecation model helps track some usage in Redis.

Description

Before removing some features, like sending Events without external_subscription_id, we want to ensure that no hosted customer still rely on them.

I'm adding a simple way to reset the reports.

Deprecation.reset_all :feature_name

I'm also improving the CSV export.

@julienbourdeau julienbourdeau self-assigned this Jul 8, 2024
@julienbourdeau julienbourdeau merged commit 6849777 into main Jul 8, 2024
6 checks passed
@julienbourdeau julienbourdeau deleted the feat/reset-deprecations branch July 8, 2024 15:01
abdussamadbello pushed a commit to abdussamadbello/lago-api that referenced this pull request Aug 8, 2024
## Context

`Deprecation` model helps track some usage in Redis.

## Description

Before removing some features, like sending Events without
`external_subscription_id`, we want to ensure that no hosted customer
still rely on them.

I'm adding a simple way to reset the reports.

```ruby
Deprecation.reset_all :feature_name
```

I'm also improving the CSV export.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants