Skip to content

Releases: IgorKowalczyk/repl-uptime

v1.6.0

13 Oct 19:01
1d5e94b
Compare
Choose a tag to compare

What's Changed

  • Rewrite package to TypeScript in 1d5e94b

Full Changelog: v1.5.2...v1.6.0

v1.5.2

24 Sep 17:28
0d58a78
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.5.1...v1.5.2

v1.5.1

12 Aug 08:59
2b8f8f6
Compare
Choose a tag to compare

What's Changed

  • Fix Github registry publish, no changes in code

Full Changelog: v1.5.0...v1.5.1

v1.5.0

31 Jul 21:18
05307e5
Compare
Choose a tag to compare

New Features:

  • Introduced a Server class to replace the previous config() 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 the Server class.

Breaking Changes:

  • The way of initializing the server has changed from invoking config() function to creating a new instance of Server.

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

06 Jul 17:59
d81541b
Compare
Choose a tag to compare

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

20 Dec 19:44
5ff1f32
Compare
Choose a tag to compare

What's Changed

  • Changing package manager from npm to pnpm.
  • 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

20 Jun 23:14
Compare
Choose a tag to compare

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

16 Apr 09:06
Compare
Choose a tag to compare

🤙 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,
});