Releases: LerianStudio/lib-commons
Releases · LerianStudio/lib-commons
v4.1.0-beta.9
fix(otel): normalize endpoint URL and infer insecure mode from scheme…
v4.1.0-beta.8
Merge pull request #361 from LerianStudio/fix/mongo-authsource-default fix(mongo): default authSource=admin when database is in URI path
v4.1.0-beta.7
Merge pull request #356 from LerianStudio/fix/remove-upstream-auth-as…
v4.1.0-beta.6
Merge pull request #354 from LerianStudio/feat/api-versioning-v1 feat(client): add /v1/ prefix + rename settings to connections (#111)
v4.1.0-beta.5
Merge pull request #352 from LerianStudio/refactor/rename-settings-to…
v4.1.0-beta.4
refactor(http): use strings.Cut for URL sanitization Replaces the usage of `strings.IndexByte` with the more idiomatic Go function `strings.Cut`. This function is specifically designed to split a string into two parts based on a separator, making the code for redacting URL query parameters clearer and more expressive. fix(test): remove parallel execution to fix flaky telemetry tests The telemetry tests in `withTelemetry_test.go` modify shared global state related to the metrics collector. Running them with `t.Parallel()` created a race condition, leading to intermittent test failures. Removing `t.Parallel()` forces these tests to run sequentially, eliminating the race condition and stabilizing the test suite. A short sleep was also added to the reset function to ensure the collector has sufficient time to shut down before the next test starts. style(test): align struct field values in multi tenant test Adjusts code formatting in `multi_tenant_test.go` for better readability by aligning the values in a struct literal. This is a purely cosmetic change with no functional impact.
v4.1.0-beta.3
test(http): replace discarded close errors with require.NoError and a…
v4.1.0-beta.2
Merge pull request #348 from LerianStudio/fix/require-service-api-key fix(tenant-manager): reject empty service API key at client construction
v4.1.0-beta.1
Merge pull request #347 from LerianStudio/feat/service-api-key-auth feat(client): add X-API-Key header support for service authentication
v4.0.0
What's Changed
- Feature/multi tenant by @jeffersonrodrigues92 in #309
- chore: migrate module path from v2 to v3 by @jeffersonrodrigues92 in #314
- fix(http): prevent logging middleware from materializing SSE stream body by @jeffersonrodrigues92 in #315
- feat(postgres): add periodic connection pool settings revalidation by @jeffersonrodrigues92 in #316
- feat(tenant-manager): add GetObjectStorageKeyForTenant for S3 tenant … by @jeffersonrodrigues92 in #322
- refactor(tenant-manager): reorganize into sub-packages by component by @jeffersonrodrigues92 in #323
- feat(tenant-manager): evict cached connections when tenant service is… by @jeffersonrodrigues92 in #324
- feat(secretsmanager): add M2M credentials retrieval package by @jeffersonrodrigues92 in #325
- Feature/secretsmanager m2m credentials by @jeffersonrodrigues92 in #326
- refactor(tenant-manager): rename resolution functions to generic Reso… by @jeffersonrodrigues92 in #327
- feat(tenant-manager): enforce tenant context in multi-tenant Resolve … by @jeffersonrodrigues92 in #328
- feat(tenant-manager): add module-scoped MongoDB context by @jeffersonrodrigues92 in #330
- fix(rabbitmq): include tenantID in error logs by @jeffersonrodrigues92 in #331
- fix(consumer): clean up sync.Map entries on tenant removal by @jeffersonrodrigues92 in #332
- fix(consumer): evict tenant on not-found during revalidation by @jeffersonrodrigues92 in #333
- feat(client): add in-memory config cache with TTL by @jeffersonrodrigues92 in #334
- fix(middleware): add granular error handling to TenantMiddleware by @jeffersonrodrigues92 in #335
- feat: unify lib-uncommons baseline into lib-commons v4 by @fredcamaral in #336
- fix(consumer): add eager start mode and fix silent logger in MultiTenantConsumer by @gandalf-at-lerian in #343
New Contributors
- @gandalf-at-lerian made their first contribution in #343
Full Changelog: v2.9.1...v4.0.0