-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
8d33585
commit 22ad9c3
Showing
21 changed files
with
534 additions
and
32 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Report Security Issues | ||
on: | ||
workflow_dispatch: | ||
schedule: | ||
- cron: "0 3 * * *" | ||
|
||
jobs: | ||
report_security_issues: | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: "bash" | ||
permissions: | ||
contents: read | ||
concurrency: | ||
group: ${{ github.workflow }}-report_security_issues | ||
cancel-in-progress: true | ||
steps: | ||
- name: Checkout | ||
id: checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Go | ||
id: go | ||
uses: actions/setup-go@v5 | ||
with: | ||
go-version: "1.22" | ||
cache: true | ||
|
||
- name: Install vulncheck | ||
run: go install golang.org/x/vuln/cmd/govulncheck@latest | ||
|
||
- name: Print vulncheck version | ||
run: govulncheck -version | ||
|
||
- name: Run vulnerability check | ||
run: govulncheck -format text -mode source -scan symbol -show verbose -test ./... |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
sources: | ||
- type: golang | ||
path: go.mod | ||
version: 1.0.7 | ||
version: 1.0.8 | ||
excludes: | ||
- "E-PK-CORE-26: 'release_config.yml' exists but must not exist. Reason: Release-droid configuration is replaced by release.yml" | ||
# Releases are done with Release Droid because PK does not yet support release process for Go projects. | ||
- "E-PK-CORE-26: 'release_config.yml' exists but must not exist. Reason: Release-droid configuration is replaced by release.yml" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "explicit", | ||
"source.generate.finalModifiers": "explicit", | ||
"source.fixAll": "explicit" | ||
}, | ||
"go.testTimeout": "240s", | ||
"go.testFlags": ["-p", "1", "-v"], | ||
"go.coverOnSingleTest": true, | ||
"go.coverOnSingleTestFile": true, | ||
"go.coverOnTestPackage": true, | ||
"go.lintOnSave": "workspace", | ||
"go.lintTool": "golangci-lint", | ||
"sonarlint.connectedMode.project": { | ||
"connectionId": "exasol", | ||
"projectKey": "com.exasol:exasol-driver-go" | ||
} | ||
"editor.formatOnSave": true, | ||
"editor.codeActionsOnSave": { | ||
"source.organizeImports": "explicit", | ||
"source.generate.finalModifiers": "explicit", | ||
"source.fixAll": "explicit" | ||
}, | ||
"go.testTimeout": "240s", | ||
"go.testFlags": [ | ||
"-p", | ||
"1", | ||
"-v" | ||
], | ||
"go.coverOnSingleTest": true, | ||
"go.coverOnSingleTestFile": true, | ||
"go.coverOnTestPackage": true, | ||
"go.lintOnSave": "workspace", | ||
"go.lintTool": "golangci-lint", | ||
"sonarlint.connectedMode.project": { | ||
"connectionId": "exasol", | ||
"projectKey": "com.exasol:exasol-driver-go" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Exasol Driver go 1.0.8, released 2024-06-19 | ||
|
||
Code name: Fix inserting double values | ||
|
||
## Summary | ||
|
||
This release fixes an issue inserting double values with a prepared statement. | ||
|
||
Details of the fix: | ||
The driver serializes commands to the database as JSON. When inserting values into a `DOUBLE` column, the database expects the JSON to contain numbers with a decimal point, e.g. `42.0`. When using values like `42` or `42.0` in `stmt.Exec()`, the driver omitted the decimal point. This caused the query to fail with error | ||
|
||
``` | ||
E-EGOD-11: execution failed with SQL error code '00000' and message 'getDouble: JSON value is not a double | ||
``` | ||
|
||
## Bugfixes | ||
|
||
* #108: Fixed inserting double values with a prepared statement | ||
|
||
## Dependency Updates | ||
|
||
### Compile Dependency Updates | ||
|
||
* Updated `github.com/gorilla/websocket:v1.5.1` to `v1.5.3` | ||
* Updated `github.com/exasol/exasol-test-setup-abstraction-server/go-client:v0.3.6` to `v0.3.9` |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package version | ||
|
||
const DriverVersion = "v1.0.7" | ||
const DriverVersion = "v1.0.8" |
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
Oops, something went wrong.