Skip to content

SkJson 5.0 - API Changes

Choose a tag to compare

@cooffeeRequired cooffeeRequired released this 23 Apr 21:50
· 68 commits to main since this release

SkJson 5.0

🎯 Core Features

  • Support for Java 21+
  • Compatibility with Minecraft 1.16.5+
  • Integration with Skript 2.9.2+

💡 Key Improvements

  • Enhanced MemoryCache System

    • Read/Write speed: 100-1000 μs
    • Optimized memory storage
  • Extended Format Support

    • Native support for .json files
    • Preparation for .jsonc support (JSON with comments)
  • Advanced Serialization

    • Full NBT support via NBT-API
    • Extended Bukkit object serialization
      • Location
      • Player
      • Entity
      • Inventory
      • and more

🔄 Rewriten Features

  • FileWatcher System

    • Automatic JSON file change monitoring
    • Instant cache updates on changes
    • Perfect for dynamic files (e.g., ops.json)
  • VirtualCachedJson

    • Dynamic storage for script variables
    • Flexible in-memory data management
  • HTTP Integration

    • HTTP request support
    • JSON response encoding
    • Enhanced API communication capabilities

🛠️ Technical Improvements

  • Optimized build system
  • Enhanced documentation
  • Extended server support:
    • Spigot
    • Paper
    • Purpur

📚 Documentation

  • Updated Wiki
  • New usage examples
  • Extended tutorials

🐛 Fixes

  • Performance optimization
  • Stability improvements
  • Known issues resolution

What's Changed

Full Changelog: 4.0.5...5.0