Skip to content

fix: issues with disconnecting and completing #59

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

Merged
merged 1 commit into from
Aug 28, 2021

Conversation

reconbot
Copy link
Owner

@reconbot reconbot commented Aug 28, 2021

Part of the DDB refactor messed up which keys we needed to remove a record. Upon investigation we had a "topic" as a range key because we used to allow multiple topics per subscription. I'm pulling that out for the time being.

  • add more logging and fixup the logging function's input
  • Better DDB logging
  • The logger function now always gets the object, the type change is additive so it's not a breaking change (I kind of want to move pino for logging and add a concept of log level)
  • DDB can now support range keys even though we don't use them

BREAKING CHANGE: The subscriptions Table has has its range key removed. This will require a migration.

Part of the DDB refactor messed up which keys we needed to remove a record. Upon investigation we had a "topic" as a range key because we used to allow multiple topics per subscription. I'm pulling that out for the time being.

- add more logging and fixup the logging function's input
- Better DDB logging
- The logger function now always gets the object, the type change is additive so it's not a breaking change (I kind of want to move pino for logging and add a concept of log level)
- DDB can now support range keys even though we don't use them

BREAKING CHANGE: The subscriptions Table has has its range key removed. This will require a migration.
@reconbot reconbot force-pushed the reconbot/better-logging branch from 8c30464 to 0499922 Compare August 28, 2021 20:59
@reconbot reconbot changed the title feat: add more logging and fixup the logging function's input fix: issues with disconnecting and completing Aug 28, 2021
@reconbot reconbot merged commit 204c4bc into master Aug 28, 2021
@reconbot reconbot deleted the reconbot/better-logging branch August 28, 2021 21:02
@github-actions
Copy link

🎉 This PR is included in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant