Skip to content

Commit c082c77

Browse files
committed
feat: Refactor NanoEdgeRT to support database-stored services and dynamic API handling
- Updated NanoEdgeRT to initialize with a database configuration and load services from the database. - Removed file-based service support and adjusted service manager to handle database-stored service code. - Introduced dynamic API handling for admin endpoints. - Enhanced Swagger generator to use unknown types for paths and components. - Added service permissions interface for better type management. - Implemented integration tests for database configuration and service management. - Created a test database utility for isolated testing. - Removed outdated E2E tests and replaced them with integration tests focusing on dynamic API and service functionality.
1 parent 14f9859 commit c082c77

28 files changed

+1512
-935
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v4
1717

1818
- name: Setup Deno
19-
uses: denoland/setup-deno@v1
19+
uses: denoland/setup-deno@v2
2020

2121
- name: Verify formatting
2222
run: deno fmt --check

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
*.js
1+
*.js
2+
*.sqlite3

CHANGELOG.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,32 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [Unreleased]
8+
## [1.1.0] - 2025-07-24
9+
10+
### Added
11+
12+
- 🆕 **Dynamic API** - performing
13+
- add CRUD operations for services
14+
- upload single js file for service creation
15+
- on-the-fly service creation
16+
- 🚙 **Single Executable** - Add tasks to compile deno into single executable
17+
- Cross-platform compilation support (Windows, Linux, macOS)
18+
- Compile tasks for all target platforms
19+
- 📦 **Proper Configuration** - using Kysely instead of `config.json`
20+
- 🔄 **Service Management** - use Kysely databases for managing service files instead of folder and config.json
21+
- 🗄️ **SQLite Database** - Integrated SQLite database with Kysely ORM for persistent storage
22+
- 🔄 **CI/CD Improvements** - Updated GitHub Actions workflow with better Deno setup
23+
24+
### Changed
25+
26+
- 📈 **Version Bump** - Updated project version to 1.1.0 in deno.json
27+
- 🔧 **Dependencies** - Replaced Hono with Kysely for database operations
28+
- 📝 **Typo Fix** - Fixed "CURD" to "CRUD" operations
29+
30+
### Removed
31+
32+
-**CLI** - Removed CLI interface in favor of dynamic API for service management
33+
- 🗂️ **Legacy Config** - Removed file-based configuration system
934

1035
## [1.0.0] - 2025-07-22
1136

README.md

Lines changed: 138 additions & 140 deletions
Large diffs are not rendered by default.

cli.ts

Lines changed: 0 additions & 261 deletions
This file was deleted.

0 commit comments

Comments
 (0)