Releases: IgorKowalczyk/repl-uptime
Releases · IgorKowalczyk/repl-uptime
v1.6.0
v1.5.2
What's Changed
- Update dependency prettier to v3.0.2 by @renovate in #109
- Update pnpm to v8.7.6 by @renovate in #123
- Update dependency eslint to v8.50.0 by @renovate in #124
- Update dependency rollup to v3.29.3 by @renovate in #125
- Add funding to package.json and minify build in 0d58a78
Full Changelog: v1.5.1...v1.5.2
v1.5.1
v1.5.0
New Features:
- Introduced a
Server
class to replace the previousconfig()
function. - The
Server
class now starts listening automatically upon instantiation, providing better control and organization. - Added a
stop()
method to gracefully shut down the server. - Implemented asynchronous operations using Promises for handling server startup and shutdown.
// Old 💩
import { config } from "@igorkowalczyk/repl-uptime";
config();
// New! 🎉
import Server from "@igorkowalczyk/repl-uptime";
new Server();
Improvements:
- Enhanced code structure and encapsulation by using a class-based approach.
Deprecated:
- The
config()
function is deprecated in favor of theServer
class.
Breaking Changes:
- The way of initializing the server has changed from invoking
config()
function to creating a new instance ofServer
.
Miscellaneous:
- Updated documentation to reflect the changes in usage.
- Improved test cases for better code coverage and reliability.
Full Changelog: 1.4.0...v1.5.0
v1.4.0
What's Changed
- Update prettier to v3 in #87
- Add rollup buildhttps://github.com/IgorKowalczyk/repl-uptime/commit/74445a1200d768b8d328caacf1efa4bf077f210a
- Update readme with new examples, logo and badges 385cc56
Full Changelog: v1.3.0...1.4.0
v1.3.0
What's Changed
- Changing package manager from
npm
topnpm
. - Zero major code changes, minor debug logs optimizations
- Changing the variable naming style to camelCase
Full Changelog: v1.2.1...v1.3.0
v1.2.1
What's Changed
- Added Github Actions
- Added Auto Publish to NPM and Github Packages
Full Changelog: 1.2.0...v1.2.1
v1.2.0
🤙 Repl Uptime v1.2.0
(Initial Release)
Node.js v7.7.3 or newer is required.
npm install @igorkowalczyk/repl-uptime
yarn add @igorkowalczyk/repl-uptime
pnpm add @igorkowalczyk/repl-uptime
📦 Examples
No Config
require("@igorkowalczyk/repl-uptime").config();
With Config
require("@igorkowalczyk/repl-uptime").config({
port: 8080,
path: "/",
message: "🤙 Don't let your repl go to sleep!",
debug: true,
});