Skip to content
This repository was archived by the owner on May 17, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant