v1.16.0
What's Changed
- fix: artisan bug by @hwbrzzl in #802
- chore: optimize grpc link by @hwbrzzl in #806
- chore(deps): Update non-major dependencies by @renovate[bot] in #807
- chore(deps): Update non-major dependencies by @renovate[bot] in #811
- chore: [#539] Remove the SQL migrator module by @hwbrzzl in #809
- chore: move testing.http to a single folder by @hwbrzzl in #814
- chore(deps): Update github.com/charmbracelet/huh/spinner digest to 6c6b319 by @renovate[bot] in #815
- test: submodule by @hwbrzzl in #816
- feat: migrator support to change table column by @almas-x in #813
- chore(deps): Update module google.golang.org/grpc to v1.69.4 by @renovate[bot] in #817
- chore(deps): Update dependency go to v1.23.5 by @renovate[bot] in #822
- chore: optimize make:command for auto-generated Signature and simplified method receivers by @almas-x in #821
- feat: [#540] Move the Postgres driver to a single package by @hwbrzzl in #810
- feat: [#540] Remove contracts/database/config.go::Driver by @hwbrzzl in #823
- feat: [#540] Remove SQL in show_command.go by @hwbrzzl in #825
- feat: [#540] Remove database.connections.* by @hwbrzzl in #827
- chore: add GetContent and PutContent methods to support/file by @almas-x in #824
- chore(deps): Update module google.golang.org/grpc to v1.70.0 by @renovate[bot] in #832
- feat: [#540] Remove DriverSchema by @hwbrzzl in #828
- chore: [#540] Add common functions by @hwbrzzl in #833
- chore: [#540] Fix tests by @hwbrzzl in #834
- chore(deps): Update module github.com/samber/lo to v1.48.0 by @renovate[bot] in #835
- chore(deps): Update module github.com/samber/lo to v1.49.0 by @renovate[bot] in #837
- chore(deps): Update module github.com/samber/lo to v1.49.1 by @renovate[bot] in #838
- chore(deps): Update non-major dependencies by @renovate[bot] in #839
- chore(deps): Update github.com/charmbracelet/huh/spinner digest to c7ebc8a by @renovate[bot] in #840
- chore(deps): Update module github.com/brianvoe/gofakeit/v7 to v7.2.1 by @renovate[bot] in #841
- chore: merge v1.15.3 by @hwbrzzl in #842
- chore: update tests by @hwbrzzl in #843
- feat: [#540] Adapt Mysql driver by @hwbrzzl in #844
- chore: [#540] Add test cases by @hwbrzzl in #845
- chore(deps): Update github.com/charmbracelet/huh/spinner digest to f07ae1a by @renovate[bot] in #847
- chore: update tests mod by @hwbrzzl in #846
- chore(deps): Update non-major dependencies by @renovate[bot] in #849
- chore: upgrade db packages by @hwbrzzl in #848
- feat: grpc graceful shutdown by @devhaozi in #850
- chore(deps): Update golang.org/x/exp digest to f9890c6 by @renovate[bot] in #852
- chore: [#585] update db config to use proper casing for DB server names by @almas-x in #853
- chore(deps): Update tests module by @almas-x in #854
- refactor: queue pr part 1 by @devhaozi in #808
- chore: Update github.com/goravel/postgres digest to e505779 by @renovate[bot] in #857
- chore: Update dependency go to v1.23.6 by @renovate[bot] in #858
- chore: restructure testing folder by @hwbrzzl in #861
- chore: Update upgrade DB packages by @renovate[bot] in #862
- chore: Update upgrade DB packages by @renovate[bot] in #864
- chore: Update non-major dependencies by @renovate[bot] in #863
- fix: Throw error if Context is http Context by @ahmed3mar in #856
- feat: Move bindings to config by @hwbrzzl in #868
- feat: [#572] migrator support to rename column by @almas-x in #851
- chore: Update upgrade DB packages by @renovate[bot] in #870
- chore(deps): Update tests module by @almas-x in #871
- feat: [#549] migrator supports table comments by @almas-x in #873
- chore: Update upgrade DB packages by @renovate[bot] in #875
- feat: optimize queue error by @devhaozi in #874
- chore: Update golang.org/x/exp digest to 939b2ce by @renovate[bot] in #877
- chore: Update github.com/charmbracelet/huh/spinner digest to 9ef0c49 by @renovate[bot] in #878
- feat: [#571] migrator supports After and First column modifiers by @almas-x in #876
- chore: upgrade DB packages and add test case by @almas-x in #879
- feat: [#592] Add --no-ansi flag to disable color output in Artisan co… by @almas-x in #880
- chore: [#880] Make --no-ansi a global option by @almas-x in #881
- chore: Update non-major dependencies by @renovate[bot] in #882
- feat: [#358] Add facades.DB, to provider an original sql flow by @hwbrzzl in #869
- chore: Update github.com/goravel/postgres digest to 3e20d36 by @renovate[bot] in #883
- chore: Update upgrade DB packages by @renovate[bot] in #885
- chore: improve flag sorting logic in artisan commands by @almas-x in #884
- chore: replace protobuf by @hwbrzzl in #886
- chore: Update non-major dependencies by @renovate[bot] in #887
- chore: Update github.com/goravel/mysql digest to a7e98b3 by @renovate[bot] in #889
- chore: Update github.com/goravel/mysql digest to eba0ecb by @renovate[bot] in #891
- chore: Update golang.org/x/exp digest to eff6e97 by @renovate[bot] in #890
- chore: optimize return values in GORM BuildQuery method by @almas-x in #893
- chore: Update golang.org/x/exp digest to aa4b98e by @renovate[bot] in #897
- chore: Update upgrade DB packages by @renovate[bot] in #895
- feat: [#358] Add Insert First methods for DB by @hwbrzzl in #888
- fix: Problem with submodels id string by @dzham in #898
- chore: optimize config facade by @kkumar-gcc in #899
- feat: add environment file encryption and decryption commands by @kuafuRace in #896
- chore: use
file.PutContentreplace deprecatedfile.Createby @kuafuRace in #901 - chore: optimize unit testing and unified import rules by @kuafuRace in #900
- feat: [#538] track mockery tool dependencies in go.mod by @almas-x in #902
- test: optimize test cases of env commands by @hwbrzzl in #906
- feat: [#358] Add Update Delete methods for DB by @hwbrzzl in #904
- chore: Update non-major dependencies by @renovate[bot] in #907
- feat: [#358] add logger for DB by @hwbrzzl in #908
- feat: [#358] Add connection method for DB by @hwbrzzl in #909
- feat: add
nameoption to customize the encrypted environment file name by @kuafuRace in #911 - chore: set default value for ConfirmOption in console.Confirm method and fix error strings should not be capitalized or end with punctuation by @kuafuRace in #912
- chore: Update module golang.org/x/crypto to v0.35.0 by @renovate[bot] in #914
- feat: add environment file check pass whitelist by @kuafuRace in #913
- refactor: rename environment file related variables and split
constant.gofile by @kuafuRace in #915 - chore: Update module github.com/dromara/carbon/v2 to v2.5.3 by @renovate[bot] in #916
- feat: [#358] Add OrWhere method for DB by @hwbrzzl in #910
- chore: Update upgrade DB packages by @renovate[bot] in #918
- fix: [#589] Context in PrepareForValidation always nil by @hwbrzzl in #919
- feat: implement nested where by @hwbrzzl in #921
- chore: Update upgrade DB packages by @renovate[bot] in #923
- chore: Update non-major dependencies by @renovate[bot] in #922
- chore: Update upgrade DB packages by @renovate[bot] in #925
- fix: lint by @devhaozi in #926
- feat: [#358] add some Where methods by @hwbrzzl in #924
- feat: [#358] Implement OrderBy by @hwbrzzl in #927
- feat: [#358] Implement Exists, Find, FirstOrFail, Select methods by @hwbrzzl in #928
- feat: [#358] Optimize the difference between db and orm by @hwbrzzl in #930
- feat: [#614] Optimize facades.Orm().Query().Exists(), Order() and Count() methods by @hwbrzzl in #929
- feat: [#358] Add Count, Pluck, DoesntExist, Distinct, FirstOr, Decrement, Increment, InsertGetId, When methods by @hwbrzzl in #931
- chore: Update github.com/charmbracelet/huh/spinner digest to 59cea25 by @renovate[bot] in #932
- feat: Http client facade by @kkumar-gcc in #892
- feat: [#358] Implement Transaction methods by @hwbrzzl in #933
- feat: [#358] Implement ToSql, ToRawSql methods by @hwbrzzl in #934
- feat: [#358] Implement GroupBy, Having, Join methods by @hwbrzzl in #935
- chore: [#358] Move some interfaces related to grammar to the driver folder by @hwbrzzl in #936
- chore: Update non-major dependencies by @renovate[bot] in #939
- chore: Update github.com/goravel/postgres digest to 14f0dec by @renovate[bot] in #938
- chore: Update module github.com/dromara/carbon/v2 to v2.5.4 by @renovate[bot] in #940
- feat: [#358] Implement Value, Offset, Limit methods by @hwbrzzl in #941
- chore: Update non-major dependencies by @renovate[bot] in #943
- chore: Update github.com/goravel/sqlserver digest to 06522eb by @renovate[bot] in #942
- chore: Update non-major dependencies by @renovate[bot] in #944
- chore: Update golang.org/x/exp digest to 054e65f by @renovate[bot] in #945
- feat: [#358] Implement LockForUpdate, SharedLock, Cursor, InRandomOrder methods by @hwbrzzl in #946
- feat: [#358] Add Select, update, Insert, Delete methods by @hwbrzzl in #947
- feat: [#471] The methods of path should return absolute path by @kkumar-gcc in #948
- feat: [#358] Add Chunk Each FindOrFail Sum UpdateOrInsert methods by @hwbrzzl in #949
- feat: [#358] Implement Sqlite Mysql drivers by @hwbrzzl in #950
- feat: [#358] Remove driver.Schema by @hwbrzzl in #951
- feat: [#358] Update tests, completed finally by @hwbrzzl in #952
- chore: Update github.com/charmbracelet/huh/spinner digest to 2f905c5 by @renovate[bot] in #953
- merge: v1.15.5 by @hwbrzzl in #957
- feat: Add Resource Path by @tzsk in #958
- chore: Update github.com/goravel/mysql digest to 0799b64 by @renovate[bot] in #960
- chore: Update non-major dependencies by @renovate[bot] in #961
- feat: optimize db read write by @hwbrzzl in #954
- chore: update tests mod by @hwbrzzl in #962
- feat: Some nit optimizations for facades.DB by @hwbrzzl in #963
- feat: [#478] The guard driver of Auth support custom driver by @praem90 in #959
- feat: optimize DB performance by @hwbrzzl in #965
- fix: mail test by @hwbrzzl in #966
- feat: [#633] Allow setting custom headers when sending mail by @vendion in #964
- chore: Update upgrade DB packages by @renovate[bot] in #969
- chore: Update non-major dependencies by @renovate[bot] in #968
- fix: [#615] Request InputArray not working for JSON array by @almas-x in #970
- feat: [#640] Optimize console ctx.Confirm method by @almas-x in #971
- chore: improve path concatenation for better readability by @almas-x in #972
- feat: [#376] ctx.Request() supports get multiple files directly by @almas-x in #973
- feat: optimize facades.Auth().Guard() return value by @hwbrzzl in #967
- feat: [#646] The Where function of Orm supports func condition by @almas-x in #975
- feat: [#576] add package manager functionality by @almas-x in #920
- fix: Orm WithContext function by @hwbrzzl in #978
- chore: add unit tests for package:install and package:uninstall commands by @almas-x in #977
- chore: Update upgrade DB packages by @renovate[bot] in #982
- chore: Update non-major dependencies by @renovate[bot] in #984
- fix: some bugs when adding test cases for v1.16 by @hwbrzzl in #980
- Revert "feat: [#646] The Where function of Orm supports func condition" by @almas-x in #985
- feat: [#646] The Where function of Orm supports func condition by @almas-x in #986
- chore: add test pr yml by @hwbrzzl in #990
- chore: Update non-major dependencies by @renovate[bot] in #991
- chore: Update upgrade DB packages by @renovate[bot] in #993
- feat: [#653] Update github.com/urfave/cli/v2 to v3 by @almas-x in #994
- chore: change test case name by @almas-x in #997
- feat: translation support fs loader by @devhaozi in #974
- chore: Update non-major dependencies by @renovate[bot] in #1008
- chore: Update github.com/goravel/sqlite digest to 0629b06 by @renovate[bot] in #1007
- feat: enhance session manager to support custom drivers by @merouanekhalili in #1005
- feat: [#650] refactor package management to support fluent method by @almas-x in #1010
- chore: refactor expr parser to keep comments by @almas-x in #1012
- feat: [#649] auto-register migration and seeder when created via CLI by @almas-x in #1011
- feat: auto-register console commands and validation filters/rules when created via CLI by @almas-x in #1014
- chore: Update non-major dependencies by @renovate[bot] in #1015
- feat: auto-register quque job when created via CLI by @almas-x in #1017
- fix: [#664] resolve date mismatch between log file name and log entries by @almas-x in #1020
- feat: [#534] add schedule:run and schedule:list commands by @almas-x in #1019
- chore: Update upgrade DB packages by @renovate[bot] in #1024
- chore: Update non-major dependencies by @renovate[bot] in #1023
- feat: add MarshalString and UnmarshalString method by @devhaozi in #1025
- feat: optimize queue module by @hwbrzzl in #987
- workflow: optimzie govulncheck by @devhaozi in #1027
- feat: optimize queue log by @hwbrzzl in #1026
- feat: update Carbon dependency to
v2.6.xby @kuafuRace in #1018 - chore: Update non-major dependencies by @renovate[bot] in #1028
- feat: [#635] Optimize the process of generating migration and model by @kkumar-gcc in #998
- chore: Update upgrade DB packages by @renovate[bot] in #1029
- chore: ensure imports are unused before removing by @almas-x in #1030
- chore: add support for custom spinner messages in ExecuteCommand by @almas-x in #1031
- feat: db is optional for the queue module by @hwbrzzl in #1035
- fix: [#660] WhereBetween, etc. method can't support string correctly by @hwbrzzl in #1037
- chore: Update Carbon dependency to v2.6.6 by @kuafuRace in #1032
- fix: module path separator on Windows by @almas-x in #1042
- chore: Update non-major dependencies by @renovate[bot] in #1040
- chore: Update upgrade DB packages by @renovate[bot] in #1041
- fix: migration reset and rollback by @hwbrzzl in #1039
- feat: [#669] Migration support GENERATED by @almas-x in #1044
- chore: [#669] upgrade DB packages and add test case by @almas-x in #1045
- feat: optimize validate time by @hwbrzzl in #1046
- fix: [#676] Unnecessary Redis connection attempt on startup despite SESSION_DRIVER=file by @hwbrzzl in #1043
- chore: Update non-major dependencies by @renovate[bot] in #1048
- chore: improve Cursor error delivery and defer logic by @almas-x in #1050
- feat: [#651] Add DB driver for Queue module by @hwbrzzl in #1047
- feat: [#690] enhance schedule method and resolve issue with second-level cron jobs on OnOneServer by @almas-x in #1052
- feat: [#651] optimize queue database driver by @hwbrzzl in #1054
- feat: [#651] add machinery driver by @hwbrzzl in #1055
- feat: [#651] add queue:retry command by @hwbrzzl in #1056
- chore: Update upgrade DB packages by @renovate[bot] in #1058
- feat: Add queue failer by @hwbrzzl in #1057
- chore: Update non-major dependencies by @renovate[bot] in #1059
- fix: [#699] database timezone by @hwbrzzl in #1061
- feat: [#510] Get origin route path by @hwbrzzl in #1062
- feat: [#632] Add GetRoutes method by @hwbrzzl in #1063
- feat: [#704] Add facades().Testing().Docker().Cache() by @hwbrzzl in #1064
- chore: Remove NewRedis method by @hwbrzzl in #1065
- chore: Update github.com/goravel/postgres digest to d8d25d7 by @renovate[bot] in #1066
- chore: Update non-major dependencies by @renovate[bot] in #1067
- feat: [#560] facades.Testing().Docker() supports lanuching any image by @hwbrzzl in #1069
- chore: Update upgrade DB packages by @renovate[bot] in #1070
- feat: [#474] goravel/minio should use the docker module of framework by @hwbrzzl in #1071
- chore: upgrade db drivers by @hwbrzzl in #1072
- feat: [#547] Add session driver for authentication by @praem90 in #1068
- feat: [#705] facades.Orm().Query() support JSON where clauses by @almas-x in #1074
- feat: [#287] Route name by @hwbrzzl in #1073
- chore: add CompileJsonValues and optimize code by @almas-x in #1076
- fix: [#706] Setting timezone in MySQL DSN (e.g., Asia/Shanghai) causes “invalid DSN” error by @hwbrzzl in #1077
- chore: Update non-major dependencies by @renovate[bot] in #1079
- chore: Update github.com/goravel/sqlserver digest to 06666a9 by @renovate[bot] in #1078
- chore: [#1074] add unit tests for JSON queries by @almas-x in #1075
- feat: [#707] Change the configuration session.driver to session.default by @hwbrzzl in #1081
- feat: [#677] Use guard specific secret and ttl for jwt_guard by @praem90 in #1083
- feat: [#708] facades.DB() Support JSON Where Clauses by @almas-x in #1082
- feat: [#90] Orm Support Global Scopes by @hwbrzzl in #1084
- fix: queue:retry command by @hwbrzzl in #1085
- chore: Update upgrade DB packages by @renovate[bot] in #1086
- chore: Update non-major dependencies by @renovate[bot] in #1087
- feat: unify db orm functions by @hwbrzzl in #1088
- feat: [#716] support artisan route:list command by @almas-x in #1089
- feat: [#580] Support db.EnableQueryLog, db.DisableQueryLog, db.GetQueryLog methods by @hwbrzzl in #1090
- feat: [#717] support displaying handler names in artisan route:list command by @almas-x in #1091
- feat: [#712,#713] facades.Orm().Query() and facades.DB() Support Updating JSON Columns by @almas-x in #1092
- chore: add unit tests for JSON columns update by @almas-x in #1093
- feat: [#682] Automatically reconnect to database when connection is lost, including on startup or runtime interruptions by @hwbrzzl in #1094
- feat: [#697] Potential redundant database connection initialization during framework startup by @hwbrzzl in #1095
- feat: [#702] apply fieldalignment & modernize fixes by @almas-x in #1096
- feat: update
carbondependency tov2.6.9by @kuafuRace in #1098 - feat: [#667] Registering service providers don't dependent order by @hwbrzzl in #1097
- feat: [#719] package:install support install goravel/framework facades by @hwbrzzl in #1099
- feat: [#667] Optimize dependency order by @hwbrzzl in #1102
- chore: Update module github.com/brianvoe/gofakeit/v7 to v7.3.0 by @renovate[bot] in #1101
- feat: [#667 #719] Add setup and relationship for all modules by @hwbrzzl in #1100
- feat: [#721] use godump instead of go-spew for better formatted output by @almas-x in #1105
- fix: [#667] package install typo by @hwbrzzl in #1103
- fix: the GetID function can't get id correctly by @hwbrzzl in #1104
- refactor: Change parameter of
Newfunction to optional parameter by @kuafuRace in #1107 - feat: [#718] add prune method to reclaim database space by @almas-x in #1106
- feat: add ToAnySlice helper by @almas-x in #1110
- chore: optimize testing cookie by @hwbrzzl in #1109
- chore: optimize auth session log by @hwbrzzl in #1108
- chore: optimzie failer by @hwbrzzl in #1111
- fix: should check successful when binding in testing response by @hwbrzzl in #1112
- fix: file.Extension by @hwbrzzl in #1113
- chore: optimize package config path by @hwbrzzl in #1116
- fix: AddImport by @hwbrzzl in #1117
- feat: optimize fs loader by @hwbrzzl in #1115
- chore: remove NullableTimestamps by @hwbrzzl in #1118
- chore: Update module github.com/goforj/godump by @almas-x in #1119
- chore: optimize jwt code by @hwbrzzl in #1120
- chore: Update non-major dependencies by @renovate[bot] in #1121
- chore: Update upgrade DB packages by @renovate[bot] in #1122
- feat: queue support queue:failed command by @devhaozi in #1124
- feat: queue support attempts by @devhaozi in #1123
- feat: add migration methods Morphs, Uuid and Ulid and morphs for each by @ahmed3mar in #1114
- feat: [#728] add http.Info and http.Name methods by @hwbrzzl in #1125
- feat: optimize log time format to milli by @hwbrzzl in #1126
- chore: Update non-major dependencies by @renovate[bot] in #1127
- chore: clean up str package by @kkumar-gcc in #1130
- feat: update
carbondependency tov2.6.11by @kuafuRace in #1131 - fix: Refactor str package methods for better Replace and case handling by @kkumar-gcc in #1132
- fix: [#732] The query conditions may get messed up when reusing the query multiple times by @hwbrzzl in #1135
New Contributors
- @dzham made their first contribution in #898
- @tzsk made their first contribution in #958
- @praem90 made their first contribution in #959
- @vendion made their first contribution in #964
Full Changelog: v1.15.10...v1.16.0