-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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: add logger module to the SDK #7267
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦋 Changeset detectedLatest commit: 95b9c1c The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
dawid-ziobro
commented
Oct 4, 2024
bartoszherba
reviewed
Oct 4, 2024
bartoszherba
force-pushed
the
feat/logger
branch
from
October 7, 2024 11:19
aaed819
to
9f5089d
Compare
bartoszherba
reviewed
Oct 7, 2024
bartoszherba
requested changes
Oct 7, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not forget to add changeset!
bartoszherba
approved these changes
Oct 7, 2024
bartoszherba
added a commit
that referenced
this pull request
Nov 7, 2024
* feat: logger 1.0.0-rc0 * chore: add changeset * ci: release (rc) (#7266) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: logger rc.1 * ci: release (rc) (#7268) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: logger 1.0.0-rc.2 * ci: release (rc) (#7272) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add logger module to the SDK (#7267) * ci: release (rc) (#7273) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: logger rc.3 * feat: rc.3 * ci: release (rc) (#7277) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: middleware logger (#7269) * feat: injecting logger and metadata * feat: injecting logger in hooks, onCreate, init fn, removed consola * refactor: tidying, adding and adjusting tests * refactor: applied CR tips * chore: fix sdk test * refactor: implemented CR suggestions --------- Co-authored-by: Bartosz Herba <bartoszherba@gmail.com> * ci: release (rc) (#7278) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add "class-methods-use-this": "off" rule (#7274) * ci: release (#7275) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * CLOUD-3578 Improve Kubernetes Probes docs (#7264) * CLOUD-3578 Improve readiness probe docs * Update docs/content/3.middleware/2.guides/9.kubernetes-probes.md Co-authored-by: Matt Maribojoc <mmaribojoc@vuestorefront.io> * Add changes from Kuba --------- Co-authored-by: Matt Maribojoc <mmaribojoc@vuestorefront.io> * IN-3956 - Middleware extension docs is missing isNamespaced in the example code (#7271) Co-authored-by: krystian wlodarski <kwlodarski@vuestorefront.io> * feat: sdk logger wrapper (#7276) * chore: update changeset * ci: release (rc) (#7279) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: add CR fixes * feat: middleware logger better logger scopes (#7281) * fix: moved global logger error to non overwritable part of code * chore: snapshot of done work * refactor: MethodDecoratorManager * refactor: reduced usage of singleton to support parallel calls of fns * fix: infinite loop constraint on types * Revert "fix: infinite loop constraint on types" This reverts commit 01904e3. * chore: bumped ts jest, and jest * fix: test * ci: release (rc) (#7284) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * docs: working with logger (#7285) * fix: merging logger configs (#7286) * docs(tfal-56): next/nuxt logger implementation (#7282) * docs: update next/nuxt docs (#7290) * chore: export types from logger module (#7292) * ci: release (rc) (#7293) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: logger middleware error boundary (#7291) * feat: error boundary * refactor: refactor * feat: use appropriate verbosity levels specifically in the browser environment (#7296) * ci: release (rc) (#7297) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: remove logger module (#7298) * feat: block overwriting alokai metadata (#7300) * feat: block overwriting alokai metadata * refactor: outsourced deep merging of obj's to lodash.merge * feat: guard to prevent overwriting alokai key in metadata obj * fix: tests * Update packages/middleware/src/logger/injectMetadata.ts Co-authored-by: Bartosz Herba <bherba@vuestorefront.io> --------- Co-authored-by: Bartosz Herba <bherba@vuestorefront.io> * ci: release (rc) (#7303) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: replace console with alokai logger in the middleware module (#7299) * feat: change log level to verbosity (#7306) * ci: release (rc) (#7307) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Bartosz Herba <bartoszherba@gmail.com> * docs(tfal-89,tfal-83): update logger docs for current solution (#7308) * docs(tfal-89,tfal-83): update logger docs for current solution * docs: fix * docs: alokai metadata (#7305) * docs: block overriding alokai key in provided metadata * Apply suggestions from code review Co-authored-by: daaf <44862757+dawid-ziobro@users.noreply.github.com> * Apply suggestions from code review --------- Co-authored-by: daaf <44862757+dawid-ziobro@users.noreply.github.com> Co-authored-by: Bartosz Herba <bherba@vuestorefront.io> * chore: remove custom handler docs * chore: exit pre mode * feat: update logger exports and docs * chore: update docs after cr * docs: fix sdk docs * feat: change log structured interface parameters * Apply suggestions from code review - missing type annotation Co-authored-by: daaf <44862757+dawid-ziobro@users.noreply.github.com> * chore: update node env for logger unit tests --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: daaf <44862757+dawid-ziobro@users.noreply.github.com> Co-authored-by: Filip Jędrasik <filip.jdrasik@gmail.com> Co-authored-by: Artur <5359825+sethidden@users.noreply.github.com> Co-authored-by: Matt Maribojoc <mmaribojoc@vuestorefront.io> Co-authored-by: Krystian Wlodarski <kryswlo95@gmail.com> Co-authored-by: krystian wlodarski <kwlodarski@vuestorefront.io> Co-authored-by: Dawid Ziobro <dziobro@vuestorefront.io>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR is adding a logger module to the SDK. Then it will be used within
@vue-storefront/next
and@vue-storefront/nuxt
packages.