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.8.0 #319

Merged
merged 2 commits into from
Oct 5, 2023
Merged

chore: release v0.8.0 #319

merged 2 commits into from
Oct 5, 2023

Conversation

frol
Copy link
Collaborator

@frol frol commented Oct 4, 2023

🤖 New release

  • near-workspaces: 0.7.0 -> 0.8.0 (⚠️ API breaking changes)

⚠️ near-workspaces breaking changes

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.23.0/src/lints/struct_missing.ron

Failed in:
  struct near_workspaces::AccountDetails, previously in file /tmp/.tmppnwhWM/near-workspaces/src/types/account.rs:330
Changelog

0.8.0 - 2023-10-04

Added

  • Allow to select a specific version of near-sandbox (#311)
  • Enable support for RPCs that require API keys and support for custom networks (#306)
  • expose more Block and Chunk fields (#243)
  • Expose experimental apis (under a feature-flag) (#285)
  • New patch state, key, account API (#291)
  • support manually supplied validator key (#274)
  • workspaces::sandbox() can connect to user provided sandbox node (#220)
  • Expose transact async for asynchronous transactions (#222)
  • Add async builders for view_* functions (#218)
  • add view calls to an Account (#202)
  • must use CallExecution* type (#150)
  • worker no longer required to be passed into arguments when transacting transactions (#181)
  • error handling (#149)
  • allow Worker creation (#116)
  • add fast-forwarding (#73)
  • Moved credentials storage to user side (#98)
  • add a way to automatically compile and deploy a contract (#77)
  • batch transactions (#72)
  • add rpc logging (#75)
  • Switch prints to tracing (#55)

Fixed

  • improve error msg on calling json on void function (#286)
  • fix typos (#280)
  • Run neard on localhost instead of 0.0.0.0 to prevent firewall popups on MacOS (#277)
  • storing credentials (#258)
  • ulimit error (#241)
  • Make call consistent with worker::view (#245)
  • improve err message (#236)
  • remove unused import of metadata (#238)
  • Use public keys for cached nonces (#231)
  • Parallel tests should not wait on each other (#173)
  • Rewording docs to be more intuitive (#186)
  • avoid creating new client for every request & hyper issues (#154)
  • rpc connect timeout (#143)
  • error if sandbox process has already started (#135)
  • [breaking] Key type of state map and remove exposed primitives type (#109)
  • make users wait for sandbox to completely startup (#99)
  • move TLA creator trait to dev network (#101)
  • make empty array the default function argument (#84)
  • Make access_key do an optimistic RPC query (#60)

Other

  • [breaking] renamed crate to near-workspaces to avoid confusion with Cargo workspaces; imports should now use near_workspaces instead of just workspaces (#318)
  • drop async-process in favor of tokio (#316)
  • switch to near-gas crate for Gas where possible (#305)
  • Improved fast_forward docs (#299)
  • Added test for delete_account (#289)
  • Added a test for transfer_near (#290)
  • using url return type (#297)
  • dependencies and removed unused deps (#292)
  • upgrade to stable toolchain (#293)
  • Updated near deps to 0.17 (#283)
  • add sdk::PublicKey to workspaces::PublicKey conversion (#267)
  • Use cargo-near to build project (#275)
  • Added network builder for mainnet, testnet, betanet (#221)
  • bump borsh version and other deps (#271)
  • bump sandbox to 0.6.2 (#270)
  • Import some functions over from near_crypto for PublicKey (#265)
  • Added destination account-id for import_contract call (#260)
  • Fix port collision (#257)
  • Removed the lifetime in transact_async (#249)
  • configure sandbox (#251)
  • 0.7.0 (#244)
  • expose view_chunk (#234)
  • Expose error creation methods (#224)
  • Bump to version 0.6.1 (#240)
  • Fix query variant error + add test (#239)
  • Fix docs containing 50mb instead of 50kb (#219)
  • 0.6.0 (#213)
  • Made ValueOrReceiptId::Value object consistent (#208)
  • Bump sandbox to latest (#211)
  • Upgrade to version 0.4.0 of near-jsonrpc-client, and version 0.15.0 for nearcore libraries (#210)
  • Fix child sandbox process becoming orphaned on early termination (#205)
  • Make compile_project use latest error API (#204)
  • add unstable feature to docs build (#198)
  • Up version to 0.5.0
  • 0.5.0 (#188)
  • Added convenience functions Account::{from_secret_key, set_secret_key} (#185)
  • 0.4.1 (#180)
  • Fix macos non-deterministic overflow error (#179)
  • Fix tests erroring out on newest rust v1.63.0 (#177)
  • 0.4.0 (#170)
  • Expose tokens_burnt (#168)
  • Update Deps Along w/ M1 Support (#169)
  • Added Debug + Clone to Account and Contract (#167)
  • Expose account keys (#144)
  • Bump vworkspaces to 0.3.1 (#152)
  • add secret key creation methods and added new KeyType type (#139)
  • expose raw_bytes API (#133)
  • bump workspaces patch version and update changelog (#136)
  • bump sandbox version default for SDK change (#134)
  • Added cross contract tests (#123)
  • 0.2.1 (#117)
  • doc builds on docs.rs (#115)
  • 0.2 (#104)
  • [breaking] Reorganize exports and modules exposed (#102)
  • cleanup before release 0.2 (#94)
  • Reduce retries time (#92)
  • fix doc builds and adds README (#90)
  • suppress sandbox bin logs (#85)
  • CallResultDetails now expose logs, transaction and receipt outcomes (#70)
  • Add view_account, view_code, view_block (#82)
  • Improve error handling: error out on failed final status (#83)
  • change patch state parameters to be slices (#80)
  • make patch_state accept Vec (#79)
  • Added is_success / is_failure for CallExecution results (#58)
  • 0.1.1 (#59)
  • Adds mainnet archival rpc and fixes ref-finance example (#57)
  • (dev_)deploy is now consistent across the board (#56)
  • [breaking] don't require owned AccountId for RPC abstractions (#52)
  • Fixup race condition when installing near-sandbox
  • Merge branch 'main' into release/0.1
  • Update deploy to not consume self
  • Update README w/ sandbox-utils version from crates.io
  • Added licenses
  • worker.create_tla for Mainnet unsupported for now
  • Update docs
  • Merge branch 'feat/call-builder' of github.com:near/workspaces-rs into example/ref-finance
  • Rename amount_yocto to amount & correct docs
  • Added docs
  • Add convenient deploy function
  • Format
  • Update examples with newer accounts API
  • Move client.call defaults out
  • Rename dev_create{,_account}
  • Add DeserializedOwned & result sig for json/borsh
  • Add #[non_exhaustive] to detail objects
  • Drop with_ prefix for builders
  • Add additional lifetimes
  • Rename try_* to .borsh and .json
  • Add serde::Serialize to with_args_json
  • Fixup examples/tests
  • Add serde/borsh deser from view calls
  • Added create_account for sub account creation
  • Format
  • Merge branch 'main' of github.com:near/workspaces-rs into feat/call-builder
  • Added helper functions for transfer_near, delete_account, view
  • Change function sig of view to return Json String
  • Add call builder
  • fmt
  • Fix macos build
  • Depend on libc for unix only
  • Guard unix code
  • Do not expose internal borsh
  • Merge branch 'feat/rearrange' of github.com:near/workspaces-rs into feat/no-pub-nearcore-types
  • Update example to use json! & make proj version agnostic for now
  • Consistent fn sig between call & view
  • Make dev_generate async
  • One more fmt
  • Merge branch 'main' of github.com:near/workspaces-rs into feat/rearrange
  • Added into_result for CallExecution
  • Do not expose internal client functions
  • fmt
  • Clean up impls and prelude
  • Update patch_state to take in Vec
  • deploy code now only accepts bytes instead of filepath
  • Made NetworkInfo return a Info struct
  • Removed send/sync for account.rs and misc small fixes
  • Bump workspaces version up to 0.2
  • Update tests to use Result
  • Removed unused cargo deps
  • Removed Network Actions
  • Deleted tokio::main export
  • Moved SandboxServer code into network/
  • Removed old style API code
  • CallExecution{Result => Details} and add transfer_near/delete_account
  • Added CallExecution* to network/result.rs
  • Remove unused imports and fix clippy warnings
  • Update create_tla sig to take signer
  • Format
  • Update spooning example w/ new API
  • Update status_msg/patch_state ex/test
  • Add worker.view_state
  • Minor fix for warnings
  • Added patching state to sandbox network
  • client.{call => query, _call => call}
  • Added Worker
  • Some clean up
  • fmt deploy test
  • Cargo fmt
  • tests/deploy.rs now conform to new API
  • Change TLA deploy to take in signer
  • Added account.rs
  • Add Worker::sandbox()
  • Added client.deploy fn
  • Lessen visibility of default construction for Sandbox network
  • Add Arc for Worker
  • Added forgotten generic code for Worker
  • Moved account/contract code into account.rs
  • Added some docs on NetworkInfo
  • Update deploy example
  • Formatting
  • Added dev_deploy test for new style
  • Make sandbox server components accessible within project
  • Cleaning up Server trait
  • Move dev_generate into trait & added client dep
  • Blanket impl for anything that impls the parts of a Network
  • Added dev_deploy impl
  • Change return sig of dev_deploy to contract instead
  • Expose helper fn for sandbox server
  • Added sandbox Network impl
  • Added forgotten type parameters
  • Added network/worker modules
  • Client now takes in rpc_addr
  • Moved delete_account/view_state into client.rs
  • Moved create_account into client.rs
  • Moved view/transfer_near into client.rs
  • Move call into client.rs
  • Merge branch 'main' of https://github.com/near/workspaces-rs into feat/exponential-backoff
  • Merge pull request #16 from near/feat/spooning
  • Stop exposing FinalExecutionOutcomeView as the return type of many call-like functions
  • Merge branch 'main' of https://github.com/near/sandbox-api into austin/tokio_gen
  • Merge branch 'main' of https://github.com/near/sandbox-api into feat/testnet-impl
  • Cargo fmt
  • Merge branch 'main' of https://github.com/near/sandbox-api into chore/rename-workspaces
  • Renamed runner => workspaces

Added

Changed

Fixed


This PR was generated with release-plz.

release-plz and others added 2 commits October 4, 2023 22:52
Signed-off-by: release-plz <release-plz@github.com>
@frol frol merged commit 2b1ce92 into main Oct 5, 2023
5 checks passed
@frol frol deleted the release-plz/2023-10-04T22-52-20Z branch October 5, 2023 07:55
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