Repository navigation
Improve security, optimize performance, and update documentation - #2
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request marks the 1.0 release of
minecraft-pingerand introduces several breaking changes, performance improvements, and new features, along with updated documentation and a new benchmarking example. The highlights include a new API forJavaPingConfig, improved error handling, performance and memory optimizations, and enhanced documentation for migration and advanced usage.Breaking API Changes and Migration (Major Version Release):
1.0.0and updated all usage and documentation to reference the new version. [1] [2]JavaPingConfig::from(&PingConfigBuilder)toJavaPingConfig::from(&PingConfig), removing theto_builder()method. [1] [2]PingErrorvariants for clarity and efficiency, e.g.,BlockedEndpoint(String)→BlockedEndpoint(Vec<IpAddr>), andReadPacket(String)→ReadPacket(&'static str).BedrockPing::try_fromnow takes&str(with aTryFrom<String>shim for compatibility). [1] [2] [3]Performance and Resource Improvements:
favicon,player.sample) for faster fleet scans. [1] [2] [3]Documentation and Examples:
README.mdwith migration notes, advanced configuration, performance benchmarks, and usage tips for efficient fleet scans. [1] [2] [3]examples/bench_fleet.rs) for large-scale server ping testing.Dependency and Internal Cleanups:
randdependency; Bedrock GUIDs now use an atomic counter. [1] [2]These changes modernize the API, improve performance and reliability, and provide clearer documentation for users upgrading from 0.x to 1.0.