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

release: 1.0.0 #44

Merged
merged 1 commit into from
Dec 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 28 additions & 20 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,37 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## 1.0.0 - 2023-xx-xx
## 1.0.0 - 2023-12-18

### Changed

- Per endpoint pagination
- Github Continuous integration
- Cargo Clippy + rustfmt
- Removed macros
- Tests
- Added tx evaluate endpoint
- Fetch all methods
- Cleanup
- Settings refactored
- Updated data and schemas
- Added missing endpoints
- More examples
- Unit tests
- linting
- Added missing endpoints `accounts_addresses_total`, `addresses_extended`, `addresses_utxos_asset`, `network_eras`, `mempool`, `mempool_hash`, `mempool_addresses_address`, `scripts_hash_json`, `scripts_hash_cbor`, `scripts_datum_hash`, `scripts_datum_hash_cbor`, `utils_tx_evaluate`, `utils_tx_evaluate_utxos`

### Removed

- macros
- Implemented pagination for each endpoint.
- Integrated GitHub Continuous Integration for automated testing and deployment.
- Applied Cargo Clippy and rustfmt for code linting and formatting.
- Removed macros.
- Expanded test coverage with additional tests.
- Enhanced data fetching methods.
- Conducted code cleanup and refactoring.
- Refactored settings for improved clarity and efficiency.
- Updated data structures and schemas to the latest standards.
- Provided more comprehensive examples for better user understanding.
- Enhanced unit tests for more robust code testing.
- Implemented additional linting measures for code quality assurance.
- ENDPOINTS.md now contains a table of implemented endpoints.
- Added missing endpoints:
- `accounts_addresses_total`
- `addresses_extended`
- `addresses_utxos_asset`
- `network_eras`
- `mempool`
- `mempool_hash`
- `mempool_addresses_address`
- `scripts_hash_json`
- `scripts_hash_cbor`
- `scripts_datum_hash`
- `scripts_datum_hash_cbor`
- `utils_tx_evaluate`
- `utils_tx_evaluate_utxos`

## 0.2.1 - 2023-05-02

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
use blockfrost::{BlockFrostApi, BlockFrostSettings};
use blockfrost::{BlockFrostSettings, BlockfrostAPI, BlockfrostResult};

fn build_api() -> blockfrost::Result<BlockFrostApi> {
let configurations = load::configurations_from_env()?;
let project_id = configurations["project_id"].as_str().unwrap();
let api = BlockFrostApi::new(project_id, BlockFrostSettings::new());
fn build_api() -> BlockfrostResult<BlockfrostAPI> {
let api = BlockfrostAPI::new(
"mainnetxvMK4xOpp5mHJgihi055KDLU64JJv2be",
BlockFrostSettings::new(),
);
Ok(api)
}

#[tokio::main]
async fn main() -> blockfrost::Result<()> {
async fn main() -> BlockfrostResult<()> {
let api = build_api()?;

// Should contain the correct cbor contents
Expand Down
Loading