e81d1d1583
Remove Unused Fiber Prometheus Configuration Cache Key ( #1553 )
...
- [+] refactor(middleware): remove WithPrometheusCacheKey function and related cache key references from PrometheusConfig
2025-02-05 08:23:21 +07:00
dependabot[bot]
12d4ff4045
Build(deps): bump github.com/ansrivas/fiberprometheus/v2 ( #1552 )
...
Bumps [github.com/ansrivas/fiberprometheus/v2](https://github.com/ansrivas/fiberprometheus ) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/ansrivas/fiberprometheus/releases )
- [Changelog](https://github.com/ansrivas/fiberprometheus/blob/master/CHANGELOG.md )
- [Commits](https://github.com/ansrivas/fiberprometheus/compare/v2.7.0...v2.8.0 )
---
updated-dependencies:
- dependency-name: github.com/ansrivas/fiberprometheus/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-05 01:52:56 +07:00
f67440bcf6
Update [HTMX + TEMPL] [Frontend] Templ Version ( #1551 )
...
- [+] chore: update templ version from v0.3.819 to v0.3.833 in generated template files
2025-02-04 00:25:55 +07:00
dependabot[bot]
15e3bb8289
Build(deps): bump github.com/a-h/templ from 0.3.819 to 0.3.833 ( #1550 )
...
Bumps [github.com/a-h/templ](https://github.com/a-h/templ ) from 0.3.819 to 0.3.833.
- [Release notes](https://github.com/a-h/templ/releases )
- [Changelog](https://github.com/a-h/templ/blob/main/.goreleaser.yaml )
- [Commits](https://github.com/a-h/templ/compare/v0.3.819...v0.3.833 )
---
updated-dependencies:
- dependency-name: github.com/a-h/templ
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-04 00:23:55 +07:00
fde68f799a
Refactor [Backend] [Helper Function] [Crypto/Rand] GenerateText ( #1549 )
...
- [+] refactor(rand_text.go): replace switch-case with a map for character sets in GenerateText function to improve maintainability and scalability
2025-01-31 23:06:07 +07:00
dependabot[bot]
51cb5f3f38
Build(deps): bump github.com/ethereum/go-ethereum ( #1548 )
...
Bumps [github.com/ethereum/go-ethereum](https://github.com/ethereum/go-ethereum ) from 1.14.12 to 1.14.13.
- [Release notes](https://github.com/ethereum/go-ethereum/releases )
- [Commits](https://github.com/ethereum/go-ethereum/compare/v1.14.12...v1.14.13 )
---
updated-dependencies:
- dependency-name: github.com/ethereum/go-ethereum
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-30 23:25:27 +07:00
25511c9cc8
Docs [Backend] [Pkg] [GC] Update Documentation for fix GC (Garbage Collector) Overhead ( #1547 )
...
- [+] docs(reduce_overhead.go): add example usage for handling HTTP requests and responses with buffer pooling
2025-01-30 01:27:57 +07:00
707c1a43d1
Docs [Backend] [Helper Function] [Crypto/Rand] [GenerateText] Update Comments ( #1546 )
...
- [+] docs(rand_text.go): add comments to clarify the rationale behind length constraints in GenerateText function
2025-01-29 21:45:41 +07:00
df902e81aa
Docs [Backend] [Helper Function] [Crypto/Rand] [GenerateText] Update Comments ( #1545 )
...
- [+] docs(rand_text.go): add comments explaining the cryptographic security of the random text generation method
2025-01-29 21:32:34 +07:00
580acbec32
Test [Backend] [Helper Function] [Crypto/Rand] [GenerateText] Log the generated text ( #1544 )
...
- [+] test(rand_test.go): add logging for generated random text in TestGenerateRandomText
2025-01-29 21:17:07 +07:00
75b2d57711
Optimize [Backend] [Helper Function] [Crypto/Rand] [GenerateText] random index generation ( #1543 )
...
- [+] fix(rand_text.go): optimize random index generation by using charset length variable
2025-01-29 21:00:20 +07:00
6a818e3bb6
TODO: [Backend] [Helper Function] [Crypto/Rand] [GenerateText] Reduce Complexity ( #1542 )
...
* TODO: [Backend] [Helper Function] [Crypto/Rand] [GenerateText] Reduce Complexity
- [+] docs(rand_text.go): add TODO comment for future improvements in GenerateText function
* Update Comments
- [+] docs(rand_text.go): update TODO comment to clarify complexity threshold for using a map
2025-01-29 08:32:48 +07:00
f22873b400
Improve [Backend] [Helper Function] [Crypto/Rand] [GenerateText] Support Generating Random Numeric ( #1541 )
...
- [+] feat(rand): add support for generating numeric text case in random text generation
- [+] test(rand): update tests for new Number text case in random text generation
- [+] refactor(rand): extract number charset into a constant for clarity
2025-01-29 07:09:10 +07:00
a0e794e273
Refactor [Backend] [Helper Function] [Crypto/Rand] [GenerateText] Update Comments & Fix Benchmark ( #1540 )
...
* Fix [Crypto/Rand] [GenerateText] Benchmark
- [+] fix(benchmark_test.go): change b.Errorf to b.Fatalf for error handling in benchmarks
* Docs [Backend] [Helper Function] [Crypto/Rand] [GenerateText] Update Comments
- [+] docs(rand_text.go): add performance optimization notes and alternative implementation suggestion in comments
2025-01-29 02:15:24 +07:00
dependabot[bot]
a4896e68da
Build(deps): bump github.com/bytedance/sonic from 1.12.7 to 1.12.8 ( #1539 )
...
Bumps [github.com/bytedance/sonic](https://github.com/bytedance/sonic ) from 1.12.7 to 1.12.8.
- [Release notes](https://github.com/bytedance/sonic/releases )
- [Commits](https://github.com/bytedance/sonic/compare/v1.12.7...v1.12.8 )
---
updated-dependencies:
- dependency-name: github.com/bytedance/sonic
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-28 00:16:52 +07:00
5d698851f7
Update Docs [K8S Deployment] [REST APIs] Deployment Template ( #1538 )
...
* Update Docs [K8S Deployment] [REST APIs] Deployment Template
- [+] docs(k8s-deployment): add compatibility notes for attaching external storage in restapis-deploy.yaml
* Update Comments
[+] docs(restapis-deploy.yaml): update comments for clarity on storage classes and container privileges
2025-01-20 22:10:46 +07:00
c72ce46b34
Benchmark [Backend] [Helper Function] [Crypto/Rand] "GenerateText" ( #1537 )
...
- [+] test(benchmark): add benchmarks for GenerateText function with varying lengths and text cases
2025-01-19 19:53:00 +07:00
0efd6990aa
Test [Backend] [Helper Function] [Crypto/Rand] [GenerateText] InvalidInputs ( #1536 )
...
- [+] test(rand_test.go): add tests for invalid inputs in GenerateRandomText function
- [+] docs(rand_test.go): add note about avoiding hardcoded numbers in textCase parameter
2025-01-19 19:06:35 +07:00
d1dc94d0d3
Implement [Backend] [Helper Function] [Crypto/Rand] "GenerateText" ( #1535 )
...
- [+] feat(rand): add GenerateText function for generating random strings with specified cases
- [+] test(rand_test): implement tests for GenerateText function with various text cases
- [+] new(rand_text): create rand_text.go file containing GenerateText function and related constants
2025-01-19 08:14:04 +07:00
7181eda879
TODO: [Backend] [Router Logic] [Router Domain] Support multiple wwwDot ( #1534 )
...
- [+] docs(config.go): add comment about using []string for multiple websites support in MainDomain
2025-01-17 18:28:56 +07:00
babd35fddf
Test [Backend] [Router Logic] [Router Domain] without linking wwwDot ( #1533 )
...
- [+] test(domain_test.go): add test for domain router with empty main domain configuration
2025-01-17 18:11:13 +07:00
03ffd1ed20
Improve [Backend] [Router Logic] [Router Domain] wwwDot ( #1532 )
...
- [+] fix(new.go): improve hostname check to use strings.HasPrefix for better clarity and functionality
2025-01-17 14:07:42 +07:00
05081fb2f4
Docs [Backend] [Router Logic] [Router Domain] Update Documentation ( #1531 )
...
- [+] docs(config.go): add clarification comment for MainDomain field regarding HTTPS/TLS configuration
- [+] docs(domain_test.go): update test comments to clarify the optional inclusion of "www.example.com" in Hosts
2025-01-17 13:34:58 +07:00
e458b0c48a
Improve [Backend] [Router Logic] [Router Domain] Support www. ( #1530 )
...
* Improve [Backend] [Router Logic] [Router Domain] Support www.
- [+] feat(router): add MainDomain field to Config struct and www subdomain handling
- [+] test(domain): implement tests for domain router functionality
- [+] chore(go.mod): update testify dependency to v1.10.0
- [+] chore(go.sum): update checksum for testify dependency
* Docs [Backend] [Router Logic] [Router Domain] Update Documentation
- [+] docs(config.go): add notes about MainDomain and its relation to HTTPS/TLS configuration
2025-01-17 13:10:47 +07:00
11e9333e93
Update Go Version To Latest ( #1529 )
...
- [+] chore: update Go version to 1.23.5 in Dockerfile and go.mod
2025-01-17 04:08:36 +07:00
aa4facb3e7
Reorganize [Static Files] [CDN/Frontend] Country Flag.svg ( #1528 )
...
- [+] refactor(flags): move flag SVG images to a new directory structure under 'country/flags'
2025-01-16 15:42:13 +07:00
b0828db568
Add [Static Files] Country Flags.svg for Frontend ( #1527 )
2025-01-16 15:25:24 +07:00
0a4942b9c8
Docs [Benchmark] [Crypto/Rand] Update Comments ( #1526 )
...
- [+] chore(benchmark_test.go): update comments to clarify issues with Windows and memory corruption
2025-01-16 13:30:48 +07:00
9fe9d3f170
Update Docs [K8S Deployment] [REST APIs] Deployment Template ( #1525 )
...
- [+] docs(k8s-deployment): add examples and notes for initContainers and volumeMounts in restapis-deploy.yaml
2025-01-14 00:56:01 +07:00
7bc69f10b4
Update Docs [K8S Deployment] [MySQL] Deployment Template ( #1524 )
...
* Update Docs [K8S Deployment] [MySQL] Deployment Template
- [+] chore(mysql-deploy.yaml): update resourcePolicy with comments and minReplicas configuration
* Update Comment
- [+] docs(mysql-deploy.yaml): update comment to clarify recommendation against switching to stateful deployment for MySQL
2025-01-12 13:30:48 +07:00
dependabot[bot]
2d3af0f6f1
Build(deps): bump github.com/mattn/go-colorable from 0.1.13 to 0.1.14 ( #1523 )
...
Bumps [github.com/mattn/go-colorable](https://github.com/mattn/go-colorable ) from 0.1.13 to 0.1.14.
- [Commits](https://github.com/mattn/go-colorable/compare/v0.1.13...v0.1.14 )
---
updated-dependencies:
- dependency-name: github.com/mattn/go-colorable
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 22:57:28 +07:00
dependabot[bot]
cc879bc85c
Build(deps): bump github.com/gofiber/storage/redis/v3 ( #1522 )
...
Bumps [github.com/gofiber/storage/redis/v3](https://github.com/gofiber/storage ) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/gofiber/storage/releases )
- [Commits](https://github.com/gofiber/storage/compare/redis/v3.1.2...redis/v3.1.3 )
---
updated-dependencies:
- dependency-name: github.com/gofiber/storage/redis/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 22:57:18 +07:00
dependabot[bot]
c398f2dbeb
Build(deps): bump github.com/gofiber/storage/cloudflarekv ( #1521 )
...
Bumps [github.com/gofiber/storage/cloudflarekv](https://github.com/gofiber/storage ) from 0.1.1 to 0.1.2.
- [Release notes](https://github.com/gofiber/storage/releases )
- [Commits](https://github.com/gofiber/storage/compare/scylladb/v0.1.1...cloudflarekv/v0.1.2 )
---
updated-dependencies:
- dependency-name: github.com/gofiber/storage/cloudflarekv
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-10 22:55:13 +07:00
4250fcc3b8
Docs [Backend] [Pkg] [GC] Update Documentation for fix GC (Garbage Collector) Overhead ( #1520 )
...
- [+] docs(gc/reduce_overhead.go): update comments to improve clarity and provide example usage for BufferPool
2025-01-10 14:23:54 +07:00
aa23dd5fcc
Docs [K8S Deployment] [REST APIs] [VPA] Update Documentation ( #1519 )
...
- [+] docs(RESTAPIs.md): add note about maxSurge value for Go applications in deployment configurations
2025-01-10 11:58:57 +07:00
f9f2dffa0b
Docs [K8S Deployment] [REST APIs] [VPA] Update Documentation ( #1518 )
...
- [+] docs(RESTAPIs.md): add information about VPA suitability for nodes with attached GPUs and performance implications
2025-01-10 08:23:19 +07:00
19d91eb51b
Docs [K8S Deployment] [REST APIs] [VPA] Update Documentation ( #1517 )
...
- [+] docs(k8s-deployment): add tips and examples for rollingUpdate strategy and VPA functionality
2025-01-10 05:25:52 +07:00
e8b05b6538
Docs [K8S Deployment] [REST APIs] [VPA] Update Documentation ( #1516 )
...
- [+] docs(RESTAPIs.md): add example output for Vertical Pod Autoscaler (VPA) recommendations
2025-01-10 01:23:48 +07:00
d98dc8b855
Docs [K8S Deployment] [REST APIs] [VPA] Update Documentation ( #1515 )
...
- [+] docs(RESTAPIs.md): add notes on Vertical Pod Autoscaler (VPA) compatibility and configuration requirements
2025-01-10 00:25:03 +07:00
6f0c0e636f
Docs [K8S Deployment] [REST APIs] [VPA] Update Documentation ( #1514 )
...
- [+] docs(RESTAPIs.md): add resource policy and container policies for restapis deployment
2025-01-09 22:45:35 +07:00
6af001f058
Docs [Pkg] [Helper Function] [Archive Mechanism] Update Documentation ( #1513 )
...
- [+] docs(archive.go): add additional comments on compression ratios and extraction reliability for large files
2025-01-08 19:44:16 +07:00
a431d5322c
Docs [Pkg] [Helper Function] [Archive Mechanism] Update Documentation ( #1512 )
...
- [+] docs(archive.go): add performance notes and considerations for archiving in Kubernetes and S3-compatible storage
2025-01-08 13:46:55 +07:00
35791290ef
Fix [Pkg] [Helper Function] [Archive] Goroutine Mechanism ( #1511 )
...
- [+] refactor(archive.go): remove sync.WaitGroup and replace with channel for signaling completion of streaming
2025-01-08 12:05:25 +07:00
cff2a48113
Fix [Pkg] [Helper Function] [Archive] Goroutine Mechanism ( #1510 )
...
- [+] refactor(archive.go): move file opening and info retrieval to the beginning of the File function
2025-01-08 10:54:58 +07:00
5d74f6e949
Update Benchmark Result for Crypto Rand ( #1509 )
...
- [+] chore(benchmark_test.go): update benchmark test comments for clarity and formatting
2025-01-08 08:28:11 +07:00
0be6930335
Reorganize Codebase [Pkg] [Helper Function] Archive Mechanism ( #1508 )
...
- [+] refactor(archive): rename NewArchiver function to New for clarity and consistency
2025-01-08 07:33:04 +07:00
27619b9ad6
Docs [The Best Worker] Update Documentation ( #1507 )
...
- [+] docs(docs.go): update best practices comment for using the worker to reflect CPU/vCPU usage emphasis
2025-01-08 07:12:23 +07:00
3411db07af
Docs [The Best Worker] Update Documentation ( #1506 )
...
- [+] docs(worker): add best practices for using the worker in documentation
2025-01-08 06:57:20 +07:00
d37fa466ed
Improve [Pkg] [Helper Function] Archive Mechanism ( #1505 )
...
* Improve [Pkg] [Helper Function] Archive Mechanism
- [+] feat(archive): refactor archiving functionality to use Archiver struct with customizable filename and timestamp formats
- [+] refactor(archive): update archiveDoc function to be a method of Archiver and use customizable filename format
- [+] fix(archive): update Do function to utilize the new Archiver for archiving documents
- [+] feat(archive): add new Archiver struct and NewArchiver function for enhanced archiving capabilities
* Fix File Dot Format
- [+] fix(archive): update archive filename format to include .tar.gz extension in ArchiveDoc function
* Use Embedded Struct
- [+] refactor(archive): update Archiver to use Config struct for fileNameFormat and timeFormat settings
* Update Comments
- [+] docs(new.go): add explanation of file naming and timestamp formatting logic in NewArchiver function
* Improve Object String
- [+] fix(archive): import strings package and update file name format validation in NewArchiver function
* Update Constant Default Value
- [+] feat(archive): add default time format constant and update NewArchiver to use it
* Replace Hardcoded
- [+] fix(archive.go): update timestamp formatting to use defaultTimeFormat constant
* Reorganize Codebase
- [+] refactor(archive): move Archiver type definition to archive.go and remove from new.go
* Improve Test
- [+] fix(tests): update archive directory names in test cases for clarity
* Use Else if
- [+] fix(archive): set default file name format if not provided in NewArchiver function
* Remove Hardcoded Parameter
- [+] refactor(archive): remove parameters from ArchiveDoc method and use config for file and directory paths
* Remove Hardcoded Parameter (again)
- [+] fix(archive.go): update truncateFile method to use internal docFile from Config instead of passing it as an argument
* Fix Config Struct
- [+] refactor(archive): update field names in Config struct to use PascalCase for consistency
- [+] test(archive): add tests for error cases when DocFile and ArchiveDir are empty
* Fix Test
- [+] fix(do_test.go): correct error handling in TestArchiveError function
* Remove Duplicate Default Config
- [+] fix(config.go): remove FileNameFormat from DefaultConfig return values
* Rename For better readability
- [+] refactor(archive): rename ArchiveDoc method to File and update related references
2025-01-08 06:16:57 +07:00
4d97c5efd3
Improve [Pkg] [Helper Function] [Archive] Goroutine Mechanism ( #1504 )
...
* Improve [Pkg] [Helper Function] [Archive] Goroutine Mechanism
- [+] refactor(archive): improve archiveDoc function to support streaming and truncating while writing
- [+] test(archive): add tests for streaming and multiple archiving functionality
* Update Comments
- [+] docs(archive.go): add comment to clarify wait group usage in archiveDoc function
* Adding Back Error handling
- [+] fix(archive.go): improve error handling for file closure in archiveDoc function
2025-01-08 02:50:57 +07:00