Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

chore: update go dependencies - autoclosed #452

Closed
wants to merge 1 commit into from
Closed

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 4, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
github.com/99designs/gqlgen require patch v0.17.39 -> v0.17.41
github.com/go-playground/validator/v10 require minor v10.11.1 -> v10.16.0
github.com/joho/godotenv require minor v1.4.0 -> v1.5.1
github.com/labstack/echo/v4 require patch v4.11.2 -> v4.11.3
github.com/paulmach/go.geojson require minor v1.4.0 -> v1.5.0
github.com/qmuntal/gltf require patch v0.24.0 -> v0.24.2
github.com/reearth/reearthx require digest 30170f2 -> 5beb5d6
github.com/samber/lo require minor v1.38.1 -> v1.39.0
github.com/sendgrid/sendgrid-go require minor v3.13.0+incompatible -> v3.14.0+incompatible
github.com/spf13/afero require minor v1.10.0 -> v1.11.0
github.com/tdewolff/canvas require digest 9eb6d39 -> 67b379b
github.com/thanhpk/randstr require patch v1.0.4 -> v1.0.6
github.com/xuri/excelize/v2 require minor v2.6.1 -> v2.8.0
go (source) golang patch 1.21 -> 1.21.5
golang.org/x/exp require digest 9a3e603 -> f3f8817
golang.org/x/net require minor v0.18.0 -> v0.19.0
gonum.org/v1/gonum require minor v0.13.0 -> v0.14.0

Release Notes

99designs/gqlgen (github.com/99designs/gqlgen)

v0.17.41

Compare Source

