Skip to content

Releases: Valhalla-Development/ValkyrieCore

v1.2.15

Choose a tag to compare

@RagnarLothbrok-Odin RagnarLothbrok-Odin released this 06 Jul 19:14

Full Changelog: v1.2.14...v1.2.15

v1.2.14

Choose a tag to compare

@RagnarLothbrok-Odin RagnarLothbrok-Odin released this 06 Jul 17:59

Full Changelog: v1.2.13...v1.2.14

v1.2.13

Choose a tag to compare

@RagnarLothbrok-Odin RagnarLothbrok-Odin released this 06 Jul 15:05

Full Changelog: v1.2.11...v1.2.13

v1.2.11

Choose a tag to compare

@RagnarLothbrok-Odin RagnarLothbrok-Odin released this 05 Jul 16:52

Full Changelog: v1.2.9...v1.2.11

v1.2.9

Choose a tag to compare

@RagnarLothbrok-Odin RagnarLothbrok-Odin released this 05 Jul 16:28

Full Changelog: v1.2.0...v1.2.9

This update has support for zod env variable validation.

The main change in this update, however, is the fact that the Help command and the Ping command have been completely rewritten using the new Discord components.

v1.2.0

Choose a tag to compare

@RagnarLothbrok-Odin RagnarLothbrok-Odin released this 22 May 14:30

Full Changelog: v1.1.8...v1.2.0

🚀 Sharding Support Release

Overview

This release introduces sharding support to ValkyrieCore, enabling better scalability and performance for larger bots. The bot now uses discord-hybrid-sharding to distribute load across multiple processes while maintaining efficient resource usage.

🎯 Changes

Added

  • Sharding Support: Integrated discord-hybrid-sharding for efficient bot scaling
  • Cluster Management: Added cluster manager to handle shard distribution
  • Automatic Shard Calculation: Bot now automatically calculates required shards based on server count
  • Worker Mode: Implemented worker-based sharding for better performance

Modified

  • Client Configuration: Updated Discord.js client to support sharding
  • Process Management: Improved process handling with cluster-based architecture

⚙️ Technical Details

  • Each cluster handles 2 shards by default
  • Uses worker threads for better performance
  • Automatic shard calculation (1 shard per 2500 servers)
  • Automatic cluster calculation based on shard count

📝 Notes

  • No breaking changes to existing bot functionality
  • Command handling remains the same from a user perspective
  • Improved performance for bots with many servers
  • Better resource utilization across CPU cores

🔧 Configuration

The sharding is configured automatically, but you can adjust shardsPerClusters in Cluster.ts if needed:

const manager = new ClusterManager(`${dir}/Main.ts`, {
    totalShards: 'auto',  // Automatically calculated
    totalClusters: 'auto', // Automatically calculated
    shardsPerClusters: 2,  // Adjustable based on needs
    mode: 'worker',
    token: process.env.BOT_TOKEN,
});

📚 Documentation

For more information about sharding in ValkyrieCore, check the updated documentation in the code comments.

v1.1.8

Choose a tag to compare

@RagnarLothbrok-Odin RagnarLothbrok-Odin released this 28 Feb 14:59

Full Changelog: v1.1.0...v1.1.8

v1.1.0

Choose a tag to compare

@RagnarLothbrok-Odin RagnarLothbrok-Odin released this 23 Feb 14:29

Full Changelog: v1.0.71...v1.1.0

v1.0.71

Choose a tag to compare

@RagnarLothbrok-Odin RagnarLothbrok-Odin released this 22 Oct 15:13

Full Changelog: v1.0.70...v1.0.71

v1.0.70

Choose a tag to compare

@RagnarLothbrok-Odin RagnarLothbrok-Odin released this 21 Oct 22:14

Full Changelog: v1.0.56...v1.0.70