Skip to content

Conversation

@EvolutionX-10
Copy link
Owner

@EvolutionX-10 EvolutionX-10 commented Jan 4, 2026

This pull request introduces a comprehensive set of updates focused on modernizing dependencies, improving environment and utility code, and adding robust automated tests. The most significant changes include major dependency upgrades (notably Bun, Node.js, and various libraries), enhancements to environment variable parsing, improvements to permission and presence utilities, and the addition of new test suites for key utility functions.

Dependency and Environment Upgrades:

  • Updated Bun version throughout the project (including Dockerfile and CI workflow) from 1.2.x to 1.3.5, and Node.js engine from 20.10.0 to 22.17.0 in package.json for improved compatibility and performance. [1] [2] [3] [4] [5] [6]
  • Upgraded numerous dependencies and devDependencies in package.json (e.g., Prisma, Discord.js, TypeScript, Prettier, @sapphiredev packages, etc.) to their latest versions, ensuring access to new features and security patches.

Environment and Utility Improvements:

  • Enhanced environment variable parsing utilities in src/lib/env/utils.ts for better type safety and flexibility, including improved array parsing and stricter type signatures.
  • Updated presence configuration in src/lib/utility/config.ts to use a custom status and activity, reflecting new bot behavior.
  • Improved permission sorting and formatting by adding new permissions (SendPolls, BypassSlowmode, PinMessages) and adjusting the order in src/lib/utility/functions/formatter.ts. [1] [2] [3]
  • Minor logic fixes in command and moderation utilities for consistency and correctness. [1] [2]

Testing Enhancements:

  • Added new test suites for environment parsing (tests/env.test.ts), permissions and moderation logic (tests/permissions.test.ts), time utilities (tests/time.test.ts), and general utility functions (tests/utility.test.ts), significantly improving test coverage and reliability of core utilities. [1] [2] [3] [4]

These changes collectively modernize the codebase, improve reliability, and lay the groundwork for future development.

@railway-app railway-app bot temporarily deployed to standing-treatment / production January 4, 2026 05:20 Inactive
@railway-app railway-app bot temporarily deployed to standing-treatment / production January 4, 2026 05:24 Inactive
@EvolutionX-10 EvolutionX-10 enabled auto-merge (squash) January 4, 2026 06:24
@EvolutionX-10 EvolutionX-10 merged commit 767dd50 into main Jan 4, 2026
4 checks passed
@EvolutionX-10 EvolutionX-10 deleted the chore/deps_update branch January 4, 2026 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants