This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
Releases: JenswBE/go-commerce
Releases · JenswBE/go-commerce
v1.1.0
What's Changed
- Add support for services by @JenswBE in #133
- Extend E2E tests and improve migrations by @JenswBE in #134
Dependency bumps
- Bump golang.org/x/oauth2 from 0.13.0 to 0.14.0 by @dependabot in #120
- Update dependency bootstrap-icons to v1.11.2 by @renovate in #122
- Bump github.com/go-jose/go-jose/v3 from 3.0.0 to 3.0.1 by @dependabot in #121
- Bump github.com/coreos/go-oidc/v3 from 3.7.0 to 3.8.0 by @dependabot in #125
- Bump github.com/samber/lo from 1.38.1 to 1.39.0 by @dependabot in #124
- Bump golang.org/x/oauth2 from 0.14.0 to 0.15.0 by @dependabot in #123
- Bump github.com/coreos/go-oidc/v3 from 3.8.0 to 3.9.0 by @dependabot in #126
- Bump actions/setup-go from 4 to 5 by @dependabot in #128
- Bump github.com/spf13/viper from 1.17.0 to 1.18.1 by @dependabot in #127
- Bump golang.org/x/crypto from 0.16.0 to 0.17.0 by @dependabot in #130
- Bump github.com/google/uuid from 1.4.0 to 1.5.0 by @dependabot in #129
- Bump github.com/spf13/viper from 1.18.1 to 1.18.2 by @dependabot in #131
- Update dependency bootstrap-icons to v1.11.3 by @renovate in #132
Full Changelog: v1.0.1...v1.1.0
v1.0.1
What's Changed
- Bump github.com/microcosm-cc/bluemonday from 1.0.25 to 1.0.26 by @dependabot in #114
- Bump github.com/google/go-cmp from 0.5.9 to 0.6.0 by @dependabot in #113
- Bump gorm.io/gorm from 1.25.4 to 1.25.5 by @dependabot in #111
- Bump gorm.io/driver/postgres from 1.5.2 to 1.5.3 by @dependabot in #112
- Bump github.com/coreos/go-oidc/v3 from 3.6.0 to 3.7.0 by @dependabot in #115
- Bump github.com/go-playground/validator/v10 from 10.15.5 to 10.16.0 by @dependabot in #118
- Bump github.com/google/uuid from 1.3.1 to 1.4.0 by @dependabot in #117
- Bump gorm.io/driver/postgres from 1.5.3 to 1.5.4 by @dependabot in #116
- Regenerate OpenAPI by @JenswBE in #119
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's Changed
- Bump actions/checkout from 3 to 4 by @dependabot in #94
- Update dependency bootstrap-icons to v1.11.0 by @renovate in #95
- Update dependency bootstrap to v5.3.2 by @renovate in #96
- Update dependency bootstrap-icons to v1.11.1 by @renovate in #97
- Bump docker/login-action from 2 to 3 by @dependabot in #101
- Bump docker/build-push-action from 4 to 5 by @dependabot in #98
- Bump docker/setup-qemu-action from 2 to 3 by @dependabot in #99
- Bump docker/setup-buildx-action from 2 to 3 by @dependabot in #100
- Bump github.com/google/uuid from 1.3.0 to 1.3.1 by @dependabot in #105
- Bump golang.org/x/oauth2 from 0.11.0 to 0.12.0 by @dependabot in #104
- Bump github.com/go-gormigrate/gormigrate/v2 from 2.1.0 to 2.1.1 by @dependabot in #103
- Bump github.com/go-playground/validator/v10 from 10.15.1 to 10.15.4 by @dependabot in #102
- Bump github.com/go-playground/validator/v10 from 10.15.4 to 10.15.5 by @dependabot in #107
- Bump github.com/rs/zerolog from 1.30.0 to 1.31.0 by @dependabot in #106
- Bump github.com/spf13/viper from 1.16.0 to 1.17.0 by @dependabot in #109
- Bump golang.org/x/oauth2 from 0.12.0 to 0.13.0 by @dependabot in #108
- Bump golang.org/x/net from 0.16.0 to 0.17.0 by @dependabot in #110
Full Changelog: v.0.7.0...v1.0.0
v.0.7.0
What's Changed
- Bump actions/setup-go from 3 to 4 by @dependabot in #56
- Refresh project by @JenswBE in #57
- Bump golang.org/x/oauth2 from 0.6.0 to 0.7.0 by @dependabot in #58
- Refresh project by @JenswBE in #62
- Optimize Dockerfile by @JenswBE in #63
- Update dependency bootstrap-icons to v1.10.5 by @renovate in #64
- Only login to Docker Hub on push event by @JenswBE in #66
- Bump github.com/go-playground/validator/v10 from 10.12.0 to 10.13.0 by @dependabot in #65
- Bump gorm.io/gorm from 1.25.0 to 1.25.1 by @dependabot in #67
- Bump golang.org/x/oauth2 from 0.7.0 to 0.8.0 by @dependabot in #68
- Bump github.com/coreos/go-oidc/v3 from 3.5.0 to 3.6.0 by @dependabot in #73
- Bump github.com/go-playground/validator/v10 from 10.13.0 to 10.14.0 by @dependabot in #71
- Bump github.com/microcosm-cc/bluemonday from 1.0.23 to 1.0.24 by @dependabot in #70
- Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 by @dependabot in #72
- Update dependency bootstrap to v5.3.0 by @renovate in #74
- Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1 by @dependabot in #75
- Bump github.com/spf13/viper from 1.15.0 to 1.16.0 by @dependabot in #79
- Bump github.com/go-playground/validator/v10 from 10.14.0 to 10.14.1 by @dependabot in #76
- Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 by @dependabot in #77
- Bump github.com/go-gormigrate/gormigrate/v2 from 2.0.2 to 2.1.0 by @dependabot in #78
- Bump golang.org/x/oauth2 from 0.8.0 to 0.9.0 by @dependabot in #80
- Bump golang.org/x/oauth2 from 0.9.0 to 0.10.0 by @dependabot in #82
- Bump gorm.io/gorm from 1.25.1 to 1.25.2 by @dependabot in #81
- Bump github.com/microcosm-cc/bluemonday from 1.0.24 to 1.0.25 by @dependabot in #83
- Update dependency bootstrap to v5.3.1 by @renovate in #84
- Bump github.com/rs/zerolog from 1.29.1 to 1.30.0 by @dependabot in #85
- Bump golang.org/x/oauth2 from 0.10.0 to 0.11.0 by @dependabot in #87
- Bump github.com/go-playground/validator/v10 from 10.14.1 to 10.15.0 by @dependabot in #86
- Bump gorm.io/gorm from 1.25.2 to 1.25.3 by @dependabot in #89
- Bump github.com/go-playground/validator/v10 from 10.15.0 to 10.15.1 by @dependabot in #91
- Bump gorm.io/gorm from 1.25.3 to 1.25.4 by @dependabot in #92
- Bump github.com/jinzhu/copier from 0.3.5 to 0.4.0 by @dependabot in #90
- Bump to Go 1.21 by @JenswBE in #93
Full Changelog: v0.6.0...v.0.7.0
v0.6.0 - Bump to Go 1.20
- Bump to Go 1.20
- Bump dependencies
- Use common linting config
v0.5.3 - Fix bugs
v0.5.2 - Bump dependencies
What's Changed
- Bump github.com/microcosm-cc/bluemonday from 1.0.19 to 1.0.20 by @dependabot in #24
- Bump github.com/coreos/go-oidc/v3 from 3.2.0 to 3.3.0 by @dependabot in #23
- Bump github.com/rs/zerolog from 1.27.0 to 1.28.0 by @dependabot in #22
- Bump other dependencies not managed by Dependabot
Full Changelog: v0.5.1...v0.5.2
v0.5.1 - Fix AmountInCents parsing
Fixes
- NewAmountInCentsFromString didn't correctly handle decimal strings with a truncated decimal part like
1.2
. Instead of expected result1.20
, the result became1.02
. Code fixed and unit tests extended.
v0.5.0 - Include admin GUI
⚠️ Warning
Following breaking changes have been made:
- Support for Basic Auth was removed. Instead you could use authentication type
NONE
and use a reverse proxy to provide basic auth (or another type of authentication beyond OIDC). - Following config settings were ADDED:
Authentication.OIDC.ClientID
-AUTH_OIDC_CLIENT_ID
Authentication.OIDC.ClientSecret
-AUTH_OIDC_CLIENT_SECRET
Authentication.SessionAuthKey
-AUTH_SESSION_AUTH_KEY
Authentication.SessionEncKey
-AUTH_SESSION_ENC_KEY
Features.StartpageFeature
-FEATURES_STARTPAGE_FEATURE
: Non-breaking as it defaults to the Products featureFeatures.Products.PublicURLTemplate
-FEATURES_PRODUCTS_PUBLIC_URL_TEMPLATE
: Non-breaking as optionalFeatures.Products.ShortDescriptionOnly
-FEATURES_PRODUCTS_SHORT_DESCRIPTION_ONLY
: Non-breaking as defaults tofalse
- Following config settings were REMOVED:
Authentication.BasicAuth.Username
-AUTH_BASIC_USERNAME
: Due to dropping Basic Auth supportAuthentication..BasicAuth.Password
-AUTH_BASIC_PASSWORD
: Due to dropping Basic Auth support
Changes
- This release deprecates https://github.com/JenswBE/go-commerce-admin in favor of a build-in admin GUI. This is mainly due to improving the stability and simplifying the setup.
- Finalizes support for multiple images for products
- Bumps Go to v1.18
v0.4.0 - Add E2E tests
⚠️ Warning
Config for OIDC authentication has changed:
- Env var
AUTH_ISSUER_URL
renamed toAUTH_OIDC_ISSUER_URL
- Config entries
Authentication.*
renamed toAuthentication.OIDC.*
Changes
- Add E2E tests
- Fix bug which deletes the images of a product when you update the product (only on DB level, files were kept)