14 Commits

Author SHA1 Message Date
f176223063 feat: bump version to 0.1.12 and update allowed HTTP methods in middleware 2026-03-11 19:25:18 +01:00
0ea9aa7870 refactor: remove session auth, add DbType enum, native async broker
- Remove `auth`, `sessions-db` features and all tower-sessions/tower-sessions-sqlx-store deps
- Delete `src/session.rs` (InfraSessionStore)
- `ServerConfig`: remove `session_secret` field and `attach_session_layer()` helper
- `db.rs`: add explicit `DbType` enum to `DatabaseConfig`; `connect()` now matches on
  `db_type` instead of sniffing URL prefixes; remove `connect_sqlite()` standalone fn
- `broker/mod.rs`: replace `#[async_trait]` with native async fn (Rust 2024 AFIT)
- `broker/nats.rs`: remove `#[async_trait]` to match trait definition
- `ai/embeddings.rs`: remove sync `generate_embedding()` (wasteful thread spawn);
  keep only `generate_embedding_async()` as the public API
- Default features: `["logging", "db-sqlx", "auth", "http"]` → `["logging"]`
- Bump version to 0.1.11

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-05 01:36:52 +01:00
7a72f5f54a feat: bump version to 0.1.10 and update tokio dependency 2026-01-02 14:58:16 +01:00
9e1778418d feat: bump version to 0.1.9 and update database connection handling 2026-01-02 14:57:17 +01:00
576594f1c7 feat: bump version to 0.1.8 and update FastEmbedAdapter constructor return type 2026-01-02 14:56:16 +01:00
f1b163040c feat: bump version to 0.1.7 and add futures-core and futures-util dependencies 2026-01-02 14:53:42 +01:00
af76a66786 feat: bump version to 0.1.6 and add new features
- Updated Cargo.toml to version 0.1.6 and added new features: `http`, `sessions-db`, `ai`, and `broker-nats`.
- Introduced `FastEmbedAdapter` for generating text embeddings using the `fastembed` crate.
- Added `QdrantAdapter` for interacting with Qdrant vector database.
- Implemented a message broker trait and a NATS broker for asynchronous message publishing and subscribing.
- Created HTTP server middleware for CORS and session management.
- Added session store implementation with support for both PostgreSQL and SQLite.
- Organized module structure by creating new modules for AI, broker, and HTTP functionalities.
2026-01-02 14:35:14 +01:00
667cae596c Bump version to 0.1.5 and add database pool accessors for SQLite and Postgres 2026-01-02 13:45:55 +01:00
c70a1eb443 Bump version to 0.1.4 and improve DatabaseConfig default implementation 2026-01-02 13:40:45 +01:00
c783323b69 Bump version to 0.1.3 and enhance DatabaseConfig with min_connections and new methods 2026-01-02 13:30:28 +01:00
3772721cdf Bump version to 0.1.2 and refactor database connection handling 2026-01-02 05:55:15 +01:00
bda288362a Bump version to 0.1.1 2026-01-02 05:43:13 +01:00
c2b03b37b5 Refactor database connection handling and configuration 2026-01-02 05:40:34 +01:00
0057613308 init 2026-01-02 05:15:25 +01:00