Skip to content

Latest commit

 

History

History
573 lines (302 loc) · 29 KB

CHANGELOG.md

File metadata and controls

573 lines (302 loc) · 29 KB

1.40.0 (2024-11-22)

Features

  • Add ability to set DB to SQS subscriber context (a12605e)

1.39.0 (2024-11-11)

Features

  • PubSub: Add go-kit SQS transport functions (a9f9f67)
  • PubSub: Add SQS configuration (0afe635)
  • PubSub: Add SQS PubSub wrappers (fda81ed)
  • Upgrade aws-sdk-go-v2 to latest version (367889a)

1.38.0 (2024-08-22)

Bug Fixes

Features

  • Upgrade goimports and delve to the latest (251ae41)
  • Upgrade to golang version 1.23.0 (8a1c724)

1.37.0 (2024-07-26)

Features

  • Introduce statsig package from SDK along with config (a4fe3ae)

1.36.2 (2024-07-10)

Bug Fixes

  • Register txdb driver using the sqltrace library (ef19bc3)
  • Remove ambiguous credentials configuration from the AWS root configuration (a8155ab)

1.36.1 (2024-07-03)

Bug Fixes

  • aws: Fix AWS services initialization (6242d3b)

1.36.0 (2024-07-02)

Features

  • Add MySQL driver tracing (fc38460)
  • Upgrade franz-go to v1.17.0 (02cc344)

1.35.0 (2024-06-20)

Features

  • Add sentry recovery to kafka consumer (208a634)

1.34.0 (2024-06-19)

Features

  • Add recovery middleware for GRPC server (42c0254)

1.33.0 (2024-06-14)

Features

  • Replacing custom database ddtrace with dd-trace-go library (47a2e39)

1.32.0 (2024-06-13)

Features

  • Add API to create AWS services based on the Go SDK configuration (f237347)
  • Add configuration for AWS services (326ebb5)
  • Expose AWS configuration via the main configuration entry point (de0e023)

1.31.0 (2024-04-24)

Features

  • Create instrumented AWS v2 client (d74b563)
  • Use AWS version 2 to get the AWS credentials for AWS MSK (a8aebc8)

1.30.0 (2024-04-23)

Features

  • Configure redis cache (b2d9376)
  • Create instrumented redis client (ca9c96e)
  • Propagate cache configration to the root data type (07f0a59)
  • Upgrade dd-trace-go and dependant libraries (5130deb)

1.29.0 (2024-04-17)

Features

  • Add go-kit Kafka transport (5afd272)
  • Add PubSub Kafka client (eba9a3f)

1.28.0 (2024-04-08)

Features

  • Update go directive in go.mod to 1.22 (4f0bf88)

1.27.0 (2024-02-08)

Features

  • Upgrade google/uuid to v1.6.0 (981427e)
  • Upgrafe mage to v1.15.0 (735df53)

1.26.0 (2024-01-16)

Features

  • Upgrade grpc to v1.60.1 (bdda913)

1.25.0 (2023-09-18)

Features

  • Update go directive in go.mod to 1.21 (1014230)

1.24.0 (2023-08-23)

Features

  • Add new database connection settings (f7694fa)

1.23.0 (2023-07-11)

Features

1.22.0 (2023-06-16)

Bug Fixes

  • docker: Install required dependencies (53ea80c)
  • docker: Use alpine base image (1f9a1f4)
  • Upgrade golang image to 1.19.9 (75a8289)

Features

  • ci: Upgrade build-push-action to v3 (e1beb31)
  • ci: Upgrade cache to v3 (fa3d6e0)
  • ci: Upgrade checkout to v3 (e501d45)
  • ci: Upgrade commit-message-checker to v2 (ec79084)
  • ci: Upgrade configure-aws-credentials to v2 (cd8cdf6)
  • ci: Upgrade job-notification to v1.1.0 (7a2f540)
  • ci: Upgrade setup-buildx-action to v2 (121b340)
  • ci: Use job-notification action for release notification (cc8e269)

1.21.0 (2023-03-02)

Features

  • Add instrumentation wrapper for kgo.FetchPartition data type (747dbb0)
  • Configure Kafka subscriber rebalance strategy (7a05db0)
  • Configure max_records for Kafka subscriber (36d6e73)
  • Configure number of workers for Kafka consumers (25af545)
  • Upgrade franz-go to v1.12.1 (c5a551e)

1.20.1 (2023-02-22)

Bug Fixes

  • Fix passing data using context in gorm (d8fc5bd)

1.20.0 (2023-02-17)

Features

  • Gorm logger only logs on trace (19d6969)
  • Update gorm to v2 and replace it's drivers (8352f54)

