Skip to content

2.4.0 Add static start method to Knight class#8

Merged
WilliamRagstad merged 4 commits intomainfrom
develop
Jul 20, 2025
Merged

2.4.0 Add static start method to Knight class#8
WilliamRagstad merged 4 commits intomainfrom
develop

Conversation

@WilliamRagstad
Copy link
Owner

Introduces a static start method to initialize and run the Knight application on a specified port. Includes request logging in development mode, port validation, and a startup banner for improved developer experience.

Introduces a static start method to initialize and run the Knight application on a specified port. Includes request logging in development mode, port validation, and a startup banner for improved developer experience.
The Knight.start method now accepts a Logger instance for output, defaults the port to 8080, and improves the startup banner with color formatting and version info. Console output is replaced with logger methods when provided.
Replaces the hardcoded version string in the Knight startup banner with the value from deno.json. This ensures the displayed version matches the project's configuration.
@WilliamRagstad WilliamRagstad merged commit 7ffb519 into main Jul 20, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant