summaryrefslogtreecommitdiff
path: root/platform-velocity/build.gradle.kts
AgeCommit message (Collapse)Author
2026-08-05docs: stop claiming engine hands down coroutines and ktorSho Sakuma
Both platform modules described the engine dependency as providing serialization, coroutines and ktor. Moving romaji conversion out of engine left it exposing serialization alone, so the note now points readers at dependencies they have to declare themselves. Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-02refactor: remove code that no production path reachesSho Sakuma
These were all scaffolding that drifted out of use, and each one costs a reader time before they discover it does nothing: - UUIDASStringSerializer duplicated UUIDSerializer byte for byte; the differing descriptor name never reaches the JSON/YAML wire format, so the choice between them was a coin flip for contributors. - Velocity's BuildInfo was never referenced (the plugin reads its version from PluginContainer) and read a "commit" property the build never wrote, so it would have reported "unknown" had anyone called it. - KanaConverter.TrieNode.Leaf is never constructed: buildTrie starts from a Branch and insert only ever returns Branch. Six branches guarded against a state the type system allowed but the code could not produce. With those gone, isValidRomaji and toHiragana were visibly the same trie walk, so they now share one longestMatch. - @Deprecated command handling had no annotated command to act on. - The settings backup restore looked for *.backup.* files that nothing in the repository writes, so it always fell through to empty settings. Also drops CommandContext.replyWithEvent/replyPlain, PluginCoroutineScope's unused plugin parameter, GitHubRelease fields no caller reads, and four language keys with no lookup site. Co-Authored-By: Claude <noreply@anthropic.com>
2026-08-02feat(velocity)!: build against Velocity API 4.0.0 and drop Velocity 3.5.x ↵Sho Sakuma
support Velocity moved to the 4.x generation while platform-velocity still compiled against 3.5.1, so the debug environment had to pin an older proxy than the one most users now run. The migration needed no source changes. Comparing every one of the 213 classes in the API jar with javap shows 4.0.0 is identical to 3.5.1 in its public signatures; the supported protocol range is unchanged too. The one real difference is the POM, which moves adventure-bom from 4.26.1 to 5.2.0. Support for 3.5.x is dropped even though the JAR would still load there, because keeping it meant Adventure 4.26.1 could be the runtime and engine had to stay inside the API surface both Adventure majors share -- a constraint no build step could check. Narrowing to 4.x makes every supported runtime ship Adventure 5.2.0, matching what engine already compiles against, so the constraint is gone rather than merely documented. Nothing enforces the requirement in code, matching how dropping 3.4.0 was handled in v1.1.0. Also drops two dead dependencies: kaml, declared but never imported, worth about 1 MB of shaded JAR, and the velocity-api annotationProcessor, which does nothing without Java sources or kapt.
2026-07-11fix(deps): update dependency com.velocitypowered:velocity-api to v3.5.1 (#246)renovate[bot]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-06-12chore: Support Velocity 3.5.0Sho Sakuma
2026-05-29fix(deps): update dependency io.mockk:mockk to v1.14.11 (#215)renovate[bot]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-05-08fix(deps): update kotlinx-coroutines monorepo to v1.11.0 (#200)renovate[bot]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-04-04feat: Improving Velocity's Cycling CompatibilitySho Sakuma
2026-03-26feat: Add Night warning to Status CommandSho Sakuma
2026-01-31fix(deps): update dependency com.velocitypowered:velocity-api to v3.4.0 (#84)renovate[bot]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-01deps: Add Velocity APISho Sakuma
2026-01-23refactor: Improving Module DependenciesSho Sakuma
2026-01-07feat: Add permission collectorSho Sakuma
2026-01-05refactor: migrate to multi-project structureSho Sakuma
マルチプロジェクト構造に移行し,Paper と Velocity の両方をサポートできるようにしました. - engine: 共通ロジック(データモデル,JSON シリアライゼーション) - platform-paper: Paper プラグイン実装 - platform-velocity: Velocity プラグイン実装(将来用) 主な変更: - settings.gradle.kts: サブプロジェクト定義を追加 - build.gradle.kts: マルチプロジェクト用に再構成 - 既存コードを platform-paper に移動 - CI/CD ワークフローを更新 - Docker 設定を更新 - IntelliJ Run Configurations を更新 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>