Skip to content

Commit 3bc6217

Browse files
committed
Release v1.0.2
1 parent e6bebc1 commit 3bc6217

File tree

7 files changed

+25
-56
lines changed

7 files changed

+25
-56
lines changed

ARCHITECTURE.md

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -328,18 +328,7 @@ Monocle supports conditional compilation via Cargo features, organized in tiers:
328328
- **`display`**: Table formatting with tabled (included in lens-bgpkit)
329329
- **`cli`** (default): Full CLI binary with server support (adds axum, tokio, tower-http)
330330

331-
Library users can select minimal features based on their needs:
332-
333-
```toml
334-
# Minimal database access
335-
monocle = { version = "1.1", default-features = false, features = ["database"] }
336-
337-
# BGP operations without CLI overhead
338-
monocle = { version = "1.1", default-features = false, features = ["lens-bgpkit"] }
339-
340-
# Full functionality without CLI
341-
monocle = { version = "1.1", default-features = false, features = ["lens-full"] }
342-
```
331+
Library users can select minimal features based on their needs. See the README for version and feature configuration examples.
343332

344333
## Related Documents
345334

CHANGELOG.md

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
All notable changes to this project will be documented in this file.
44

5-
## v1.1.0 - 2025-12-18
5+
## v1.0.2 - 2025-12-18
66

77
### New Features
88

@@ -38,6 +38,20 @@ All notable changes to this project will be documented in this file.
3838
* Results sorted by asn1, with asn1 < asn2 for each pair
3939
* Example: `monocle as2rel 174 2914 3356` shows all three pair relationships
4040

41+
* Added global `--no-refresh` flag to disable automatic data refresh
42+
* Use `monocle --no-refresh <command>` to skip all automatic data loading/refresh
43+
* Useful when you want to use existing cached data only
44+
* Shows warnings when data is missing or stale instead of auto-refreshing
45+
46+
* Added Docker support with multi-stage build
47+
* `Dockerfile` with two-stage build process for minimal image size (~176MB final image)
48+
* Uses Rust 1.92 and Debian trixie-slim as runtime base
49+
* `docker-compose.yml` for easy container orchestration
50+
* `.dockerignore` to optimize build context
51+
* Runs as non-root user for security
52+
* Persistent data volume at `/data`
53+
* Default server mode with port 8080 exposed
54+
4155
### Bug Fixes
4256

4357
* Fixed "database is locked" error in `monocle config db-refresh` command (Issue #90)
@@ -53,13 +67,6 @@ All notable changes to this project will be documented in this file.
5367
* Connectivity section (upstreams/peers/downstreams) tables show truncation indicator
5468
* Makes it much more visible that additional results are available
5569

56-
### New Features
57-
58-
* Added global `--no-refresh` flag to disable automatic data refresh
59-
* Use `monocle --no-refresh <command>` to skip all automatic data loading/refresh
60-
* Useful when you want to use existing cached data only
61-
* Shows warnings when data is missing or stale instead of auto-refreshing
62-
6370
* Added `[monocle]` prefix to all auto-refresh log messages
6471
* Makes it easier to distinguish monocle's internal logging from main output
6572
* Especially useful when refresh operations run automatically during commands
@@ -73,15 +80,6 @@ All notable changes to this project will be documented in this file.
7380
* Tests for schema version verification
7481
* Tests for RPKI and Pfx2as mock data storage/retrieval
7582

76-
* Added Docker support with multi-stage build
77-
* `Dockerfile` with two-stage build process for minimal image size (~176MB final image)
78-
* Uses Rust 1.92 and Debian trixie-slim as runtime base
79-
* `docker-compose.yml` for easy container orchestration
80-
* `.dockerignore` to optimize build context
81-
* Runs as non-root user for security
82-
* Persistent data volume at `/data`
83-
* Default server mode with port 8080 exposed
84-
8583
## v1.0.1 - 2025-12-17
8684

8785
### Bug Fixes

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "monocle"
3-
version = "1.1.0"
3+
version = "1.0.2"
44
authors = ["Mingwei Zhang <mingwei@bgpkit.com>"]
55
edition = "2021"
66
readme = "README.md"

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,16 @@ Monocle can also be used as a library in your Rust projects. Add it to your `Car
9999
```toml
100100
[dependencies]
101101
# Full library with CLI argument support (default)
102-
monocle = "1.1"
102+
monocle = "1.0"
103103

104104
# Minimal database access only
105-
monocle = { version = "1.1", default-features = false, features = ["database"] }
105+
monocle = { version = "1.0", default-features = false, features = ["database"] }
106106

107107
# BGP operations without CLI overhead
108-
monocle = { version = "1.1", default-features = false, features = ["lens-bgpkit"] }
108+
monocle = { version = "1.0", default-features = false, features = ["lens-bgpkit"] }
109109

110110
# Full functionality without CLI
111-
monocle = { version = "1.1", default-features = false, features = ["lens-full"] }
111+
monocle = { version = "1.0", default-features = false, features = ["lens-full"] }
112112
```
113113

114114
### Feature Tiers

examples/README.md

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,9 @@ Examples requiring the full CLI/Server feature set.
9191

9292
## Using in Your Project
9393

94-
### Minimal Database Access
94+
See the main [README](../README.md) for dependency configuration with version numbers and feature tiers.
9595

96-
```toml
97-
[dependencies]
98-
monocle = { version = "1.1", default-features = false, features = ["database"] }
99-
```
96+
### Minimal Database Access
10097

10198
```rust
10299
use monocle::database::MonocleDatabase;
@@ -110,11 +107,6 @@ let rels = db.as2rel().search_asn(13335)?;
110107

111108
### Standalone Utilities
112109

113-
```toml
114-
[dependencies]
115-
monocle = { version = "1.1", default-features = false, features = ["lens-core"] }
116-
```
117-
118110
```rust
119111
use monocle::lens::time::{TimeLens, TimeParseArgs};
120112

@@ -125,11 +117,6 @@ let results = lens.parse(&args)?;
125117

126118
### BGP Operations
127119

128-
```toml
129-
[dependencies]
130-
monocle = { version = "1.1", default-features = false, features = ["lens-bgpkit"] }
131-
```
132-
133120
```rust
134121
use monocle::database::MonocleDatabase;
135122
use monocle::lens::rpki::RpkiLens;
@@ -147,11 +134,6 @@ println!("{}: {}", result.state, result.reason);
147134

148135
### Full Functionality
149136

150-
```toml
151-
[dependencies]
152-
monocle = { version = "1.1", default-features = false, features = ["lens-full"] }
153-
```
154-
155137
```rust
156138
use monocle::database::MonocleDatabase;
157139
use monocle::lens::inspect::{InspectLens, InspectQueryOptions};

src/server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Returns protocol/server metadata so web/native clients can adapt without hardcod
238238
"type": "result",
239239
"data": {
240240
"protocol_version": 1,
241-
"server_version": "1.1.0",
241+
"server_version": "1.0.2",
242242
"build": {
243243
"git_sha": "unknown",
244244
"timestamp": "unknown"

0 commit comments

Comments
 (0)