goctl/v1.8.3-beta
We are excited to announce the release of go-zero v1.8.3-beta, bringing new features, important fixes, and experimental capabilities to enhance your development experience.
-
[Experimental] Swagger Enhancements:
- Built-in support for generating Swagger documents in
goctl
.- Custom Authentication: Configure custom Swagger authentication.
- Complex Structures: Generate Swagger definitions for complex structures.
- Custom Example Values: Add custom example values in Swagger.
- Custom Response Body Format: Define response body formats.
- Custom Business Error Codes: Enumerate error codes for business logic.
For more details, refer to:
- 中文文档 | English
- Built-in support for generating Swagger documents in
-
[Experimental] API Types File Splitting:
- Optional form fields in requests. (#4755)
- Corrected the
required
parameter in generated Swagger documents. (#4791) - Fixed Swagger separator issue on Windows OS. (#4799)
- Resolved incorrect array schema generation. (#4801)
- Fixed missing security definition and JSON body data error in Swagger. (#4808)
For a detailed list of changes, refer to the Full Changelog.
Thank you to all the contributors who made this release possible! 🎉
v3.69.0
This release contains improvements and bug fixes.
- US-413 Fix
TestExtractImages
test on arm64 arch - US-414 Fix
TestFdfMerging
test on arm64 arch - US-416 Fix
TestOptimizePdfADocuments
test on arm64 arch - US-417 Fix
TestOptimizePdf2ADocuments
test on arm64 arch - US-953 Fix PDF fails to split when PDF having invalid xref object
- US-963 Fix issue when processing inline image with the parameter L instead of Length
- US-974 Fix CI build imagemagick repository
- US-1001 Fix malformed PDF document produced when the catalog child is not an indirect object
Release v1.26.0
- Preparestmt use LRU Map instead default map @Yaccc (#7435)
- use golangci replace reviewdog @jinzhu (#7426)
- test: mssql ci @a631807682 (#7388)
- fix deprecated reflect.PtrTo reflect.PointerTo usage @Aman-Shitta (#7366)
- Fix concurrent map writes #7297 @Ponywka (#7298)
- chore: update copyright year @maxktz (#7332)
- Enhance db.Scan with ParamsFilter - Issue 7336 - Suggestion @evyaffe (#7337)
- Fixed Empty Returning Clause Merge Edge Case @aviyam181199 (#7339)
- feat:Capitalize the priority field of IndexOption(https://github.com/go-gorm/gorm/issues/7331) @nowindexman (#7342)
- fix: deterministic index ordering when migrating @bamo (#7208)
- use map look-up for indexes @abbyssoul (#7242)
- [#6372] Fixed nullable constraint bug for columns during auto migration @wookie0 (#7269)
- Create CODE_OF_CONDUCT.md @omidfth (#7240)
- Enhance Release Process: Implement Automated Release Management and Notes Generation @YidiDev (#7224)
- refactor: improve logging for unimplemented ErrorTranslator in TranlateError config enabled @Invidam (#7225)
- Add GitHub Actions workflow to automate release creation on tagged pushes @YidiDev (#7209)
- Use official SQL Server docker image for tests @omkar-foss (#7205)
- feat: Modernize Docker Compose File @isso-719 (#7086)
- Generate unique savepoint names for nested transactions @phroggyy (#7174)
- fix: AfterQuery using safer right trim while clearing from clause's j… @bhowmik-abhijeet (#7153)
- fix memory leaks in PrepareStatementDB @ivila (#7142)
- ci: Add PostgreSQL 14 and 15 to GitHub Actions matrix @enomotodev (#7081)
- feat: add MapColumns method @molon (#6901)
- add DB level propagation for the Unscoped flag @sprataa (#7007)
- fix(scan): update Scan function to reset structs to zero values for each scan @Waldeedle (#7061)
- fix: use reflect.Append when preloading nested associations instead of making a slice with fixed size @emilienkofman (#7014)
- Fix association replace non-addressable panic @SergeiSadov (#7012)
- fix:
unsupported data
on nested joins with preloads @N-Schaef (#6957) - fix: AfterQuery should clear FROM Clause's Joins rather than the Stat… @liov (#7027)
- feat: chainable order support clause.OrderBy @supergem3000 (#7054)
- fix: strings.Title -> cases.Title bcs strings.Title library is deprecated @ryuji-cre8ive (#6999)
- fix: typo @hakusai22 (#7003)
- Fix handling of unknown column types @looi (#6540)
- Fix panic bug in migrator due to lack of nil check for stmt.Schema @pixelmaxQm (#6932)
- Add new error for "Violation Check Constraint" @anilsenay (#6992)
- fix: not clause with or condition @a631807682 (#6984)
- perf: merge nested preload query when using join @a631807682 (#6990)
- Faster utils.FileWithLineNum @kkocdko (#6981)
- Added comment describing Unscoped() method @AntonyChR (#6969)
- fix: duplicated preload @yetone (#6948)
- feat: prepare_stmt support ping @philhuan (#6924)
- fix: remove
callback
fromcallbacks
ifRemove()
called @snackmgmg (#6916) - fix: 'type XXXX int' will print wrong sql to terminal @wangzeping722 (#6917)
- chore: optimize
regEnLetterAndMidline
regular @demoManito (#6908) - fix(create): fix insert column order @archever (#6855)
- chore: optimize conversion of nanoseconds to milliseconds @demoManito (#6907)
- fix(scan): array element is set to a zero value @demoManito (#6890)
- fix: nested preload with join panic when find @black-06 (#6877)
- fix(scan.go): reflect.MakeSlice may pass in the wrong type reflect.Array @demoManito (#6880)
- test: namer identifier lenght @a631807682 (#6872)
- fix some typos in tests @hishope (#6879)
- Fix regression in db.Not introduced in v1.25.6. @tsuba3 (#6844)
- Add unittest test helper function ConvertSliceOfMapToValuesForCreate @naruchet (#6854)
- CHORE add unittest test function ConvertMapToValueForCreate @naruchet (#6846)
- Fix: panic on nullable value with multiple foreign key usage @shtrih (#6839)
- refactor: part 2 of distinguish between Unique and UniqueIndex @black-06 (#6822)
- let limit and offset use bind parameter @jasonchuan (#6806)
- refactor: distinguish between Unique and UniqueIndex @black-06 (#6386)
- fix: preload shouldn't overwrite the value of join @black-06 (#6771)
- chore(deps): bump actions/cache from 3 to 4 @dependabot[bot] (#6802)
- fix: ignore .gen.go suffix in logger to get the real caller when using gen @0xJacky (#6785)
- fix: ExplainSQL using consecutive pairs of escaper in SQL string represents an escaper @iTanken (#6766)
- fix: join and select mytable.* not working @StephanoGeorge (#6761)
- feature: bring custom type and id column name to polymorphism @alexisvisco (#6716)
- Making locking parameters more intuitive @dogenkigen (#6719)
- refactor: Resolve implicit memory aliasing in for loop @BugKillerPro (#6730)
- map insert support return increment id @FangSqing (#6662)
- docs: fix broken link @kijimaD (#6673)
- chore(logger): optimize @flc1125 (#6675)
- feat: add MigrateColumnUnique @black-06 (#6640)
- test: fix TestEmbeddedRelations @a631807682 (#6639)
- tests for sqilte: enable FOREIGN_KEYS inside OpenTestConnection @glebarez (#6641)
- Add support for returning in sqlserver @FrancoLiberali (#6585)
- chore(deps): bump actions/checkout from 3 to 4 @dependabot[bot] (#6586)
- Don't call MethodByName with a variable arg @jquirke (#6602)
- feat: reuse name @philhuan (#6626)
- fix: sqlite dialector cannot apply
PRIMARY KEY AUTOINCREMENT
type @samuelncui (#6624) - Fixed error message when dialector fails to initialize @RatajVaver (#6509)
- fix schema GetIdentityFieldValuesMap interface or ptr @uptutu (#6417)
- add float32 test case for keep float precision in ExplainSQL @Heliner (#6530)
- feat: rm GetDBConnWithContext method @qqxhb (#6535)
- fix(clause): clause equal empty array @whcao (#6503)
- refactor: Regex description @fayvori (#6507)
- fix: rectify
SkipHooks
not working withNewDB
set in Session method @aayushacharya (#6484) - keep float precision in ExplainSQL @kumakichi (#6495)
- test: coverage for tabletype added @saeidee (#6496)
- test: coverage for foreign key violation err @saeidee (#6403)
- ci: fix mariadb mysqladmin @saeidee (#6401)
- test: coverage for duplicated key err @saeidee (#6389)
- Fix incorrect documentation comment (has many -> has one) @johannes-riecken (#6382)
- fix: database/sql.Scanner should not retain references @ncruces (#6380)
- feat: add *sql.DB connector that uses database context @lzakharov (#6366)
- reafactor: add nil detection when sqldb return @KantaHasegawa (#6373)
- refactor: remove unnecessary prepared statement allocation @lzakharov (#6374)
- fix: avoid panic when open fails @black-06 (#6368)
- fix: begin transaction fail, rollback panic @zhouit (#6365)
- max identifier length changed to 63 @alidevhere (#6337)
- fix: save with hook (#6285) @black-06 (#6294)
- fix(nested transaction): SavePoint SQL Statement not support in Prepared Statements @wangliuyang520 (#6220)
- refactor: error translator test @saeidee (#6350)
- Added support of "Violates Foreign Key Constraint" @amirejaz75 (#6329)
- feature: rename License to LICENSE (#6331) @Avinaba-Bhattacharjee (#6336)
- fix:clickhouse error not capture(#6277) @201430098137 (#6321)
- fix: 🐛 embedded struct test failed with custom datatypes @aclich (#6311)
- feat: migrator support table comment @johnmai-dev (#6225)
- feat: unscoped association (#5899) @black-06 (#6246)
- fix: 🐛 some numeric types in embedded pointer type struct cause test failed @hykuan (#6293)
- fix: use slice Stale sort @Hanwn (#6263)
- fix: nested joins alias @a631807682 (#6265)
- fix typo in comment example of DB.Table() @yikakia (#6266)
- fix: avoid coroutine leaks when the dialecter initialization fails. @onlyice (#6249)
- fix: unit test @black-06 (#6250)
- feat: support embedded preload @black-06 (#6137)
- fix cond in scopes @black-06 (#6152)
- fix: many2many association with duplicate belongs to elem @bsmith-auth0 (#6206)
- refactor(migrator): non-standard codes @demoManito (#6180)
- chore(deps): bump actions/stale from 7 to 8 @dependabot[bot] (#6190)
- fix:
limit(0).offset(b)
return all data, where b <= 0 @Hanwn (#6191) - fix: embedded should be nil if not exists @a631807682 (#6219)
- refactor: translatorError flag added for backward compatibility @saeidee (#6178)
- avoid starting a transaction when performing only one insert operation in CreateInBatches @chenyahui (#6174)
- fix: count with group (#6157) @black-06 (#6160)
- save should be idempotent @black-06 (#6149)
- chore(deps): bump actions/setup-go from 3 to 4 @dependabot[bot] (#6165)
- feat: support nested join @a631807682 (#6067)
- test: pgsql alter column from smallint or string to boolean @jeffry-luqman (#6107)
- fix: diff schema update assign value @a631807682 (#6096)
- refactor: translate error only when it is not nil @saeidee (#6133)
- Fix: Composite primary key with auto-increment value returns 0 after insert @truongns (#6127)
- fix: on confilct with default null @a631807682 (#6129)
- feat: Unique Constraint Violation error translator for different drivers @saeidee (#6004)
- Refactor: Remove redundant code @xiaoliwang (#6087)
- Create and drop view @black-06 (#6097)
- quotes on docker-compose.yml ports @xiaoliwang (#6089)
- test: pgsql migrate unique index @a631807682 (#6028)
- fix: update panic if model is not ptr @black-06 (#6037)
- fix: association concurrently appending @black-06 (#6044)
- fix: miss join type @a631807682 (#6056)
- Issue 6054: Unscoped not working with PreLoad on Joins @manstis (#6058)
- feat: add tidb integration test cases @Icemap (#6014)
- fix:throw model value required error @a631807682 (#6031)
- fix: ignore nil query @chyroc (#6021)
- fix: support zeroValue tag on DeletedAt @qiankunli (#6011)
- fix(schema): field is only unique when there is one unique index @Nomango (#5974)
- fix(migrator): Tag default:'null' always causes field migration #5953 @Nomango (#5954)
- fix(migrator): ignore relationships when migrating #5913 @Nomango (#5946)
- chore(deps): bump actions/stale from 6 to 7 @dependabot[bot] (#5945)
- test(MigrateColumn): mock alter column to improve field compare @a631807682 (#5499)
- feat: support inner join @a631807682 (#5583)
- DryRun for migrator @defool (#5689)
- fix:Issue migrating field with CURRENT_TIMESTAMP @0fv (#5906)
- Update func comments in chainable_api and FirstOr_ @naterarmstrong (#5935)
- Add test case for embedded value selects @emcfarlane (#5901)
- fix: skip append relation field to default db value @a631807682 (#5885)
- clear code syntax @wjw1758548031 (#5889)
- fix(FindInBatches): throw err if pk not exists @a631807682 (#5868)
- fix bug in windows @kvii (#5844)
- cleanup(prepare_stmt.go): unnecessary map delete @demoManito (#5849)
- doc(README.md): add contributors @demoManito (#5847)
- fix logger path bug @kvii (#5836)
- test(utils): add utils unit test @demoManito (#5834)
- feat: golangci add goimports and whitespace @demoManito (#5835)
- test(clause/joins): add join unit test @demoManito (#5832)
- fix(Joins): args with select and omit @a631807682 (#5790)
- test: invalid cache plan with prepare stmt @a631807682 (#5778)
- feat(PreparedStmtDB): support reset @a631807682 (#5782)
- fix: association without pks @a631807682 (#5779)
- fix: limit=0 results (#5735) @robhafner (#5736)
- fix:
func (schema *Schema) guessRelation(...)
primaryFields are overwritten @demoManito (#5721) - Fix OnConstraint builder @xwjdsh (#5738)
- fix: prepare deadlock @a631807682 (#5568)
- fix maybe nil panic @demoManito (#5720)
- chore(deps): bump actions/stale from 5 to 6 @dependabot[bot] (#5717)
- fix: return id which have type string after created @nohattee (#5477)
- feat: migrator support type aliases @a631807682 (#5627)
- fix: scan array @a631807682 (#5624)
- support scan assign slice cap @demoManito (#5634)
- fix(migrate): same embedded filed name @a631807682 (#5705)
- fix: update omit @qqxhb (#5699)
- AutoMigrate() should always migrate checks, even there is no relationship constraints. @googollee (#5644)
- Rewrite of finisher_api Godocs @bruc3mackenzi3 (#5618)
- simplified regexp @xiaoliwang (#5677)
- Optimize: code logic db.scanIntoStruct() @demoManito (#5633)
- test: remove uuid autoincrement tag @a631807682 (#5620)
- Replace
ioutil.Discard
withio.Discard
@zaneli (#5603) - Refactor: redundant type from composite literal @zaneli (#5604)
- Add Go 1.19 Support @Aoang (#5608)
- fix: correct grammar @seaworn (#5600)
- Update Delete Godoc to describe soft delete behaviour @bruc3mackenzi3 (#5554)
- chore: fix gorm tag @a631807682 (#5577)
- fix: empty serilizer err #5524 @philhuan (#5525)
- Fixed some typos in the code comment @Minjerous (#5549)
- fix: embedded default value @a631807682 (#5540)
- fix bad logging performance of bulk create (#5520) @zxdvd (#5521)
- fix empty QueryClauses in association (#5502) @goxiaoy (#5503)
- Adjust ToStringKey use unpack params, fix pass []any as any in variadic function @alingse (#5500)
- test: pg array type @a631807682 (#5480)
- feat: use callback to handle transaction @sunfuze (#5455)
- fix: association many2many duplicate elem @a631807682 (#5473)
- fix(MigrateColumn):declared different type without length @a631807682 (#5465)
- fix:serializer contain field panic @wuweishuo (#5461)
- feat: add method GetIndexes @qqxhb (#5436)
- fix: reset null value in slice @a631807682 (#5417)
- enhancement: Avoid calling reflect.New() when passing in slice of values to
Scan()
@Bexanderthebex (#5388) - chore(deps): bump gorm.io/driver/mysql from 1.3.3 to 1.3.4 in /tests @dependabot[bot] (#5385)
- fix: migrate column default value @a631807682 (#5359)
- fixed FirstOrCreate not handled error when table is not exists @ophum (#5367)
- fix: duplicate column scan @a631807682 (#5369)
- test: test for skip prepared when auto migrate @a631807682 (#5350)
- Fixed #5355 - Named variables don't work when followed by Windows CRLF line endings @clarkmcc (#5356)
- fix: trx in hooks clone stmt @a631807682 (#5338)
- fix: quote index when creating table @black-06 (#5331)
- fix: many2many auto migrate @a631807682 (#5322)
- fix: preload with skip hooks @a631807682 (#5310)
- fix: callbcak sort when using multiple plugin @a631807682 (#5304)
- fix: add judge result of auto_migrate @Heliner (#5306)
- fix: AutoMigrate with special table name @a631807682 (#5301)
- index: add composite id @photon3108 (#5269)
- test: test for postgrs serial column @a631807682 (#5234)
- check for pointer to pointer value @aelmel (#5278)
- fix: stmt.Changed zero value filed behavior @a631807682 (#5281)
- fix missing error-check in AutoMigrate @glebarez (#5283)
- fix: FindInBatches with offset limit @a631807682 (#5255)
- fix spelling mistake @ZhangShenao (#5256)
- chore(deps): bump actions/setup-go from 2 to 3 @dependabot[bot] (#5243)
- chore(deps): bump actions/stale from 4 to 5 @dependabot[bot] (#5244)
- fix: FirstOrCreate RowsAffected @a631807682 (#5250)
- Fix scanIntoStruct @delmorof (#5241)
- Set permissions for GitHub actions @naveensrinivasan (#5237)
- Offset issue resolved for scanning results back into struct @Joker666 (#5227)
- unify db receiver name @ZhangShenao (#5215)
- fix: context missing in association @goxiaoy (#5214)
- fix variable shadowing @ZhangShenao (#5212)
- chore(deps): bump actions/cache from 2 to 3 @dependabot[bot] (#5196)
- fix: throw err if association model miss primary key @a631807682 (#5187)
- style: fix coding typo @ag9920 (#5184)
- style: fix linter check problem for NamingStrategy and onConflictOption @ag9920 (#5174)
- test: fix test case and utils @a631807682 (#5172)
- Use WriteByte for single byte operations @moredure (#5167)
- fix when index name is "type", parseFieldIndexes will set index TYPE is "TYPE" @labulakalia (#5155)
- chore(deps): bump actions/checkout from 2 to 3 @dependabot[bot] (#5133)
- ToSQL should enable SkipDefaultTransaction by default @CaoManhDat (#5125)
- fix: query scanner in single column @a631807682 (#5111)
- feat: support gob serialize @ag9920 (#5108)
- Fix invalid foreign key constraint name with long schema qualified tables @mnussbaum (#5045)
- fix typo in TxCommitter interface comment & improve CheckTruth, chek val empty first @0x2d3c (#5094)
- style: use ReplaceAll instead of Replace @hu-quan-er (#5095)
- Inherit clone flag (NewDB) on transaction creation @Gilwe (#5012)
- Fixed the use of "or" to be " OR ", to account for words that contain… @sammyrnycreal (#5074)
- Add Serializer, Update migrator ColumnType interface @jinzhu (#5089)
- fix: isPrintable incorrect @li-jin-gou (#5076)
- fix: replace empty table name result in panic @li-jin-gou (#5048)
- Added comments to existing methods @Saurabh-Thakre (#5043)
- preoload not allowd before count @0fv (#5023)
- fix: omit not work when use join @li-jin-gou (#5034)
- chore(deps): bump gorm.io/driver/mysql from 1.2.1 to 1.2.3 in /tests @dependabot[bot] (#4987)
- time.Time, []byte type add alias support. (rebase master) @piyongcai (#4992)
- fix: auto migration column order unpredictable @halfcrazy (#4980)
- improve the error handle in tests_test @liweitingwt (#4964)
- Fix: Where clauses with named arguments may cause generation of unintended queries @emregullu (#4937)
- modify unscoped judge @liweitingwt (#4929)
- fix type alias AutoMigrate bug(Add Test Case) @piyongcai (#4888)
- Use Golangci configuration file @mmorel-35 (#4896)
- feat: go code style adjust and optimize code for callbacks package @daheige (#4861)
- Add unused argument @jinzhu (#4871)
- Bump gorm.io/driver/mysql from 1.1.3 to 1.2.0 in /tests @dependabot[bot] (#4856)
- Bump github.com/jinzhu/now from 1.1.2 to 1.1.3 in /tests @dependabot[bot] (#4866)
- Bump github.com/jinzhu/now from 1.1.2 to 1.1.3 @dependabot[bot] (#4865)
- feat(migrator,migrator/migrator.go,tests/migrate_test.go) : Get multiple data tables for migrator. @dino-ma (#4841)
- Fix self-referential belongs to constraint @mgovilla (#4801)
- Refactor if logic @daheige (#4683)
- Bump gorm.io/driver/sqlserver from 1.1.2 to 1.2.0 in /tests @dependabot[bot] (#4820)
- Add ToSQL support to generate SQL string. @huacnlee (#4787)
- Refactor ParseWithSchemaTable method and improve test. @huacnlee (#4789)
- fix: automigrate error caused by indexes while using dynamic table name @xwjdsh (#4773)
- feat: Convert SQL null values to zero values for model fields which are not pointers. @jimlambrt (#4710)
- feat: adjust PreparedStmtDB unlock location and BuildCondition if logic @daheige (#4681)
- feat: adjust SetupJoinTable func if..else code @daheige (#4680)
- fixed belongs_to & has_one reversed if field same (proper fix) @paraswaykole (#4694)
- Bump gorm.io/driver/postgres from 1.1.1 to 1.1.2 in /tests @dependabot[bot] (#4740)
- Update
tests.yml
@s-takehana (#4741) - fix: QuoteTo not fully support raw mode @tr1v3r (#4735)
- fix (clause/expression): Allow sql stmt terminator @jimlambrt (#4693)
- Bump gorm.io/driver/postgres from 1.1.0 to 1.1.1 in /tests @dependabot[bot] (#4699)
- Bump gorm.io/driver/sqlite from 1.1.4 to 1.1.5 in /tests @dependabot[bot] (#4701)
- Refactor update record @jinzhu (#4679)
- Bump github.com/lib/pq from 1.10.2 to 1.10.3 in /tests @dependabot[bot] (#4676)
- Bump gorm.io/gorm from 1.21.13 to 1.21.14 in /tests @dependabot[bot] (#4655)
- Add Go 1.17 @jxlwqq (#4666)
- Bump gorm.io/driver/sqlserver from 1.0.7 to 1.0.8 in /tests @dependabot[bot] (#4631)
- Fix extra 'AND' when len(values) == 0 ON IN.NegationBuild() @secake (#4618)
- Bump gorm.io/driver/mysql from 1.1.1 to 1.1.2 in /tests @dependabot[bot] (#4615)
- Bump gorm.io/gorm from 1.21.12 to 1.21.13 in /tests @dependabot[bot] (#4616)
- feat: count accpet
db
.table
@tr1v3r (#4626) - feat: QuoteTo accept clause.Expr @tr1v3r (#4621)
- chore(logger): explicitly set config of Default Logger @HurSungYun (#4605)
- Fix create with ignore migration @zkqiang (#4571)
- fix: table couln't be reentrant @SmallTianTian (#4556)
- Update Dependencies @mmorel-35 (#4582)
- Do not emit ORDER BY for empty values @wfscheper (#4592)
- fix return value for *schema.Check @daheige (#4527)
- optimize migrator.go MigrateColumn and ColumnTypes func. @daheige (#4532)
- optimize Parse func for fieldValue.Interface @daheige (#4526)
- update comment for ConvertSliceOfMapToValuesForCreate func @daheige (#4529)
- optimize setupValuerAndSetter func @daheige (#4530)
- adjust Preload fmt.Errorf @daheige (#4531)
- Fix create index with comments in MySQL @s-takehana (#4521)
- New Comma Expression @tr1v3r (#4524)
- slightly better callback warning @bdemirpolat (#4495)
- title foreign schema for many2many to avoid panic @wangyuehong (#4496)
- fix: fix race issue in prepare method @shiyu7 (#4487)
- Fix Pluck's usage #4473 @wuwenchi (#4479)
- Added return names to logger.Interface.Trace @applejag (#4450)
- Use count(*) instead of count(1) include NULL and non-NULL rows(SQL-92). @tony95271 (#4453)
- Code optimize @daheige (#4415)
- Fix: FirstOrCreate slice out of bounds error when using 'Assign' @liamrfell (#4436)
- Support partial indexes for Upsert in Postgres @VitalyShein (#4442)
- Update version in
tests.yml
@s-takehana (#4432) - golint standard @heyanfu (#4421)
- Fix typo in associations_test.go @eltociear (#4407)
- Small grammar fix in error message @Br3nda (#4406)
- fixed has_many stopped working if field names are identical @paraswaykole (#4387)
- Fix ErrInvalidTransaction error message @atreya2011 (#4380)
- Optimizing the parse function in schema @chenquan (#4364)
- slim trace if depth @xx1906 (#4346)
- fixed belongs_to & has_one reversed if field same @paraswaykole (#4343)
- Added missing white space @KarolosLykos (#4330)
- Fixed naming longer than 64 characters @MikaMauger (#4310)
- Fix some typos @faulkner (#4294)
- Optimize reflect value length and method @daheige (#4280)
- Optimal value type acquisition for v @daheige (#4278)
- Respect ignore migration when add column @yrong (#4276)
- Update field.go @gavwu (#4228)
- Fix FindInBatches to return errors when Find fails @genkami (#4203)
- optimize MigrateColumn method for regexp @daheige (#4188)
- support to preload all children in multiple levels associations @ruozhixian (#4172)
- chore: improve code quality @withshubh (#4123)
- Optimize parse constraint @daheige (#4153)
- optimize value of reflection length @daheige (#4152)
- support named params in Select API @ratanphayade (#4142)
- for Config.cacheStore store PreparedStmtDB key @daheige (#4149)
- invalid db error and value and invalid value length error refactor. @daheige (#4151)
- change the method of initializing slice @sivchari (#4097)
v0.10.2
For pdfcpu backend users: Due to recent force pushes, please make sure to perform a fresh clone or pull to avoid any inconsistencies.
In order to get going with this release you need to reset your configuration. Check https://github.com/pdfcpu/pdfcpu/releases/tag/v0.9.1 for instructions. Any pdfcpu CLI command will print a corresponding warning.
After the upgrade your config dir will look like:
- pdfcpu signatures validate[ -a(ll) -f(ull)] -- inFile
and going along:
- pdfcpu certificates list
- pdfcpu certificates import inFile..
- pdfcpu certificates reset
- cd39124e5eaa9138f2a3990e11ce19e75cda471a Fix config parsing, bump version
- 4804a29a6162101ea510177f47882baa1ed2cdb4 Bump version, clean up
- 106feff79227e9ea65af809a1d3b6eec2d1b6e23 Fix #1116, clean up
- f11409b30b203f505dcf98c494f0f0061625f5de Fix #1111
- ba010c9e3d53193243f4cd2923857847adafbbda Fix #1114
- 3eaac1dc6032e6649fed59753d82ccea68d64525 Add signature command
- ce09a835d5256dbea7efba9492b0a495b6c3422c Fix form field validation.
- 4b9cd31417fd47737d9d0da287d608196181bed5 Fix #1099
- ed8b0f9d0341bf5f4220b71b7e6cb00ede3391b1 Fix #1016
- f188cec0e01f990ee8f9cf73485fed945057de94 Fix #1017
- d8da983fdf904f34783060bbe87a1719b584ab4a Fix #1015
- 05bd28049f95fd1b7226399522a9da6db4d4c79c Fix #1064
- 6015ff8682cb6188d53897c6b72e96246d0a136b Fix #1100
- bad35cb5ac9f2af19cd56dcea86e491ab9df9692 Fix #1089
- 1d3c07e2d80e8d34d175a604b335cd06dc7dce0f Fix #1098
- 0e1db94b0c711c52e485da593f7a89ad5561af15 Fix #1090
- 9310068b99aaa34968c6680cea9a80855e2e90ee Fix #1072
- eb132fb5f8fbed5c18f0073c15cffbf63b108615 Avoid duplicate keyword search (#1066)
- b8f82d6f91e2ea79f7ca3965a48efc25072aa671 Fix #1073, #1092, bump go.mod
- 4a2f04f3a268f556a4e3145d3978690b7b559cc7 Fix #1041
- 9b1ead84ae1e8c648a6c521a8e76e673ba267019 Fix #1081
- a966a9c8404d6942e39ecd3d7931569d21de13cf Fix #1047
- 6a2b4f7a4985697a6ca5dd914a5ea93b324d65db Fix #1065
- b60bc1c5ec33a66ba86c02816c745cf67be3e409 Fix #1076
- 4ba7f28f5504c6866b20b8057309efef797f8efe Disable optimization for verbose validate via CLI
- a9d78631817e66cf75d0de75d208be18aea753de Fix #1080
- b05d39596f8f8b0d68a150d6a7dd9da2fdc7c5f9 Fix #1077, clean up
- 4379427eceb6c1d671cf3753b25d577af08efad6 Fix #888
- a73d706ebd100d98373460fa8fe5d7d70cf7e84b Fix #1025
- 3e64e1f88a6424519f6e10a96f6b933afdadf440 Handle duplicate keys
- 4e0e0db8c786122a8efbe5fb71c070810a4aca1d Fix #1049
- 1e4cb9fec11aef08d3501093cbd7cc69d017ce90 Fix #1058 Use relaxed validation for dict=Square entry=RD (#1063)
- 68220688b449a175c9c1a0f56d4769cc7fb59a3c Synopsis: improve mode usage message (#1036)
- 0f856f7d6ee43b3f82c0e243330dad9284220564 Implement dependabot (#1028)
- 6659896d6d799c29bb24f6d4026028c967072096 Fix typos (#1034)
- 83c895ed336b740f4d69c2b7be173e6f4cd90aaa Support float page rotation with zero fractional part. (#1019)
- 01d72b13616093c27e44979ea1706240fb685e24 Handle missing page tree node type for pages. (#1021)
- 56bed9fbf1556513f3f33946036768ad51c1bde4 Fix typos (#1029)
- 4f1eef07ce7a536e304b83646d05de9e629a7268 Don't decrypt "Contents" of "DocTimeStamp" signatures. (#1027)
- a728f8cec9683fc1bd59cffb66d6bca44b5ac4a7 #Fix 982
- 53ee8f3f770306f3d2905a52945a7747160d75e8 Fix #1008
- ef64980c51dc1283b09f357c51a388b9e89b33ac Correctly handle empty type field length in cross reference streams. (#1013)
- 24212771a742281204c7ac91f47695ff682bc195 Check if "entry.Offset" is nil before dereferencing. (#1010)
- 302ee6e899ffd601fe17fe0062a2d764c7425483 Prevent division by zero in extractXRefTableEntriesFromXRefStream (#1007)
- e24743a379b53f723e65b947edd3e0a33f791de5 Fix parsing of objects with very large dictionaries (#999)
- b9b3d0fca12d9570a60ef7dd3527971bc13b8f71 Fix #1001
- 9e9cb79c8ef457c3efcd7be66234bae35628878e Fix#987
- a7ec763047e9bb56225b39ad62d5321ebad04a9f Fix #984
- edccc8fee80b53506688c4cd3c1a1dcdf949b5f7 Fix #988
- 25b1c1af858191bd2fe178254bbae95d508e1ff5 Fix #991
- 96c3c3753cc9a8896173c6be9ffffa0b0cf13e64 Fix #985
- 16372f94429988b227cf3c5aaf447ea2fc87246b Fix #981, speedup optimization, merge: optimize flag
- 52954c8fe8e2e05581ca99525232ee2878d35f84 Cleanup, improve cli validation
- 248f162fe107b04abd023b31f1a9fe87351179ce Fix #972, 973
- 6b239c658fb7944e23867528978b91be97534ae2 Fix ensure config file
- 23a991a0afbed9d55e736ab26e9d4dd91eccdd67 Bump version
v0.10.1
In order to get going with this release you need to reset your configuration. Check https://github.com/pdfcpu/pdfcpu/releases/tag/v0.9.1 for how do that. Any pdfcpu CLI command will print a corresponding warning.
After the upgrade your config dir will look like:
- pdfcpu signatures validate[ -a(ll) -f(ull)] -- inFile
and going along:
- pdfcpu certificates list
- pdfcpu certificates import inFile..
- pdfcpu certificates reset
- a728f8cec9683fc1bd59cffb66d6bca44b5ac4a7 #Fix 982
- 3eaac1dc6032e6649fed59753d82ccea68d64525 Add signature command
- eb132fb5f8fbed5c18f0073c15cffbf63b108615 Avoid duplicate keyword search (#1066)
- 4804a29a6162101ea510177f47882baa1ed2cdb4 Bump version, clean up
- 24212771a742281204c7ac91f47695ff682bc195 Check if "entry.Offset" is nil before dereferencing. (#1010)
- c8e008555003287a28ebf494c2ab10001f79ed32 Cleanup
- 3af10eced7c93ba9c37d561ec3545dc1ac420ad2 Cleanup
- c4f314bcfb19ecde85b91e846a84ac0c3b9fcc80 Cleanup
- ff51203026d797e891c145229251bd53cf5307dd Cleanup ReadMe
- 52954c8fe8e2e05581ca99525232ee2878d35f84 Cleanup, improve cli validation
- ef64980c51dc1283b09f357c51a388b9e89b33ac Correctly handle empty type field length in cross reference streams. (#1013)
- 4ba7f28f5504c6866b20b8057309efef797f8efe Disable optimization for verbose validate via CLI
- 4f1eef07ce7a536e304b83646d05de9e629a7268 Don't decrypt "Contents" of "DocTimeStamp" signatures. (#1027)
- b9b3d0fca12d9570a60ef7dd3527971bc13b8f71 Fix #1001
- 53ee8f3f770306f3d2905a52945a7747160d75e8 Fix #1008
- d8da983fdf904f34783060bbe87a1719b584ab4a Fix #1015
- ed8b0f9d0341bf5f4220b71b7e6cb00ede3391b1 Fix #1016
- f188cec0e01f990ee8f9cf73485fed945057de94 Fix #1017
- a73d706ebd100d98373460fa8fe5d7d70cf7e84b Fix #1025
- 4a2f04f3a268f556a4e3145d3978690b7b559cc7 Fix #1041
- a966a9c8404d6942e39ecd3d7931569d21de13cf Fix #1047
- 4e0e0db8c786122a8efbe5fb71c070810a4aca1d Fix #1049
- 1e4cb9fec11aef08d3501093cbd7cc69d017ce90 Fix #1058 Use relaxed validation for dict=Square entry=RD (#1063)
- 05bd28049f95fd1b7226399522a9da6db4d4c79c Fix #1064
- 6a2b4f7a4985697a6ca5dd914a5ea93b324d65db Fix #1065
- 9310068b99aaa34968c6680cea9a80855e2e90ee Fix #1072
- b8f82d6f91e2ea79f7ca3965a48efc25072aa671 Fix #1073, #1092, bump go.mod
- b60bc1c5ec33a66ba86c02816c745cf67be3e409 Fix #1076
- b05d39596f8f8b0d68a150d6a7dd9da2fdc7c5f9 Fix #1077, clean up
- a9d78631817e66cf75d0de75d208be18aea753de Fix #1080
- 9b1ead84ae1e8c648a6c521a8e76e673ba267019 Fix #1081
- bad35cb5ac9f2af19cd56dcea86e491ab9df9692 Fix #1089
- 0e1db94b0c711c52e485da593f7a89ad5561af15 Fix #1090
- 4d89d032e8e8e79857c2d420e05e151a55e56f13 Fix #1091
- 1d3c07e2d80e8d34d175a604b335cd06dc7dce0f Fix #1098
- 4b9cd31417fd47737d9d0da287d608196181bed5 Fix #1099
- 6015ff8682cb6188d53897c6b72e96246d0a136b Fix #1100
- f11409b30b203f505dcf98c494f0f0061625f5de Fix #1111
- ba010c9e3d53193243f4cd2923857847adafbbda Fix #1114
- 106feff79227e9ea65af809a1d3b6eec2d1b6e23 Fix #1116, clean up
- 4379427eceb6c1d671cf3753b25d577af08efad6 Fix #888
- 248f162fe107b04abd023b31f1a9fe87351179ce Fix #972, 973
- 16372f94429988b227cf3c5aaf447ea2fc87246b Fix #981, speedup optimization, merge: optimize flag
- a7ec763047e9bb56225b39ad62d5321ebad04a9f Fix #984
- 96c3c3753cc9a8896173c6be9ffffa0b0cf13e64 Fix #985
- edccc8fee80b53506688c4cd3c1a1dcdf949b5f7 Fix #988
- 25b1c1af858191bd2fe178254bbae95d508e1ff5 Fix #991
- ce09a835d5256dbea7efba9492b0a495b6c3422c Fix form field validation.
- e24743a379b53f723e65b947edd3e0a33f791de5 Fix parsing of objects with very large dictionaries (#999)
- 56bed9fbf1556513f3f33946036768ad51c1bde4 Fix typos (#1029)
- 6659896d6d799c29bb24f6d4026028c967072096 Fix typos (#1034)
- 9e9cb79c8ef457c3efcd7be66234bae35628878e Fix#987
- 3e64e1f88a6424519f6e10a96f6b933afdadf440 Handle duplicate keys
- 01d72b13616093c27e44979ea1706240fb685e24 Handle missing page tree node type for pages. (#1021)
- 0f856f7d6ee43b3f82c0e243330dad9284220564 Implement dependabot (#1028)
- 302ee6e899ffd601fe17fe0062a2d764c7425483 Prevent division by zero in extractXRefTableEntriesFromXRefStream (#1007)
- 83c895ed336b740f4d69c2b7be173e6f4cd90aaa Support float page rotation with zero fractional part. (#1019)
- 68220688b449a175c9c1a0f56d4769cc7fb59a3c Synopsis: improve mode usage message (#1036)
- cd39124e5eaa9138f2a3990e11ce19e75cda471a Fix config parsing, bump version
v1.61.0
- chore(deps): bump golang.org/x/sys from 0.31.0 to 0.32.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1989
- chore(deps): bump golang.org/x/crypto from 0.36.0 to 0.37.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1988
- chore(deps): bump securego/gosec from 2.22.2 to 2.22.3 by @dependabot in https://github.com/valyala/fasthttp/pull/1990
- chore(deps): bump golang.org/x/net from 0.38.0 to 0.39.0 by @dependabot in https://github.com/valyala/fasthttp/pull/1991
- Fix round robin addresses in dual stack dialing by @raviqqe in https://github.com/valyala/fasthttp/pull/1995
- Fix panic when perIPConn.Close is called multiple times by @erikdubbelboer in https://github.com/valyala/fasthttp/pull/1993
- early hint functionality by @pjebs in https://github.com/valyala/fasthttp/pull/1996
- @raviqqe made their first contribution in https://github.com/valyala/fasthttp/pull/1995
Full Changelog: https://github.com/valyala/fasthttp/compare/v1.60.0...v1.61.0
Release 1.72.0
- Minimum supported Go version is now 1.23 (#8108)
- resolver: add experimental
AddressMapV2
with generics to ultimately replaceAddressMap
. DeprecateAddressMap
for deletion (#8187) - resolver: convert EndpointMap in place to use generics (#8189)
- xds: add
grpc.xds_client.server_failure
counter metric on xDS client to record connectivity errors (#8203) - balancer/rls: allow
maxAge
to exceed 5 minutes ifstaleAge
is set in the LB policy configuration (#8137) - ringhash: implement gRFC A76 improvements. (#8159)
- xds: fix support for circuit breakers and load reporting in LOGICAL_DNS clusters (#8169, #8170)
- cds: improve RPC error messages when resources are not found (#8122)
- priority: fix race that could leak balancers and goroutines during shutdown (#8095)
- stats/opentelemetry: fix trace attributes message sequence numbers to start from 0 (#8237)
- balancer/pickfirstleaf: fix panic if deprecated Address.Metadata field is set to a non-comparable value by ignoring the field (#8227)
- transport: make servers send an HTTP/2 RST_STREAM frame to cancel a stream when the deadline expires (#8071)
- stats: clarify the expected sequence of events on a stats handler (#7885)
- Special Thanks: @RyanBlaney
3.3.13
- Read relations when parsing a file by @Sajito in https://github.com/tealeg/xlsx/pull/844
- Fixes issue when newly added rows are missing from file by @larsve in https://github.com/tealeg/xlsx/pull/846
- @larsve made their first contribution in https://github.com/tealeg/xlsx/pull/846
Full Changelog: https://github.com/tealeg/xlsx/compare/v3.3.12...v3.3.13