1.19.0 (2023-02-16)

Features

  • Configure auto commit for PubSub (82c6315)

1.18.0 (2023-02-06)

Features

1.17.1 (2023-01-06)

Bug Fixes

  • Finish remaining spans on Fetches iterable Done (ca0a35b)

1.17.0 (2022-08-08)

Features

  • Set module go version to 1.18 (6625ccd)
  • Upgrade go version to 1.18.5 in Dockerfile (1ab8b17)
  • Upgrade golangci-lint to v1.47.3 (c6ffdd4)

1.16.1 (2022-08-03)

Bug Fixes

1.15.4 (2022-07-28)

Bug Fixes

1.15.0 (2022-07-06)

Features

  • Pass down service version to the DataDog (fbe0f6c)
  • Upgrade dd-trace-go package version to v1.39.0 (ef58946)

1.14.0 (2022-07-01)

Features

  • Add assumable role and session name configuration settings to AWS MSK IAM SASL (ef08bd1)

1.12.0 (2022-06-22)

Features

  • Add franz-go plugin to log kafka client using go-sdk logger (ba9000e)
  • Add franz-go plugin to publish kafka related metrics (9ad6f12)
  • Configure PubSub metrics (d7116b5)

1.11.0 (2022-06-10)

Features

  • Extend PubSub configuration to include TLS and SASL auth (f723b44)
  • Trace producers and consumers of the kafka client (2d4ddf8)

1.10.1 (2022-04-14)

Bug Fixes

  • Convert broker urls to string slice explicitly (0c0713e)

1.10.0 (2022-03-24)

Features

  • Add PubSub configuration (1576521)
  • Expose PubSub config via main config entrypoint (9dbb14c)

1.9.0 (2022-02-21)

Features

  • Provide a way to configure profiling code hostpots (79b9a45)
  • Upgrade dd-trace-go to v1.36.0 version (11370a1)

1.8.0 (2022-01-24)

Features

  • Support //go:build lines together with // +build (4cbdd4d)
  • Dockerfile: Bump to Go 1.17.6 (4080b1d)
  • go: Bump to Go 1.17 (8d5cc40)

1.7.1 (2022-01-10)

Security Fixes

  • Upgrade sentry-go module to version v0.12.0 (4bbe60c)
  • Upgrade viper module to version v1.10.1 (2ab5fb5)

1.7.0 (2021-12-16)

Bug Fixes

  • Retrieve request id from the context in logger middleware instead of getting it from the request header (0d74e33)

Features

  • Add context helpers for request id (7997f79)
  • Add request ID gRPC interceptors (5e73a20)
  • Pass request id in logger interceptor (46c8596)
  • Use pkg/context/requestid for request_id middleware (20e2349)

1.6.0 (2021-12-14)

Bug Fixes

  • Create new gorm db instance in database_logger middleware when set logger settings to avoid data races (5380a87)
  • Update database gRPC interceptors to include DB tracing (parity with database middleware) (616c45d)

Features

  • Add database logging gRPC server interceptors (ef8ea53)
  • Add mage command to generate test proto files (6e2ffc5)
  • Create test grpc service (b84d88e)
  • Move gorm logger to logger package (8fe5b26)
  • Upgrade grpc to v1.32.0 (3c9127d)

1.5.0 (2021-12-06)

Features

  • Add server and client gRPC trace interceptors (ac66d1b)
  • Correlate traces and logs for gRPC (e2f7f4c)

1.4.1 (2021-11-18)

Bug Fixes

  • Downgrade cors library to v1.7.0 (7faef78)

1.4.0 (2021-11-17)

Features

  • Update modules dependencies (e4eaa07)

1.3.0 (2021-11-01)

Features

1.2.3 (2021-11-01)

Bug Fixes

  • ci: Do not persist Github token when checking out in Release workflow (b96c6b0)

1.2.2 (2021-11-01)

Bug Fixes

  • ci: Use seperate PAT for release workflow (7b019a9)
  • CI: Use automatic token authentication via GITHUB_TOKEN in actions (41fd4cf)

1.2.1 (2021-06-09)

Bug Fixes

  • ci: Remove CI workflow Slack notification (7501035)

1.2.0 (2021-05-11)

Bug Fixes

  • Update pkg/version accordingly when releasing new version (8772dfb)