5e98a16a fix fieldset.New bug when prefix slice has len < cap (#​2851)
  • fix fieldset.New bug when prefix slice has len < cap

  • ignore gocritic warning

bd9657f3 Improve ResolverImplementer.Implment (#​2850)
  • improve resolver implement render

  • add error when multiple implementors

  • add initial test

cb3c1c89 Updated apollo sandbox (#​2849)

Added all supported options to new window.EmbeddedSandbox object

eb5cea72 Small template fix to save space in the generated file (#​2841)
  • Small template fix to save space in the generated file

  • Re-generate


132ec1ce Updated GraphiQL 3.0.1 => 3.0.6 (#​2837)
  • Updated GraphiQL 3.0.1 => 3.0.6

  • Added unit tests to cover integrity of playgrounds

  • Updated vulnerable dependency

  • Close response body

  • 9174070 v0.17.40 postrelease bump

v0.17.40

Compare Source

What's Changed

Full Changelog: 99designs/gqlgen@v0.17.39...v0.17.40

go-playground/validator (github.com/go-playground/validator/v10)

v10.16.0: Release 10.16.0

Compare Source

What's new or fixed?

  • Added new issn validator. TY @​mrcook for the PR
  • Added improvement/fix to the file url validation. TY @​nodivbyzero for the PR
  • Fix onof tag in examples. TY @​gren236 for the PR
  • Add fmt.Stringer interface support to uuid validations allowing most UUID validation libraries which implement it to work transparently now. TY @​JoshGlazebrook for the PR
  • Added new omitnil similar to omitempty but for pointers. this is mainly for code generation ease. TY @​tarampampam for the PR

v10.15.5: Release 10.15.5

Compare Source

What was fixed?

Fixed CIDRIPv4 validation, ty @​martinlehoux for the PR

v10.15.4: Release 10.15.4

Compare Source

What was fixed?

Corrected a regression of skipping required for time.Time accidentally introduced in v10.15.2

v10.15.3: Release 10.15.3

Compare Source

What was fixed?

Fix regression for invalid type check before calling reflect values type. Thank you @​MysteriousPotato for the PR

v10.15.2: Release 10.15.2

Compare Source

What was fixed?
  • Refactored #​1122 to support or's in tags + updated to required behaving the same as before v10.50.0 to support the community as there was a lot of code relying on the before behaviour, correct or not.

v10.15.1: Release 10.15.1

Compare Source

What was fixed?

Corrected a few validations including gt, lt, ... when using floating point values, specifically float32, in this PR

v10.15.0: Release 10.15.0

Compare Source

What's new?
  • Applying tag validations on structs is now a reality thank to @​MysteriousPotato in this PR
  • Added oneof tag to examples in this PR
  • Added Spice DB validations in this PR

What was fixed?

  • Fixed the REAMD logo link in this PR
  • Fixed filepath validation when path is a directory in this PR
  • Correct to docs in this PR

v10.14.1: Release 10.14.1

Compare Source

What was fixed?

  • Add allowance to valid JSOn for types convertible to such as json.RawMessage in this PR
  • Fix URL validation with only schema in this PR

v10.14.0: Release 10.14.0

Compare Source

What's new?

  • Added on disk file validation from this PR
  • Enhanced credit card validation test to 100% with this PR

v10.13.0: Release 10.13.0

Compare Source

What's new?

  • Added skip_unless validation.

What was fixed?

  • Fixed excluded_if validation not working as documented.
  • Fix state and province codes to meet iso3166_2 standard.
  • Update go-urn library to remove GPLv3 library dependency
  • Many updates to documentation.

v10.12.0: Release 10.12.0

Compare Source

What is new?

  • Added eth_addr_checksum validation.
  • Added eg_ignore_case and ne_ignore_case
  • Added http_url validation for http(s) URL's
  • Added cron validation.
  • Added unique validation ability to validate struct fields.
  • Added base64rawurl validation for base64 url without = padding
  • Added mongodb objectID validation
  • Added filepath validation.
  • Added dirpath validation.
  • Added luhn_checksum validation.
  • Added cve validation.
  • Added kosovo to country codes.
  • Added Latvian translations.
  • Added multiple missing language translations.

What was fixed?

  • Fixed multiple documentation grammar issues.
  • Updated all dependencies to address any lingering CVE issues be reported by tools, even if not able to exploit through this package.
  • Fixed excluded_unless validation.
  • Fix unique validation for map with Pointer values.
  • Fixed unique validation for struct field when itis a nil pointer.
  • Fixed multiple language validation.
  • Fixed notblank validation to cover all whitespace characters

What was changed?

  • Tweaked eth_addr validation while adding eth_addr_checksum.
  • Updated Struct Level validation example for enum+ example.
  • Removed unnecessary cast allowing mocking of ValidationErrors

v10.11.2: Release 10.11.2

Compare Source

What was fixed

  • Merged some PR and updated deps to address some CVE's in those libraries.
joho/godotenv (github.com/joho/godotenv)

v1.5.1: Fix parser regressions from multiline support

Compare Source

Version 1.5 came with a whole new parser, and with a new parser comes new bugs.

Things that were broken in 1.5 that are now fixed:

  • unquoted variables with interior whitespace no longer split on the first space (and then break the following line if you have one)
  • inline comments now work again for both quoted and unquoted variables
  • export statement filtering was made more robust and matched earlier versions behaviour
  • FOO.BAR key names are permitted again (i have no idea why you'd do it, but it's explicitly supported in ruby dotenv files)

There's one breaking change: earlier versions of this library would allow unterminated quoted variables in some instances and return a value (ie FOO="bar would set env of FOO: '"bar'), this now returns an error.

What's Changed

Full Changelog: joho/godotenv@v1.5.0...v1.5.1

v1.5.0: - multiline variables

Compare Source

The big news this release is that godotenv finally, after much procrastination in review, supports multiline variables (fixes #​64). Big shoutout to @​x1unix for the bulk of the work on the original PR and also to @​coolaj86 and @​austinsasko for some very helpful review and tweaks.

Also added a -o overload flag (thanks @​2tef)

What's Changed

New Contributors

Full Changelog: joho/godotenv@v1.4.0...v1.5.0

labstack/echo (github.com/labstack/echo/v4)

v4.11.3

Compare Source

Security

  • 'c.Attachment' and 'c.Inline' should escape filename in 'Content-Disposition' header to avoid 'Reflect File Download' vulnerability. #​2541

Enhancements

  • Tests: refactor context tests to be separate functions #​2540
  • Proxy middleware: reuse echo request context #​2537
  • Mark unmarshallable yaml struct tags as ignored #​2536
paulmach/go.geojson (github.com/paulmach/go.geojson)

v1.5.0

Compare Source

What's Changed

New Contributors

Full Changelog: paulmach/go.geojson@v1.4...v1.5.0

qmuntal/gltf (github.com/qmuntal/gltf)

v0.24.2

Compare Source

What's Changed

New Contributors

Full Changelog: qmuntal/gltf@v0.24.1...v0.24.2

v0.24.1

Compare Source

What's Changed

New Contributors

Full Changelog: qmuntal/gltf@v0.24.0...v0.24.1

samber/lo (github.com/samber/lo)

v1.39.0

Compare Source

Adding lo.IsNil helper

sendgrid/sendgrid-go (github.com/sendgrid/sendgrid-go)

v3.14.0+incompatible

Compare Source

spf13/afero (github.com/spf13/afero)

v1.11.0

Compare Source

What's Changed

Full Changelog: spf13/afero@v1.10.0...v1.11.0

thanhpk/randstr (github.com/thanhpk/randstr)

v1.0.6

Compare Source

v1.0.5

Compare Source

xuri/excelize (github.com/xuri/excelize/v2)

v2.8.0

Compare Source

We are pleased to announce the release of version 2.8.0. 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
  • Rename exported variable ErrTableNameLength to ErrNameLength
  • Rename exported type PaneOptions to Selection
  • Rename the Runs field to Paragraph in the exported Comment data type
  • Remove the Lang field in the Style data type
  • Removed exported ChartTitle data type, and using the RichTextRun data type instead of it
  • Changed the data type for the DecimalPlaces to pointer of integer
  • Change the default point to pixels conversion factor, resolve issues #​279 and #​1536
  • Change the AddShape function signature: func (f *File) AddShape(sheet, cell string, opts *Shape) error to func (f *File) AddShape(sheet string, opts *Shape) error
Notable Features
  • Add new exported error variables ErrExistsTableName and ErrorFormControlValue
  • Add new options ShortDatePattern, LongDatePattern, LongTimePattern and CultureInfo in the Options data type, related issue #​1199
  • Add new exported data type CultureName enumeration for country code
  • New functions GetTables and DeleteTablesupport to get and remove tables, related issues #​674 and #​1454
  • New function GetStyle support to get style definitions, related issues #​314, #​1520 and #​1521
  • Support applying cell value with placeholder, padding, rounds numbers, currency, accounting and switches argument number format, and support applying date and time number format for 812 language tags, related issue #​660
  • New support 10 formula functions: ARRAYTOTEXT, FORECAST, FORECAST.LINEAR, FREQUENCY, INTERCEPT, ODDFYIELD, ODDLPRICE, ODDLYIELD, PROB, VALUETOTEXT
  • Add file path length limitation details in the error message
  • New function GetPanes support to get sheet panes and view selection
  • New functions AddFormControl, GetFormControls and DeleteFormControl support to form controls, related issues #​301 and #​1169
  • The AddChart function support set primary titles, related issue #​1553
  • The AddChart function support creating chart with a secondary series axis, related issue #​518
  • The AddChart function support formatting and setting rich text titles for the chart, related issue #​1588
  • Add check for shape type for the AddShape function, an error will be returned if no shape type is specified
  • Support read cell values formatted by the Japanese calendar number format, related issue #​1590
  • The GetPictures function support read one cell anchor pictures, related issue #​1585
  • The NewConditionalStyle function support to create a conditional format with number format and protection, related issue #​1610
Improve the Compatibility
  • Support checking cell value length with multi-bytes characters, related issue #​1517
  • Prevent create duplicate tables and defined name with the same name
  • Improve the cell comment box shape size compatibility with KingSoft WPS
  • Support fallback to default column width in sheet format property, related issue #​1536
  • Made case in-sensitive for internal worksheet XML path to improve compatibility, related issue #​1591
Bug Fixes
  • Escape XML characters after checking cell value length, fix stream writer generated file corrupted, resolve issues #​1518, #​1519 and #​1530
  • Fix incorrect comment box size for multi-line plain text comments
  • Preventing format text cell value as a numeric, resolve issues #​1523, #​1528 and #​1533
  • Fix race conditions for concurrency safety functions
  • Fix incorrect round millisecond for the date time
  • Fix incorrect number formatted result for date and time with 12 hours at AM
  • Fix incorrect formula functions SUMIFS and AVERAGEIFS result, resolve issue #​1564
  • Fix basic arithmetic operator priority issues in the calculating engine, resolve issue #​1599
  • Fix across worksheet reference issue for the formula calculation engine
  • Fix adjust table issue when after removing rows, resolve issue #​1539
  • Support to get multiple images in one cell, resolve issue #​1548
  • Fix the added picture position was incorrect in some cases, resolve issue #​1560
  • Support adjusting the formula when inserting columns and rows, fix the workbook corruption caused by inserting columns or rows caused, resolve issue #​1565
  • Formula function CONCAT, CONCATENATE support concatenation of multiple cell values, resolve issue #​1569
  • Fix incorrect formula calculate results on a nested argument function which returns a numeric result, resolve issue #​1582
  • Fix internal graphic object counter issues caused added picture was duplicated, resolve issue #​1584
  • Fix read date time cell result was incorrectly caused by hours rounding issue, resolve issue #​1587
  • Fix panic on getting merged cells with the same start and end axis
Performance
  • Optimizing regexp calls to improve performance, related issue #​1532
  • This avoid unnecessary byte/string conversion, related issue #​1541
Miscellaneous
  • The dependencies module has been updated
  • Simplify variable declaration and error return statements
  • Remove the built-in language number format code mapping with Unicode values
  • Remove the internal xlsxTabColor data type, using the xlsxColor data type instead of xlsxTabColor
  • Unit tests and godoc updated
  • Documentation website with multilingual: Arabic, German, Spanish, English, French, Russian, Chinese, Japanese, and Korean, which has been updated
Thank you

Thanks for all the contributors to Excelize. Below is a list of contributors that have code contributions in this version:

v2.7.1

Compare Source

We are pleased to announce the release of version 2.7.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
  • Remove the Color field in the ChartLine data type
  • Replace the data type ShapeParagraph with RichTextRun
  • Remove the Color field from the type Shape, and uses the Fill instead of it
  • Remove the exported type AutoFilterListOptions
  • Rename the exported type TableOptions to Table
  • The AddChart function require using ChartType enumeration value to specify the chart type
  • Change 7 functions signature:
    • Change the func (f *File) AutoFilter(sheet, rangeRef string, opts *AutoFilterOptions) error to func (f *File) AutoFilter(sheet, rangeRef string, opts []AutoFilterOptions) error
    • Change the func (f *File) AddPictureFromBytes(sheet, cell, name, extension string, file []byte, opts *GraphicOptions) error to func (f *File) AddPictureFromBytes(sheet, cell string, pic *Picture) error
    • Change the func (f *File) GetPicture(sheet, cell string) (string, []byte, error) to func (f *File) GetPictures(sheet, cell string) ([]Picture, error)
    • Change the func (f *File) AddVBAProject(bin string) error to func (f *File) AddVBAProject(file []byte) error
    • Change the func (f *File) GetComments() (map[string][]Comment, error) to func (f *File) GetComments(sheet string) ([]Comment, error)
    • Change the func (f *File) AddTable(sheet, rangeRef string, opts *TableOptions) error to func (f *File) AddTable(sheet string, table *Table) error
    • Change the func (sw *StreamWriter) AddTable(rangeRef string, opts *TableOptions) error to func (sw *StreamWriter) AddTable(table *Table) error
Notable Features
  • Add new functions SetSheetDimension and GetSheetDimension for workbook dimension supports, related issue #​1463
  • The NewStyle function support to create of 17 kinds of fill variants styles
  • Increase max cell styles limit to 65430
  • The AddPicture function allowing insert BMP format images
  • The GetPictures function support to get multiple images in a cell
  • The SetConditionalFormat function support to creating a conditional format with a "stop if true" or "icon sets" rule
  • The SetConditionalFormat function support to set border color and create solid color for the color data bar, related issue #​1462
  • The AddChart function support to set the format for the chart data series solid fill, related issue #​1474
  • The AddChart function support to set the bubble size in a data series
  • The AddChart function support to specifies the values in second plot for the bar/pie of pie chart
  • The AddChart function support to set number format for chart data labels and axis, related issue #​1499
  • The AddTable function support to specify if show header row of the table when create the table
  • The AddTable function support to validate table name, and added a new error constant ErrTableNameLength, related issue #​1468
  • The AutoFilter function support to add multiple filter columns when create auto filter
  • The CalcCellValue function support to specify if applying number format style for the cell calculation result
  • The CalcCellValue function support double-byte chars for formula functions: LEFT, LEN, LENB, MID, MIDB, RIGHT and RIGHTB, related issue #​1476
  • The CalcCellValue function now returns formula error string in the result, and using the error message in returns error, related issue #​1490
  • Case-insensitive for the image file extension name, related issue #​1503
  • The stream writer will be skip set cell value when got nil value, related issue #​756
  • The GetCellHyperLink function support get cell hyperlink for merged cells
  • Add new exported data type ChartType for represents chart type enumeration
Improve the Compatibility
  • Add support for workbook function groups
  • Add support for strict theme namespace, related issue #​1447
  • Fix panic caused by the workbook relationship part not exist
  • Improve compatibility with SST index which contains blank characters, related issue #​1508
Bug Fixes
  • Fix decimal number format round issue in some cases
  • Fix incorrect cell type when modifying string cell with the time number, resolve issue #​1464
  • Fix cell resolver caused incorrect calculation result, resolve issue #​1469
  • Fix conditional format data bar min/max value doesn't work, resolve issue #​1492
  • Supports 0 row height and column width, resolve issue #​1461
Performance
  • Improve performance for apply number format with month name, related issue #​1455
  • Speed up for checking merged cells, related issue #​1448
Miscellaneous
  • A pure WebAssembly / Javascript port of Go Excelize library named excelize-wasm NPM package has been production-ready use
  • The dependencies module has been updated
  • Unit tests and godoc updated
  • Using the specialized name in variables and functions
  • Documentation website with multilingual: Arabic, German, Spanish, English, French, Russian, Chinese, Japanese, and Korean, which has been updated
Thank you

Thanks for all the contributors to Excelize. Below is a list of contributors that have code contributions in this version:

v2.7.0

Compare Source

We are pleased to announce the release of version 2.7.0. 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.16 or later, for migration of deprecation package ioutil
  • Checking and return error for invalid sheet name instead of trim invalid characters
  • The GetCellStyle function no longer return master cell style of the merge cell range
  • Rename 5 exported data types and error constant:
    • Rename PivotTableOption to PivotTableOptions
    • Rename FormatHeaderFooter to HeaderFooterOptions
    • Rename FormatSheetProtection to SheetProtectionOptions
    • Rename SparklineOption to SparklineOptions
    • Rename ErrExistsWorksheet to ErrExistsSheet
  • Remove 54 exported types: AutoPageBreaks, BaseColWidth, BlackAndWhite, CodeName, CustomHeight, Date1904, DefaultColWidth, DefaultGridColor, DefaultRowHeight, EnableFormatConditionsCalculation, FilterPrivacy, FirstPageNumber, FitToHeight, FitToPage, FitToWidth, OutlineSummaryBelow, PageLayoutOption, PageLayoutOptionPtr, PageLayoutOrientation, PageLayoutPaperSize, PageLayoutScale, PageMarginBottom, PageMarginFooter, PageMarginHeader, PageMarginLeft, PageMarginRight, PageMarginsOptions, PageMarginsOptionsPtr, PageMarginTop, Published, RightToLeft, SheetFormatPrOptions, SheetFormatPrOptionsPtr, SheetPrOption, SheetPrOptionPtr, SheetViewOption, SheetViewOptionPtr, ShowFormulas, ShowGridLines, ShowRowColHeaders, ShowRuler, ShowZeros, TabColorIndexed, TabColorRGB, TabColorTheme, TabColorTint, ThickBottom, ThickTop, TopLeftCell, View, WorkbookPrOption, WorkbookPrOptionPtr, ZeroHeight and ZoomScale
  • Remove 2 exported constants: OrientationPortrait and OrientationLandscape
  • Change 21 functions signature:
    • Change the func (f *File) SetPageLayout(sheet string, opts ...PageLayoutOption) error to func (f *File) SetPageLayout(sheet string, opts *PageLayoutOptions) error
    • Change the func (f *File) GetPageLayout(sheet string, opts ...PageLayoutOptionPtr) error to func (f *File) GetPageLayout(sheet string) (PageLayoutOptions, error)
    • Change the func (f *File) SetPageMargins(sheet string, opts ...PageMarginsOptions) error to func (f *File) SetPageMargins(sheet string, opts *PageLayoutMarginsOptions) error
    • Change the func (f *File) GetPageMargins(sheet string, opts ...PageMarginsOptionsPtr) error to func (f *File) GetPageMargins(sheet string) (PageLayoutMarginsOptions, error)
    • Change the func (f *File) GetSheetIndex(sheet string) int to func (f *File) GetSheetIndex(sheet string) (int, error)
    • Change the func (f *File) SetSheetName(source, target string) to func (f *File) SetSheetName(source, target string) error
    • Change the func (f *File) GetSheetVisible(sheet string) to func (f *File) GetSheetVisible(sheet string) (bool, error)
    • Change the func (f *File) DeleteSheet(sheet string) to func (f *File) DeleteSheet(sheet string) error
    • Change the func (f *File) NewSheet(sheet string) int to func (f *File) NewSheet(sheet string) (int, error)
    • Change the func (f *File) NewConditionalStyle(style string) (int, error) to func (f *File) NewConditionalStyle(style *Style) (int, error)
    • Change the func (f *File) NewStyle(style interface{}) (int, error) to func (f *File) NewStyle(style *Style) (int, error)
    • Change the func (f *File) AddChart(sheet, cell, opts string, combo ...string) error to func (f *File) AddChart(sheet, cell string, chart *ChartOptions, combo ...*ChartOptions) error
    • Change the func (f *File) AddChartSheet(sheet, opts string, combo ...string) error to func (f *File) AddChartSheet(sheet string, chart *ChartOptions, combo ...*ChartOptions) error
    • Change the func (f *File) AddShape(sheet, cell, opts string) error to func (f *File) AddShape(sheet, cell string, opts *Shape) error
    • Change the func (f *File) AddPicture(sheet, cell, picture, format string) error to func (f *File) AddPicture(sheet, cell, picture string, opts *GraphicOptions) error
    • Change the func (f *File) AddPictureFromBytes(sheet, cell, opts, name, extension string, file []byte) error to func (f *File) AddPictureFromBytes(sheet, cell, name, extension string, file []byte, opts *GraphicOptions) error
    • Change the func (f *File) AddTable(sheet, hCell, vCell, opts string) error to func (f *File) AddTable(sheet, rangeRef string, opts *TableOptions) error
    • Change the func (sw *StreamWriter) AddTable(hCell, vCell, opts string) error to func (sw *StreamWriter) AddTable(rangeRef string, opts *TableOptions) error
    • Change the func (f *File) AutoFilter(sheet, hCell, vCell, opts string) error to func (f *File) AutoFilter(sheet, rangeRef string, opts *AutoFilterOptions) error
    • Change the func (f *File) SetPanes(sheet, panes string) error to func (f *File) SetPanes(sheet string, panes *Panes) error
    • Change the func (f *File) SetConditionalFormat(sheet, reference, opts string) error to func (f *File) SetConditionalFormat(sheet, rangeRef string, opts []ConditionalFormatOptions) error
  • Introduce new function to instead of existing functions:
    • Use SetSheetProps instead of SetSheetPrOptions and SetSheetFormatPr
    • Use GetSheetProps instead of GetSheetPrOptions and GetSheetFormatPr
    • Use SetSheetView instead of SetSheetViewOptions
    • Use GetSheetView instead of GetSheetViewOptions
    • Use SetWorkbookProps instead of SetWorkbookPrOptions
    • Use GetWorkbookProps instead of GetWorkbookPrOptions
    • Use InsertRows instead of InsertRow for support inserting multiple rows at once
    • Use InsertCols instead of InsertCol for support inserting multiple columns at once
  • Add CellTypeFormula, CellTypeInlineString, CellTypeSharedString and remove CellTypeString in CellType enumeration
  • The parameter has been changed for the AddComment function, support create rich-text in comments, related issue #​1204
  • Remove internal error log print, an error will be returned when XML deserialize error, add error return value for the GetComments, GetDefaultFont and SetDefaultFont functions
Notable Features
  • Add new functions GetDataValidations and GetConditionalFormats for get data validations and conditional formats, related issue #​827
  • Add new functions ProtectWorkbook and UnprotectWorkbook for workbook protection supports
  • Add new function SetSheetCol for set worksheet column cells, related issue #​1247
  • Add new function GetColStyle for get column styles, related issue #​1293
  • Add new function SetSheetBackgroundFromBytes for set background picture by given image data, related issue #​1405
  • Add new export variable IndexedColorMapping
  • Add 20 export types: AutoFilterListOptions, AutoFilterOptions, Chart, ChartAxis, ChartDimension, ChartLegend, ChartLine, ChartMarker, ChartPlotArea, ChartSeries, ChartTitle, ConditionalFormatOptions, PaneOptions, Panes, GraphicOptions, Shape, ShapeColor, ShapeLine, ShapeParagraph and TableOptions
  • New support 2 formula functions: AGGREGATE and SUBTOTAL
  • The Save, Write and WriteTo function now accept saving options, related issue #​744
  • The AddChart function support specify if smooth line of the line chart, related issue #​1290
  • The AddChart function support set custom line color in the charts, related issue #​1345
  • The AddChart function support custom chart axis font style, related issue #​320
  • The AddChart function support create 3D line chart
  • The functions SetColWidth, GetColWidth, SetColVisible, GetColVisible, SetColStyle and GetColStyle now support concurrency safe
  • An error will be returned when set the not exist style ID, related issue #​1323
  • An error will be returned when setting the stream row without ascending row numbers, to avoid potential mistakes, related issue #​1139
  • The stream writer will be apply style in RowOpts for each cell, related issue #​1354
  • The stream writer support to set panes, related issue #​1047
  • The stream writer support to set inline rich text cell
  • The stream writer support to insert the page break
  • New 7 exported errors: ErrUnprotectWorkbook, ErrUnprotectWorkbookPassword, ErrStreamSetPanes, ErrSheetNameBlank, ErrSheetNameInvalid, ErrSheetNameLength and ErrSheetNameSingleQuote has been added
  • Introduce 5 new export data types: HeaderFooterOptions, PageLayoutMarginsOptions, PageLayoutOptions, SheetPropsOptions, and ViewOptions
  • Support to set summary columns to appear to the right of detail in an outline
  • Support to set and get font color with theme and tint, related issue #​1369
  • Support get cell value which contains a date in the ISO 8601 format
  • Support set and get font color with indexed color
  • Support update column style when inserting or deleting columns
  • The workbook Close function now support cleanup stream writer temporary files
  • The AddPicture function now allowing insert SVG format images
Improve the Compatibility
  • Stream writer writes inline string type for string cell value, related issue #​1377
  • Skip empty rows when saving the spreadsheet to reduce file size, related issue #​1383
Bug Fixes
  • Fix decimal number format round issue with build-in number format, resolve issue #​1328, #​1368 and #​1373
  • Fix apply AM/PM number format issue in some case, resolve issue #​1338
  • Fix the panic when delete comments caused by slice bounds out of range, resolve issue #​1343
  • Fix the panic when get cell value in some case, resolve issue #​1384 and #​1415
  • Fix default number format parse issue with a long string of digits, resolve issue #​1360
  • Fix creating a sheet with an empty name cause a corrupted file, resolve issue #​1361
  • Fix get image content was empty after inserting image
  • Fix generate workbook corruption after insert columns/rows in some case
  • Delete shared formula in calc chain when writing a formula cell, to fix generate workbook corruption in some case
  • Normalize the sheet name to fix behavior regression between 2.6.0 & 2.6.1, resolve issue #​1365
  • Fix the formula calculation result issue of the OR function
  • Fix error on inserting columns or rows on the worksheet which contains one cell merged cell range
  • Fix error on getting the range of merged cells on the worksheet which contains one cell merged cell range
  • Fix getting incomplete rich text cell value in some cases
  • Escape XML characters for stream writer to avoid with corrupt file, resolve issue #​1391
  • Fix formula function ADDRESS result error with empty worksheet name, resolve issue #​1396
  • Fix insert picture problem in some cases, resolve issue #​1404
Performance
  • Improve performance for stream writer merging cells, time cost decrease over 90% and reduce memory usage by about 86% at most
  • Improving performance for stream writer SetRow function, reduces memory usage over and speedup about 19%
Miscellaneous
  • The dependencies module has been updated
  • Unit tests and godoc updated
  • Using the specialized name in variables and functions
  • Documentation website with multilingual: Arabic, German, Spanish, English, French, Russian, Chinese, Japanese, and Korean, which has been updated
Thank you

Thanks for all the contributors to Excelize. Below is a list of contributors that have code contributions in this version:

golang/go (go)

v1.21.5

v1.21.4

v1.21.3

v1.21.2

v1.21.1


Configuration

📅 Schedule: Branch creation - "before 3:00 am on the 4th day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@github-actions github-actions bot added the server label Jul 4, 2023
@renovate renovate bot force-pushed the renovate/gomod branch 4 times, most recently from 90af49f to c210fc9 Compare July 11, 2023 06:39
@renovate renovate bot force-pushed the renovate/gomod branch 8 times, most recently from 07cd402 to 37b2a16 Compare July 18, 2023 14:22
@renovate renovate bot force-pushed the renovate/gomod branch 10 times, most recently from 42f5355 to 40d3aed Compare July 27, 2023 01:41
@renovate renovate bot force-pushed the renovate/gomod branch 7 times, most recently from e0bcb96 to 4a01784 Compare August 1, 2023 23:09
@renovate renovate bot force-pushed the renovate/gomod branch 8 times, most recently from ff09e6d to f92bb8d Compare November 28, 2023 10:09
@renovate renovate bot force-pushed the renovate/gomod branch 9 times, most recently from 81a6b80 to 2307d24 Compare December 6, 2023 06:55
@renovate renovate bot force-pushed the renovate/gomod branch 8 times, most recently from 2da8178 to cfd14da Compare December 7, 2023 06:22
@renovate renovate bot changed the title chore: update go dependencies chore: update go dependencies - autoclosed Dec 7, 2023
@renovate renovate bot closed this Dec 7, 2023
@renovate renovate bot deleted the renovate/gomod branch December 7, 2023 13:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants