Skip to content

Commit

Permalink
misc: fix vulnerabilities in go.mod (#63)
Browse files Browse the repository at this point in the history
* misc: fix vulnerabilities in go.mod

* bump: update changelog

* bump: update changelog

---------

Co-authored-by: Aslam Hadi Harsono <[email protected]>
  • Loading branch information
aslamhadi and aslam-kumparan authored Jul 9, 2024
1 parent 38e76b1 commit 1179eed
Show file tree
Hide file tree
Showing 4 changed files with 143 additions and 361 deletions.
2 changes: 1 addition & 1 deletion .chglog/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ style: github
template: CHANGELOG.tpl.md
info:
title: CHANGELOG
repository_url: https://github.com/kumparan/kumnats
repository_url: https://github.com/kumparan/go-utils
options:
commits:
filters:
Expand Down
179 changes: 93 additions & 86 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,45 @@
# go-utils

<a name="v1.39.2"></a>
## [v1.39.2] - 2024-07-09
### Other Improvements
- fix vulnerabilities in go.mod


<a name="v1.39.1"></a>
## [v1.39.1] - 2024-06-09
### Fixes
- unescape characters after stripping html
- unescape characters after stripping html ([#62](https://github.com/kumparan/go-utils/issues/62))


<a name="v1.39.0"></a>
## [v1.39.0] - 2024-05-13
### Other Improvements
- upgrade go version ([#61](https://github.com/kumparan/kumnats/issues/61))
- upgrade go version ([#61](https://github.com/kumparan/go-utils/issues/61))


<a name="v1.38.0"></a>
## [v1.38.0] - 2024-03-14
### New Features
- add ConvertSlice ([#60](https://github.com/kumparan/kumnats/issues/60))
- add ConvertSlice ([#60](https://github.com/kumparan/go-utils/issues/60))


<a name="v1.37.0"></a>
## [v1.37.0] - 2024-03-06
### New Features
- add IsUniqueSliceItem ([#59](https://github.com/kumparan/kumnats/issues/59))
- add IsUniqueSliceItem ([#59](https://github.com/kumparan/go-utils/issues/59))


<a name="v1.36.0"></a>
## [v1.36.0] - 2024-01-18
### New Features
- add IsURLReachable ([#58](https://github.com/kumparan/kumnats/issues/58))
- add IsURLReachable ([#58](https://github.com/kumparan/go-utils/issues/58))


<a name="v1.35.0"></a>
## [v1.35.0] - 2023-10-09
### New Features
- add DoHTTPRequest generic method ([#57](https://github.com/kumparan/kumnats/issues/57))
- add DoHTTPRequest generic method ([#57](https://github.com/kumparan/go-utils/issues/57))


<a name="v1.34.0"></a>
Expand Down Expand Up @@ -63,13 +69,13 @@
<a name="v1.31.0"></a>
## [v1.31.0] - 2023-04-06
### New Features
- ordered map values ([#49](https://github.com/kumparan/kumnats/issues/49))
- ordered map values ([#49](https://github.com/kumparan/go-utils/issues/49))


<a name="v1.30.0"></a>
## [v1.30.0] - 2022-12-30
### New Features
- parse time from bson objectID ([#48](https://github.com/kumparan/kumnats/issues/48))
- parse time from bson objectID ([#48](https://github.com/kumparan/go-utils/issues/48))


<a name="v1.29.1"></a>
Expand All @@ -81,7 +87,7 @@
<a name="v1.29.0"></a>
## [v1.29.0] - 2022-11-07
### New Features
- add PaginateSlice ([#44](https://github.com/kumparan/kumnats/issues/44))
- add PaginateSlice ([#44](https://github.com/kumparan/go-utils/issues/44))


<a name="v1.28.0"></a>
Expand Down Expand Up @@ -117,17 +123,17 @@
<a name="v1.24.0"></a>
## [v1.24.0] - 2022-07-15
### New Features
- nanoseconds check on rfc3339nano time formatting ([#38](https://github.com/kumparan/kumnats/issues/38))
- nanoseconds check on rfc3339nano time formatting ([#38](https://github.com/kumparan/go-utils/issues/38))


<a name="v1.23.0"></a>
## [v1.23.0] - 2022-06-29
### New Features
- parse duration with default ([#36](https://github.com/kumparan/kumnats/issues/36))
- add int64 pointer to int64 conversion ([#33](https://github.com/kumparan/kumnats/issues/33))
- parse duration with default ([#36](https://github.com/kumparan/go-utils/issues/36))
- add int64 pointer to int64 conversion ([#33](https://github.com/kumparan/go-utils/issues/33))

### Other Improvements
- fix dependabot alert ([#37](https://github.com/kumparan/kumnats/issues/37))
- fix dependabot alert ([#37](https://github.com/kumparan/go-utils/issues/37))


<a name="v1.22.0"></a>
Expand All @@ -139,13 +145,13 @@
<a name="v1.21.0"></a>
## [v1.21.0] - 2022-06-24
### New Features
- add some functions using go generic ([#34](https://github.com/kumparan/kumnats/issues/34))
- add some functions using go generic ([#34](https://github.com/kumparan/go-utils/issues/34))


<a name="v1.20.1"></a>
## [v1.20.1] - 2022-03-15
### Fixes
- fix marshal issue on gorm.DeletedAt empty value ([#32](https://github.com/kumparan/kumnats/issues/32))
- fix marshal issue on gorm.DeletedAt empty value ([#32](https://github.com/kumparan/go-utils/issues/32))


<a name="v1.20.0"></a>
Expand All @@ -154,37 +160,37 @@
<a name="v.1.20.0"></a>
## [v.1.20.0] - 2022-03-11
### New Features
- add constraint size gql directive ([#30](https://github.com/kumparan/kumnats/issues/30))
- add constraint size gql directive ([#30](https://github.com/kumparan/go-utils/issues/30))


<a name="v1.19.3"></a>
## [v1.19.3] - 2022-02-25
### Fixes
- should handle error when marshal/unmarshal from gqlgen ([#29](https://github.com/kumparan/kumnats/issues/29))
- should handle error when marshal/unmarshal from gqlgen ([#29](https://github.com/kumparan/go-utils/issues/29))


<a name="v1.19.2"></a>
## [v1.19.2] - 2022-02-07
### Fixes
- handle index out of bound ([#28](https://github.com/kumparan/kumnats/issues/28))
- handle index out of bound ([#28](https://github.com/kumparan/go-utils/issues/28))


<a name="v1.19.1"></a>
## [v1.19.1] - 2022-01-27
### Fixes
- add null string & handle unmarshal "null" values ([#27](https://github.com/kumparan/kumnats/issues/27))
- add null string & handle unmarshal "null" values ([#27](https://github.com/kumparan/go-utils/issues/27))


<a name="v1.19.0"></a>
## [v1.19.0] - 2022-01-19
### New Features
- add gqlgen NullInt64, NullInt64ID & NullTime ([#26](https://github.com/kumparan/kumnats/issues/26))
- add gqlgen NullInt64, NullInt64ID & NullTime ([#26](https://github.com/kumparan/go-utils/issues/26))


<a name="v1.18.1"></a>
## [v1.18.1] - 2022-01-13
### Code Improvements
- generate the private key only once ([#25](https://github.com/kumparan/kumnats/issues/25))
- generate the private key only once ([#25](https://github.com/kumparan/go-utils/issues/25))


<a name="v1.18.0"></a>
Expand All @@ -193,43 +199,43 @@
<a name="v1.17.0"></a>
## [v1.17.0] - 2022-01-03
### New Features
- add custom time for gqlgen ([#22](https://github.com/kumparan/kumnats/issues/22))
- add custom time for gqlgen ([#22](https://github.com/kumparan/go-utils/issues/22))


<a name="v1.16.0"></a>
## [v1.16.0] - 2022-01-03
### New Features
- add AESCryptor ([#23](https://github.com/kumparan/kumnats/issues/23))
- add AESCryptor ([#23](https://github.com/kumparan/go-utils/issues/23))


<a name="v1.15.0"></a>
## [v1.15.0] - 2022-01-03
### New Features
- logrus sentry hook using sentry-go ([#18](https://github.com/kumparan/kumnats/issues/18))
- logrus sentry hook using sentry-go ([#18](https://github.com/kumparan/go-utils/issues/18))


<a name="v1.14.1"></a>
## [v1.14.1] - 2021-12-30
### Fixes
- gqlgen cannot resolve the package ([#21](https://github.com/kumparan/kumnats/issues/21))
- gqlgen cannot resolve the package ([#21](https://github.com/kumparan/go-utils/issues/21))


<a name="v1.14.0"></a>
## [v1.14.0] - 2021-12-30
### New Features
- add custom scalara gqlgen Int64ID ([#20](https://github.com/kumparan/kumnats/issues/20))
- add custom scalara gqlgen Int64ID ([#20](https://github.com/kumparan/go-utils/issues/20))


<a name="v1.13.0"></a>
## [v1.13.0] - 2021-12-30
### New Features
- add GetDifferenceDaysForHumans ([#19](https://github.com/kumparan/kumnats/issues/19))
- add GetDifferenceDaysForHumans ([#19](https://github.com/kumparan/go-utils/issues/19))


<a name="v1.12.0"></a>
## [v1.12.0] - 2021-04-12
### New Features
- strip HTML ([#16](https://github.com/kumparan/kumnats/issues/16))
- strip HTML ([#16](https://github.com/kumparan/go-utils/issues/16))


<a name="v1.11.0"></a>
Expand All @@ -247,7 +253,7 @@
<a name="v1.9.0"></a>
## [v1.9.0] - 2021-03-10
### New Features
- add money formatter for multiple currencies ([#13](https://github.com/kumparan/kumnats/issues/13))
- add money formatter for multiple currencies ([#13](https://github.com/kumparan/go-utils/issues/13))


<a name="v1.8.0"></a>
Expand All @@ -262,7 +268,7 @@
<a name="v1.7.0"></a>
## [v1.7.0] - 2020-11-19
### New Features
- add function to truncate string by length ([#11](https://github.com/kumparan/kumnats/issues/11))
- add function to truncate string by length ([#11](https://github.com/kumparan/go-utils/issues/11))


<a name="v1.6.0"></a>
Expand All @@ -277,7 +283,7 @@
<a name="v1.5.0"></a>
## [v1.5.0] - 2020-06-17
### Code Improvements
- JoinURL to be more versatile and should be able to accept variadic variables ([#9](https://github.com/kumparan/kumnats/issues/9))
- JoinURL to be more versatile and should be able to accept variadic variables ([#9](https://github.com/kumparan/go-utils/issues/9))


<a name="v1.4.0"></a>
Expand All @@ -289,7 +295,7 @@
<a name="v1.3.1"></a>
## [v1.3.1] - 2020-04-02
### Fixes
- missing RetryStopper constructor ([#6](https://github.com/kumparan/kumnats/issues/6))
- missing RetryStopper constructor ([#6](https://github.com/kumparan/go-utils/issues/6))


<a name="v1.3.0"></a>
Expand Down Expand Up @@ -319,57 +325,58 @@
- init go-utils


[Unreleased]: https://github.com/kumparan/kumnats/compare/v1.39.1...HEAD
[v1.39.1]: https://github.com/kumparan/kumnats/compare/v1.39.0...v1.39.1
[v1.39.0]: https://github.com/kumparan/kumnats/compare/v1.38.0...v1.39.0
[v1.38.0]: https://github.com/kumparan/kumnats/compare/v1.37.0...v1.38.0
[v1.37.0]: https://github.com/kumparan/kumnats/compare/v1.36.0...v1.37.0
[v1.36.0]: https://github.com/kumparan/kumnats/compare/v1.35.0...v1.36.0
[v1.35.0]: https://github.com/kumparan/kumnats/compare/v1.34.0...v1.35.0
[v1.34.0]: https://github.com/kumparan/kumnats/compare/v1.33.0...v1.34.0
[v1.33.0]: https://github.com/kumparan/kumnats/compare/v1.32.1...v1.33.0
[v1.32.1]: https://github.com/kumparan/kumnats/compare/v1.32.0...v1.32.1
[v1.32.0]: https://github.com/kumparan/kumnats/compare/v1.31.0...v1.32.0
[v1.31.0]: https://github.com/kumparan/kumnats/compare/v1.30.0...v1.31.0
[v1.30.0]: https://github.com/kumparan/kumnats/compare/v1.29.1...v1.30.0
[v1.29.1]: https://github.com/kumparan/kumnats/compare/v1.29.0...v1.29.1
[v1.29.0]: https://github.com/kumparan/kumnats/compare/v1.28.0...v1.29.0
[v1.28.0]: https://github.com/kumparan/kumnats/compare/v1.27.0...v1.28.0
[v1.27.0]: https://github.com/kumparan/kumnats/compare/v1.26.0...v1.27.0
[v1.26.0]: https://github.com/kumparan/kumnats/compare/v1.25.1...v1.26.0
[v1.25.1]: https://github.com/kumparan/kumnats/compare/v1.25.0...v1.25.1
[v1.25.0]: https://github.com/kumparan/kumnats/compare/v1.24.0...v1.25.0
[v1.24.0]: https://github.com/kumparan/kumnats/compare/v1.23.0...v1.24.0
[v1.23.0]: https://github.com/kumparan/kumnats/compare/v1.22.0...v1.23.0
[v1.22.0]: https://github.com/kumparan/kumnats/compare/v1.21.0...v1.22.0
[v1.21.0]: https://github.com/kumparan/kumnats/compare/v1.20.1...v1.21.0
[v1.20.1]: https://github.com/kumparan/kumnats/compare/v1.20.0...v1.20.1
[v1.20.0]: https://github.com/kumparan/kumnats/compare/v.1.20.0...v1.20.0
[v.1.20.0]: https://github.com/kumparan/kumnats/compare/v1.19.3...v.1.20.0
[v1.19.3]: https://github.com/kumparan/kumnats/compare/v1.19.2...v1.19.3
[v1.19.2]: https://github.com/kumparan/kumnats/compare/v1.19.1...v1.19.2
[v1.19.1]: https://github.com/kumparan/kumnats/compare/v1.19.0...v1.19.1
[v1.19.0]: https://github.com/kumparan/kumnats/compare/v1.18.1...v1.19.0
[v1.18.1]: https://github.com/kumparan/kumnats/compare/v1.18.0...v1.18.1
[v1.18.0]: https://github.com/kumparan/kumnats/compare/v1.17.0...v1.18.0
[v1.17.0]: https://github.com/kumparan/kumnats/compare/v1.16.0...v1.17.0
[v1.16.0]: https://github.com/kumparan/kumnats/compare/v1.15.0...v1.16.0
[v1.15.0]: https://github.com/kumparan/kumnats/compare/v1.14.1...v1.15.0
[v1.14.1]: https://github.com/kumparan/kumnats/compare/v1.14.0...v1.14.1
[v1.14.0]: https://github.com/kumparan/kumnats/compare/v1.13.0...v1.14.0
[v1.13.0]: https://github.com/kumparan/kumnats/compare/v1.12.0...v1.13.0
[v1.12.0]: https://github.com/kumparan/kumnats/compare/v1.11.0...v1.12.0
[v1.11.0]: https://github.com/kumparan/kumnats/compare/v1.10.0...v1.11.0
[v1.10.0]: https://github.com/kumparan/kumnats/compare/v1.9.0...v1.10.0
[v1.9.0]: https://github.com/kumparan/kumnats/compare/v1.8.0...v1.9.0
[v1.8.0]: https://github.com/kumparan/kumnats/compare/v1.7.1...v1.8.0
[v1.7.1]: https://github.com/kumparan/kumnats/compare/v1.7.0...v1.7.1
[v1.7.0]: https://github.com/kumparan/kumnats/compare/v1.6.0...v1.7.0
[v1.6.0]: https://github.com/kumparan/kumnats/compare/v1.5.0...v1.6.0
[v1.5.0]: https://github.com/kumparan/kumnats/compare/v1.4.0...v1.5.0
[v1.4.0]: https://github.com/kumparan/kumnats/compare/v1.3.1...v1.4.0
[v1.3.1]: https://github.com/kumparan/kumnats/compare/v1.3.0...v1.3.1
[v1.3.0]: https://github.com/kumparan/kumnats/compare/v1.2.0...v1.3.0
[v1.2.0]: https://github.com/kumparan/kumnats/compare/v1.1.1...v1.2.0
[v1.1.1]: https://github.com/kumparan/kumnats/compare/v1.1.0...v1.1.1
[v1.1.0]: https://github.com/kumparan/kumnats/compare/v1.0.0...v1.1.0
[Unreleased]: https://github.com/kumparan/go-utils/compare/v1.39.2...HEAD
[v1.39.2]: https://github.com/kumparan/go-utils/compare/v1.39.1...v1.39.2
[v1.39.1]: https://github.com/kumparan/go-utils/compare/v1.39.0...v1.39.1
[v1.39.0]: https://github.com/kumparan/go-utils/compare/v1.38.0...v1.39.0
[v1.38.0]: https://github.com/kumparan/go-utils/compare/v1.37.0...v1.38.0
[v1.37.0]: https://github.com/kumparan/go-utils/compare/v1.36.0...v1.37.0
[v1.36.0]: https://github.com/kumparan/go-utils/compare/v1.35.0...v1.36.0
[v1.35.0]: https://github.com/kumparan/go-utils/compare/v1.34.0...v1.35.0
[v1.34.0]: https://github.com/kumparan/go-utils/compare/v1.33.0...v1.34.0
[v1.33.0]: https://github.com/kumparan/go-utils/compare/v1.32.1...v1.33.0
[v1.32.1]: https://github.com/kumparan/go-utils/compare/v1.32.0...v1.32.1
[v1.32.0]: https://github.com/kumparan/go-utils/compare/v1.31.0...v1.32.0
[v1.31.0]: https://github.com/kumparan/go-utils/compare/v1.30.0...v1.31.0
[v1.30.0]: https://github.com/kumparan/go-utils/compare/v1.29.1...v1.30.0
[v1.29.1]: https://github.com/kumparan/go-utils/compare/v1.29.0...v1.29.1
[v1.29.0]: https://github.com/kumparan/go-utils/compare/v1.28.0...v1.29.0
[v1.28.0]: https://github.com/kumparan/go-utils/compare/v1.27.0...v1.28.0
[v1.27.0]: https://github.com/kumparan/go-utils/compare/v1.26.0...v1.27.0
[v1.26.0]: https://github.com/kumparan/go-utils/compare/v1.25.1...v1.26.0
[v1.25.1]: https://github.com/kumparan/go-utils/compare/v1.25.0...v1.25.1
[v1.25.0]: https://github.com/kumparan/go-utils/compare/v1.24.0...v1.25.0
[v1.24.0]: https://github.com/kumparan/go-utils/compare/v1.23.0...v1.24.0
[v1.23.0]: https://github.com/kumparan/go-utils/compare/v1.22.0...v1.23.0
[v1.22.0]: https://github.com/kumparan/go-utils/compare/v1.21.0...v1.22.0
[v1.21.0]: https://github.com/kumparan/go-utils/compare/v1.20.1...v1.21.0
[v1.20.1]: https://github.com/kumparan/go-utils/compare/v1.20.0...v1.20.1
[v1.20.0]: https://github.com/kumparan/go-utils/compare/v.1.20.0...v1.20.0
[v.1.20.0]: https://github.com/kumparan/go-utils/compare/v1.19.3...v.1.20.0
[v1.19.3]: https://github.com/kumparan/go-utils/compare/v1.19.2...v1.19.3
[v1.19.2]: https://github.com/kumparan/go-utils/compare/v1.19.1...v1.19.2
[v1.19.1]: https://github.com/kumparan/go-utils/compare/v1.19.0...v1.19.1
[v1.19.0]: https://github.com/kumparan/go-utils/compare/v1.18.1...v1.19.0
[v1.18.1]: https://github.com/kumparan/go-utils/compare/v1.18.0...v1.18.1
[v1.18.0]: https://github.com/kumparan/go-utils/compare/v1.17.0...v1.18.0
[v1.17.0]: https://github.com/kumparan/go-utils/compare/v1.16.0...v1.17.0
[v1.16.0]: https://github.com/kumparan/go-utils/compare/v1.15.0...v1.16.0
[v1.15.0]: https://github.com/kumparan/go-utils/compare/v1.14.1...v1.15.0
[v1.14.1]: https://github.com/kumparan/go-utils/compare/v1.14.0...v1.14.1
[v1.14.0]: https://github.com/kumparan/go-utils/compare/v1.13.0...v1.14.0
[v1.13.0]: https://github.com/kumparan/go-utils/compare/v1.12.0...v1.13.0
[v1.12.0]: https://github.com/kumparan/go-utils/compare/v1.11.0...v1.12.0
[v1.11.0]: https://github.com/kumparan/go-utils/compare/v1.10.0...v1.11.0
[v1.10.0]: https://github.com/kumparan/go-utils/compare/v1.9.0...v1.10.0
[v1.9.0]: https://github.com/kumparan/go-utils/compare/v1.8.0...v1.9.0
[v1.8.0]: https://github.com/kumparan/go-utils/compare/v1.7.1...v1.8.0
[v1.7.1]: https://github.com/kumparan/go-utils/compare/v1.7.0...v1.7.1
[v1.7.0]: https://github.com/kumparan/go-utils/compare/v1.6.0...v1.7.0
[v1.6.0]: https://github.com/kumparan/go-utils/compare/v1.5.0...v1.6.0
[v1.5.0]: https://github.com/kumparan/go-utils/compare/v1.4.0...v1.5.0
[v1.4.0]: https://github.com/kumparan/go-utils/compare/v1.3.1...v1.4.0
[v1.3.1]: https://github.com/kumparan/go-utils/compare/v1.3.0...v1.3.1
[v1.3.0]: https://github.com/kumparan/go-utils/compare/v1.2.0...v1.3.0
[v1.2.0]: https://github.com/kumparan/go-utils/compare/v1.1.1...v1.2.0
[v1.1.1]: https://github.com/kumparan/go-utils/compare/v1.1.0...v1.1.1
[v1.1.0]: https://github.com/kumparan/go-utils/compare/v1.0.0...v1.1.0
Loading

0 comments on commit 1179eed

Please sign in to comment.