Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v0.6.0 #128

Merged
merged 2 commits into from
Jun 2, 2023
Merged

chore: release v0.6.0 #128

merged 2 commits into from
Jun 2, 2023

Conversation

frol
Copy link
Collaborator

@frol frol commented Jun 2, 2023

🤖 New release

  • near-jsonrpc-client: 0.5.1 -> 0.6.0 (✓ API compatible changes)
Changelog

0.6.0 - 2023-06-02

Added

  • add logging (#97)
  • allow floating point deposits with create-account example (#95)
  • (examples) contract_change_method example using the broadcast_tx_commit RPC method (#86)
  • add ability to serialize requests to preview server request payload (#49)
  • (sandbox) impl client support for fast forwarding (#38)
  • custom headers (#47)
  • (infra) introduce automated publishing (#41)
  • JsonRpcClient, default to Unauthenticated state (#36)
  • connect with generic AsUrl (#35)
  • make auth interface more generic (#26)
  • add support for basic authentication tokens (#18)
  • impl smarter Any result descriptors (#15)
  • allow construction of generic method requests (#13)

Fixed

  • incorrect log level (#107)
  • rework the JsonRpcError::handler_error method (#99)
  • unserialized error compat is for .error_struct, not .data (#94)
  • fix examples network selector by index (#93)
  • patch query response deserialization, add tests (#82)
  • gas_price RPC method serialization (#73)
  • fix typo :sigh
  • mitigate deserialization of partially serialized error types (#29)
  • fix serialization of methods::chunk payload
  • call should not consume the client
  • fix doc compilation without the any feature flag
  • fix test with updated call_on syntax
  • fix chunk method call with #[serde(untagged)]
  • fix signature on http methods, non-static
  • fix license to Apache-2.0 to match Cargo.toml

Other

  • Use release-plz instead of cargo-workspaces to manage releases straightforwardly (#127)
  • Upgrade near primitive crates version to 0.17.0 (#126)
  • version to 0.5.1 (#125)
  • bump borsh to 0.10 (#124)
  • version to 0.5.0 (#123)
  • updated near-primitives and associated crates (#122)
  • introduce Authorization::bearer helper method (#121)
  • (docs) document the auth module (#85)
  • ApiKey type can be debugged without exposing the api key (#120)
  • remove uuid api key requirement (#119)
  • update changelog
  • deprecate Display impl for ApiKey (#117)
  • update changelog
  • &RpcMethod response handling should match RpcMethod's (#114)
  • highlight the contributors in every release (#113)
  • version to 0.4.0 (#112)
  • update deps (#111)
  • update to 0.15.0 of NEAR crates (#110)
  • Add "rustls-tls" feature flag to enable rustls-tls feature in reqwest instead of native-tls. (#103)
  • version to 0.4.0-beta.0 (#101)
  • update nearcore dependencies (#100)
  • add query tx example (#98)
  • parse a Message to serde_json::Value intermediately
  • extend query block example to support custom block references (#96)
  • extend create account functionality to support sub-accounts
  • add example for creating a top-level testnet account
  • (docs) document the health RPC method (#61)
  • (docs) document the status RPC method (#58)
  • (docs) document the light_client_proof RPC method (#77)
  • (docs) document the network_info RPC method (#59)
  • update auth urls in example to match dev console
  • update changelog
  • (docs) document the chunk RPC method (#62)
  • (docs) document the block RPC method (#60)
  • (docs) document tx jsonrpc method (#53)
  • (CI) drop rustdoc pipeline (#56)
  • move auth-specific logic behind the default auth feature flag (#55)
  • document the any helper and sandbox RPC methods (#54)
  • decouple methods into individual fs modules (#50)
  • version to 0.3.0 (#44)
  • upgrade nearcore crates to 0.12.0
  • :ValidRpcMarkerTrait -> private::Sealed
  • treat reqwest::Url as a Client connectable Url
  • apply clippy lints (#43)
  • add CHANGELOG file (#39)
  • (ci) skip rust installation in rustdoc pipeline (#40)
  • support custom rpc addr
  • allow network selection
  • Update README.md
  • add examples to repo (#32)
  • bump crate version to 0.2.0 (#33)
  • ensure None-typed errors are actual errors (displayable, etc.) (#34)
  • dependencies updated
  • drop base64 auth key support, impl generic apikey token input
  • add badges to readme
  • license to MIT Apache-2.0
  • use published nearcore versions
  • [breaking] impl statefully typed API design around authentication (#22)
  • Upgrade to MSRV 1.56 2021 edition (#21)
  • remove rust-toolchain
  • update nearcore dump actix_derive pin
  • return raw RpcError in non-contextual cases
  • export RpcAnyRequest to the public api
  • move methods referencing self a little higher for clarity
  • drop manual Error impl
  • drop testing sectio from readme
  • conditionally impl RpcHandler{Response,Error} for serde_json::Value
  • add server_addr method for retrieving the inner server_addr of a client
  • add typed/untyped tests for the methods::any() generic constructor
  • impl HandlerResult HandlerError for serde_json::Value
  • use Rpc-* aliases for non-Rpc-* reexports
  • drop default RpcMethod params for clarity
  • use *-Response aliases for non-Response reexports
  • hide (): RpcHandlerResponse behind adversarial flag
  • rename terminology: request -> response
  • drop legacy after introduction of methods::any()
  • cleanup crate in preparedness for release (#14)
  • impl From for JsonRpcError
  • add conditional support for legacy behaviours: block_by_id query_by_path
  • skip activating the adversarial flag on near-jsonrpc-primitives
  • update nearcore; fix adversarial feat build
  • (methods) promote use of traits, double down on the macro complexity (#11)
  • owned returns from handler_error
  • add handler_method on JsonRpcError to aid selecting the handler err directly
  • refactor to allow parsing the .data field in err response if `.error_struct fails
  • reintroduce EXPERIMENTAL_tx_status (#10)
  • update nearcore
  • doc/ bad error path fix (#9)
  • update nearcore; fix validators method
  • add default connector, update documentation
  • ensure JsonRpcClient is reusable, yet completely consumable
  • bump nearcore version
  • properly deserialize info string from InternalError variants
  • update to borsh 0.9
  • (methods) add generic documentation on all rpc methods (#8)
  • use traits, drop HTTP endpoint support, update docs (#6)
  • add CI for auto-generating docs
  • rename crate to near_jsonrpc_client (#5)
  • update nearcore repo
  • update EXPERIMENTAL_changes{,in_block} (#4)
  • update nearcore repo
  • update rpc method signature: [next_light_client_block]
  • use the BlockReference from near-primitives
  • add archival rpc urls
  • update method signatures for all adversarial methods
  • update rpc method signature: [EXPERIMENTAL_tx_status]
  • update rpc method signature: [sandbox_patch_state]
  • update rpc method signature: [EXPERIMENTAL_validators_ordered]
  • update rpc method signature: [EXPERIMENTAL_receipt]
  • update rpc method signature: [EXPERIMENTAL_protocol_config]
  • update rpc method signature: [EXPERIMENTAL_genesis_config]
  • update rpc method signature: [EXPERIMENTAL_check_tx]
  • update rpc method signature: [EXPERIMENTAL_changes_in_block]
  • update rpc method signature: [EXPERIMENTAL_changes]
  • update rpc method signature: [EXPERIMENTAL_broadcast_tx_sync]
  • properly serialize signed transaction to be sent over the wire
  • update rpc method signature: [validators]
  • update rpc method signature: [tx]
  • update rpc http method signature: [status]
  • update rpc method signature: [query]
  • update rpc method signature: [network_info]
  • update rpc method signature: [next_light_client_block]
  • update rpc method signature: [light_client_proof]
  • add consts for near-hosted rpc endpoints
  • update rpc method signature: [health]
  • update rpc method signature: [gas_price]
  • update rpc method signature: [chunk]
  • update rpc method signature: [broadcast_tx_commit]
  • update rpc method signature: [broadcast_tx_async]
  • update rpc method signature: [block]
  • impl next_light_client_block after Deserialize blocker has been cleared
  • refactor method signatures, begin to get rid of the non-specific methodexecutionerror
  • use manual Err Display Debug impls for generic structures
  • reorder {Experimental,}RpcMethod-s alphabetically
  • update doc code snippets, ensure all tests pass
  • impl Error: fmt::{Debug,Display} for all Error-likes
  • implement HTTP API method call support with strict error handling
  • use RpcHealthResponse as return type for health()
  • add comments, not docs to the RPC errors
  • update description
  • add initial documentation
  • add status test via HTTP API
  • use testnet addr on README
  • impl Clone for both Near{Http,JsonRpc}Client
  • be explicit for clarity: rpc -> jsonrpc
  • :{new_client -> new}
  • refactor providers, decouple rpc/http, split into modules
  • appropriately rename crate to near-api-providers-rs
  • impl adversarial features
  • impl sandbox_patch_state
  • impl EXPERIMENTAL_changes_in_block
  • impl light_client_proof and network_info as non-experimental methods
  • use null instead of an empty array for unparameterized rpc methods
  • use strict types for error handling
  • add method cases to namespace and compress Rpc*Request variants to single-value tuples
  • revert nearcore deps to upstream repo
  • deprecation message in lowercase
  • bump nearcore version to latest branch revision
  • lock actix_derive version
  • use builder pattern for client creation
  • properly rename crate, drop the -rs
  • add deprecation note, do not use
  • add do-not-use disclaimer to readme
  • add missing hash param in tx method
  • use SignedTransactionView for tx args instead of String
  • remove query_by_path and block_by_id
  • init near-api


This PR was generated with release-plz.

@frol frol merged commit 517ba06 into master Jun 2, 2023
@frol frol deleted the release-plz/2023-06-02T19-37-30Z branch June 2, 2023 19:39
jaylmiller pushed a commit to PineStreetLabs/near-jsonrpc-client-rs that referenced this pull request Jul 17, 2023
jaylmiller added a commit to PineStreetLabs/near-jsonrpc-client-rs that referenced this pull request Jul 17, 2023
* chore: Upgrade near primitive crates version to 0.17.0 (near#126)

* ci: Use release-plz instead of cargo-workspaces to manage releases straightforwardly (near#127)

* chore: release v0.6.0 (near#128)

* update near deps

---------

Co-authored-by: Bohdan Khorolets <[email protected]>
Co-authored-by: Vlad Frolov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant