Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Release v1.3.0 #1

Merged
merged 4 commits into from
Dec 28, 2023
Merged

Release v1.3.0 #1

merged 4 commits into from
Dec 28, 2023

Conversation

shelepuginivan
Copy link
Owner

Release version 1.3.0.

Changes made:

  • Separated overloads of the Router http methods.
  • Made field LunaticServer.httpServer public.
  • Enhanced method LunaticServer.listen to support hostname, backlog and asynchronous operations.

Separate second arguments `handler: RequestHandler` and `router: Router`
into new overloads.
- Added support for optional parameters (`hostname`, `backlog`) in the `listen` method.
- Updated the method to return a `Promise<void>` instead of directly returning a `Server` instance.
- Updated the method implementation to use the provided parameters and return a Promise for asynchronous handling.

BREAKING CHANGE: The signature of the listen method has been updated to support optional parameters for hostname and backlog, and now returns a `Promise<void>` instead of directly returning a `Server` instance. Existing code calling the listen method may need to be updated to accommodate the new signature and usage.
@shelepuginivan shelepuginivan added the enhancement New feature or request label Dec 28, 2023
@shelepuginivan shelepuginivan merged commit 68ed872 into main Dec 28, 2023
8 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant