Skip to content

Commit

Permalink
Merge pull request #44 from blockfrost/release-1.0.0
Browse files Browse the repository at this point in the history
release: 1.0.0
  • Loading branch information
vladimirvolek authored Dec 18, 2023
2 parents 8601a37 + 6c7f988 commit bdfa1ce
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 26 deletions.
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

0 comments on commit bdfa1ce

Please sign in to comment.