Features

  • ci: Add a linter stage in Dockerfile (cc3ee11)
  • ci: Add commit message check workflow (b1476d6)
  • ci: Add datadog metrics for CI pipeline (73b16a8)
  • ci: Add datadog metrics for release pipeline (7b8e195)
  • ci: Add velocity metrics for the repo (f918947)
  • ci: Build the development stage from the linter stage (2b62f8d)
  • ci: Build the SDK before the linter stage in Dockerfile (c04bdf0)
  • ci: Bump golangci-lint to v1.39.0 (838b1a4)
  • ci: Remove the unnecessary build (9cd7436)
  • ci: Remove unsupported event from commit message check (e33a978)
  • ci: Run the fmt checks at the linter stage (f67348f)
  • ci: Use mage to run golangci-lint-action in Docker (8bc71aa)
  • Dockerfile: Bump to Go 1.16.4 (fdc116e)
  • go: Bump to Go 1.16.4 (038076b)

1.2.0 (2021-05-11)

Bug Fixes

  • Update pkg/version accordingly when releasing new version (8772dfb)

Features

  • ci: Add a linter stage in Dockerfile (cc3ee11)
  • ci: Add commit message check workflow (b1476d6)
  • ci: Add datadog metrics for CI pipeline (73b16a8)
  • ci: Add datadog metrics for release pipeline (7b8e195)
  • ci: Add velocity metrics for the repo (f918947)
  • ci: Build the development stage from the linter stage (2b62f8d)
  • ci: Build the SDK before the linter stage in Dockerfile (c04bdf0)
  • ci: Bump golangci-lint to v1.39.0 (838b1a4)
  • ci: Remove the unnecessary build (9cd7436)
  • ci: Remove unsupported event from commit message check (e33a978)
  • ci: Run the fmt checks at the linter stage (f67348f)
  • ci: Use mage to run golangci-lint-action in Docker (8bc71aa)
  • Dockerfile: Bump to Go 1.16.4 (fdc116e)
  • go: Bump to Go 1.16.4 (038076b)

1.1.0 (2021-03-02)

Bug Fixes

  • ci: Fix CI pipeline by using builder Docker layer as a target and download golangci-lint manually (dcc1143)
  • go: Clean up go.sum (ed7348a)
  • Add the missing -app suffix to the service name in metrics (d6f2f0e)

Features

  • ci: Add the CI Action pipeline (d1ab240)
  • ci: Add the Release Action pipeline (b1c3222)
  • ci: Cache docker layers (2329506)

1.0.0 (2021-02-04)

Code Refactoring

  • Rename module name to github.com/scribd/go-sdk (923a8ae)

BREAKING CHANGES

  • Rename module name to github.com/scribd/go-sdk as we are migrating from gitlab to github.

0.8.0 (2020-12-16)

Features

0.7.0 (2020-09-10)

Features

  • Inject gorm.DB in the context using the context/database package (66ef7ba)
  • Introduce the gRPC database interceptors (cc73f8c)
  • Remove the Database context key as now managed by the context/database package (2984490)

0.6.0 (2020-09-10)

Features

  • Inject the Metrics in the context using the context/metrics package (fd03e2b)
  • Introduce the gRPC metrics interceptors (c84f618)
  • Remove the Metrics context key as now managed by the context/metrics package (80a1d68)

0.5.0 (2020-09-09)

Features

  • Add package context/logger to manage the logger in the context (ecba066)
  • Add the gRPC dependencies (2a84eef)
  • Inject the Logger in the context using the sdklogcontext package (7c8db72)
  • Introduce the gRPC logging interceptors (f0369e8)
  • Remove the Logger context key as now managed by the context/logger package (d93eb99)

0.4.0 (2020-08-07)

Features

  • datadog-go is now a direct dependency (0b5849c)
  • Introduce the metrics package (f352e72)
  • Move the Metrics Context key in the package contextkeys (281d91c)

0.3.0 (2020-07-27)

Features

0.2.0 (2020-07-02)

Features

  • Environment not directly configurable but read from APP_ENV (f0e6b99)
  • Extend the Tracking configuration to expose additional options (e85d10a)
  • Implement a "native" Sentry hook using the official library (62def35)
  • Read APP_VERSION and APP_SERVER_NAME from ENV instead config (8b9bf5d)
  • Remove the unsupported Timeout option from the Sentry configuration (21cc31a)
  • Replace LogrusSentry with the official SentriGo (go.mod) (f63df74)

0.1.0 (2020-05-28)

Bug Fixes

  • Fix entrypoint for release container (e2f14cc)

Features

  • Add .releaserc.yml (5003f35)
  • Add release stage (337b09e)
  • Update version in version package during release (2045421)

CHANGELOG

0.0.1

2019-10-29

Features

  • Add version package (2b331d73a8ae50ddbbc525b04220c9e24b207f45)