Older go-mysql-driver used collation_id in the handshake packet. But it caused collation mismatch in some situation.
If you don't specify charset nor collation, go-mysql-driver sends SET NAMES utf8mb4 for new connection. This uses server's default collation for utf8mb4.
If you specify charset, go-mysql-driver sends SET NAMES <charset>. This uses the server's default collation for <charset>.
If you specify collation and/or charset, go-mysql-driver sends SET NAMES charset COLLATE collation.
When text protocol is used, go-mysql-driver passed bare []byte to database/sql for avoid unnecessary allocation and conversion.
If user specified *any to Scan(), database/sql passed the []byte into the target variabe.
This confused users because most user doesn't know when text/binary protocol used.
go-mysql-driver 1.8 converts integer/float values into int64/double even in text protocol. This doesn't increase allocation compared to []byte and conversion cost is negilible.
New options start using the Functional Option Pattern to avoid increasing technical debt in the Config object. Future version may introduce Functional Option for existing options, but not for now.
fix race condition when context is canceled in #1562 and #1570
Version 1.8.0 (2024-03-09)
Major Changes:
Use SET NAMES charset COLLATE collation. by @methane in #1437
Older go-mysql-driver used collation_id in the handshake packet. But it caused collation mismatch in some situation.
If you don't specify charset nor collation, go-mysql-driver sends SET NAMES utf8mb4 for new connection. This uses server's default collation for utf8mb4.
If you specify charset, go-mysql-driver sends SET NAMES <charset>. This uses the server's default collation for <charset>.
If you specify collation and/or charset, go-mysql-driver sends SET NAMES charset COLLATE collation.
Parse numbers on text protocol too by @methane in #1452
When text protocol is used, go-mysql-driver passed bare []byte to database/sql for avoid unnecessary allocation and conversion.
If user specified *any to Scan(), database/sql passed the []byte into the target variable.
This confused users because most user doesn't know when text/binary protocol used.
go-mysql-driver 1.8 converts integer/float values into int64/double even in text protocol. This doesn't increase allocation compared to []byte and conversion cost is negatable.
New options start using the Functional Option Pattern to avoid increasing technical debt in the Config object. Future version may introduce Functional Option for existing options, but not for now.
Make TimeTruncate functional option by @methane in 1552
Add BeforeConnect callback to configuration object by @ItalyPaleAle in #1469
We are pleased to announce the release of version 2.8.1. Featured are a handful of new areas of functionality and numerous bug fixes.
A summary of changes is available in the Release Notes. A full list of changes is available in the changelog.
Release Notes
The most notable changes in this release are:
Breaking Change
Upgrade requirements Go language version is 1.18 or later, for upgrade of dependency package golang.org/x/net
Change the data type for the HeaderFooterOptions structure fields AlignWithMargins and ScaleWithDoc as a pointer, resolve issue #1645
Remove unused exported data structure ShapeColor
Notable Features
Add new exported function SetCellUint, related issue #1681
Add new exported function GetPictureCells for get all picture cells, related issue #1218
Add new exported function GetConditionalStyle for get the conditional format style definition, related issue #1690
Add new exported function GetHeaderFooter for get the worksheet header and footer
Add new exported function AddSlicer for adding table and pivot table slicers
Add new exported function GetPivotTables for get pivot tables
Add new exported function DeletePivotTable for delete pivot table
Add a new Name field in the PivotTableOptions to support specify pivot table name
New support 7 formula functions: DBCS, SEARCH, SEARCHB, TEXT, TEXTAFTER, TEXTBEFORE and xlfn.ANCHORARRAY
Add export ChartLineType enumeration to specify the chart line type, related issue #1706
Add new Border field in the Chart data type to set the chart area border
Add new Type field in the ChartLine type to set the line type
Add new exported source relationship and namespace NameSpaceSpreadSheetXR10, ContentTypeSlicer, ContentTypeSlicerCache, and SourceRelationshipSlicer
Add new exported extended URI ExtURIPivotCacheDefinition
Allow dot character in the defined name, table name, or pivot table name
Keep all cells value in the table range when deleting table
Support format cell value with fraction number format code
Support delete image files from the workbook internally when deleting pictures to reduce generated workbook size and resolve potential security issues
Support set the height and width for the comment box, related issue #1688
Support update conditional formatting, data validations, defined names, drawing objects, formula reference and volatile dependencies on inserting/deleting columns/rows, related issues #1306 and #1615
Support 6 new kinds of conditional formatting types: text, blanks, no blanks, errors, no errors and time period
Support calculate formula with multiple dash arithmetic symbol
Support copy conditional format and data validation on duplicate row, related issue #1729
Support unset custom row height if the height value is -1 when using the SetRowHeight function
The SetRowHeight function will return an error if given an invalid row height value
The AddChart function support set the data labels position for the chart, related issue #1704
The AddChart function support set solid color or transparent fill for chart area, plot area, and maker, add a new field Fill in Chart, ChartPlotArea, and ChartMarker data type, related issue #1786
The AddChart function support set chart axis font family, size and strike style, related issue #1809
Add new field DataLabelPosition in the ChartSeries data type, support to sets the position of the chart series data label
Add new field BubbleSize in the Chart data type, support set the bubble size in all data series for the bubble chart or 3D bubble chart
Add new exported ChartDataLabelPositionType data type
The GetPictureCells and GetPictures function support get embedded cell images created by Kingsoft WPS™ Office, related issue #664
The SetConditionalFormat function support set conditional formatting with multiple cell ranges, related issue #1783
... (truncated)
Commits
688808b This closes #1819, formula calculation engine support array formulas
02b84a9 This closes #1820, converted styleFillVariants from slice to func (#1821)
ee2ef15 This closes #1815, cell value reading functions inherit the Options settings ...
9cbe3b6 This closes #1807, calculation engine support date and formula type cell (#1810)
bba155e This closes #1805, support set chart axis font family, size and strike style ...
a258e3d Fix CalcCellValue does not return raw value when enable RawCellValue (#1803)
The MongoDB Go Driver Team is pleased to release version 1.13.2 of the official Go driver.
Release Notes
This release restores the behavior that an empty map or slice is decoded as nil, and fixes a bug of connecting via UNIX sockets like mongodb://%2Ftmp%2Fmongodb-27017.sock.
This release also stops propagating passwords in error messages.
For a full list of tickets included in this release, please see the links below:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the gomod-deps group with 9 updates:
1.62.0
1.63.0
1.32.0
1.33.0
1.5.1
1.5.6
1.25.4
1.25.7
1.2.1
1.2.2
1.7.1
1.8.1
1.10.1
1.12.0
2.8.0
2.8.1
1.12.0
1.14.0
Updates
google.golang.org/grpc
from 1.62.0 to 1.63.0Release notes
Sourced from google.golang.org/grpc's releases.
Commits
c68f456
Change version to 1.63.0 (#7050)6369167
*: update http2 dependency (#7082)8854761
cherry-pick: channelz: fix race accessing channelMap without lock (#7079) (#7...e62770d
channelz: add LocalAddr to listen sockets and test (#7062) (#7063)4ffccf1
googlec2p: use xdstp style template for client LDS resource name (#7048)faf9964
gracefulswitch: add ParseConfig and make UpdateClientConnState call SwitchTo ...800a8e0
channelz: re-add state for subchannels (#7046)dadbbfa
channelz: re-add target and state (#7042)55cd7a6
channelz: major cleanup / reorganization (#6969)a1033b1
xds: add LRS named metrics support (#7027)Updates
google.golang.org/protobuf
from 1.32.0 to 1.33.0Updates
gorm.io/driver/mysql
from 1.5.1 to 1.5.6Commits
9d1b8d6
Fix insert id order for mariadbd848c69
Fix set time field's precision to 0e724f92
only trim paired single-quotes for column.DefaultValue (#143)739f97b
feat: map mysql error 1451 to gorm error (#145)b87f024
fix: migrator for mysql 5.6 (#141)e05761b
refactor: distinguish between Unique and UniqueIndex (#123)7cfeac9
ci: update go testing versions (#140)a6570f0
fix: tidb error log (#136)2a61ba0
When adding a new column to a table, include a primary key if the field is ei...386f545
Update README.md (#126)Updates
gorm.io/gorm
from 1.25.4 to 1.25.7Commits
8fb9a31
refactor: part 2 of distinguish between Unique and UniqueIndex (#6822)9514d5f
let limit and offset use bind parameter (#6806)46816ad
refactor: distinguish between Unique and UniqueIndex (#6386)418ee3f
fix: preload shouldn't overwrite the value of join (#6771)e043924
chore(deps): bump actions/cache from 3 to 4 (#6802)0123dd4
fix: ignore .gen.go suffix in logger to get the real caller when using gen #6...940358e
Fix tests doesn't follow https://gorm.io/docs/method_chaining.html convention87decce
fix: ExplainSQL using consecutive pairs of escaper in SQL string represents a...436cca7
fix: join and select mytable.* not working (#6761)a2cac75
feature: bring custom type and id column name to polymorphism (#6716)Updates
github.com/alibabacloud-go/tea
from 1.2.1 to 1.2.2Release notes
Sourced from github.com/alibabacloud-go/tea's releases.
Commits
bb7ae5f
disable fail-fastc1f8e32
Bump github.com/alibabacloud-go/debugd755295
Bump golang.org/x/net from 0.11.0 to 0.20.0b81493c
fix: unescape unicode in sdk errorUpdates
github.com/go-sql-driver/mysql
from 1.7.1 to 1.8.1Release notes
Sourced from github.com/go-sql-driver/mysql's releases.
... (truncated)
Changelog
Sourced from github.com/go-sql-driver/mysql's changelog.
Commits
4395c45
update changelog for releasing v1.8.1 (#1576)7eeaba6
Fix issue 1567 (#1570) (#1571)65395d8
fix race condition when context is canceled (#1565)1e75613
add wrapper method to call mc.cfg.Logger (#1564)33fa6e5
replace interface{} with any (#1561)33b7747
Add BeforeConnect callback to configuration object (#1469)6964272
Make TimeTruncate functional option (#1552)097fe6e
Update workflows (#1547)f019727
add TiDB support in README.md (#1333)743e263
IntroducetimeTruncate
parameter fortime.Time
arguments (#1541)Updates
github.com/livekit/protocol
from 1.10.1 to 1.12.0Release notes
Sourced from github.com/livekit/protocol's releases.
Changelog
Sourced from github.com/livekit/protocol's changelog.
Commits
62e1809
Version Packages (#654)981fefb
Add signal requests for local track updates (#651)44e9dc3
Allow sending DTMF when creating SIP participant (#658)4d22b4c
Move CPU stats to a separate hwstats package. Fixes #659. (#660)feb177f
call config observers synchronously (#657)a9939bc
fix(deps): update module google.golang.org/protobuf to v1.33.0 [security] (#656)8d755b4
add emit config update helper (#655)912f0cf
Add bounds check when trimming the number. (#650)d676388
Fix tag name string formatting (#653)b4eb83d
Version Packages (#652)Updates
github.com/xuri/excelize/v2
from 2.8.0 to 2.8.1Release notes
Sourced from github.com/xuri/excelize/v2's releases.
... (truncated)
Commits
688808b
This closes #1819, formula calculation engine support array formulas02b84a9
This closes #1820, converted styleFillVariants from slice to func (#1821)ee2ef15
This closes #1815, cell value reading functions inherit the Options settings ...9cbe3b6
This closes #1807, calculation engine support date and formula type cell (#1810)bba155e
This closes #1805, support set chart axis font family, size and strike style ...a258e3d
Fix CalcCellValue does not return raw value when enable RawCellValue (#1803)99e91e1
This closes #1794, add new GetBaseColor function (#1798)9a68553
This closes #1792, support to update defined names reference when rename work...e4497c4
ref #65, new formula function: DBCS (#1791)9b07898
This closes #1789, delete VML shape on delete comment (#1790)Updates
go.mongodb.org/mongo-driver
from 1.12.0 to 1.14.0Release notes
Sourced from go.mongodb.org/mongo-driver's releases.
... (truncated)
Commits
1c38449
Update version to v1.14.09c6603d
GODRIVER-2335 Preemptively cancel in progress operations when SDAM heartbeats...556e2f2
GODRIVER-3046 Fix FaaS Test Configuration (#1558)9afea90
GODRIVER-2886 Provide more detailed deprecation notes for BSON codecs. (#1551)414aa9f
GODRIVER-3082 go mod tidy compilecheck package (#1557)5bd7ffb
Bump golang.org/x/crypto from 0.0.0-20220622213112-05595931fe9d to 0.17.0 in ...0026f0f
Bump golang.org/x/crypto from 0.0.0-20220622213112-05595931fe9d to 0.17.0 in ...2b1c4c7
Bump golang.org/x/crypto from 0.0.0-20220622213112-05595931fe9d to 0.17.0 in ...6e971fa
Bump golang.org/x/crypto from 0.0.0-20220622213112-05595931fe9d to 0.17.0 in ...63ef4ad
Bump golang.org/x/crypto from 0.0.0-20220622213112-05595931fe9d to 0.17.0 in ...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show