Skip to content

Releases: danfuzz/lactoserv

v0.6.1

19 Jan 22:54
Compare
Choose a tag to compare

Breaking changes:

  • Changed interface of BaseApplication to use Request and DispatchInfo (see
    below). This breaks downstream clients of this codebase.

Other notable changes:

  • Added new application SimpleResponse, which is kind of like a one-file
    StaticFiles.
  • Introduced a Request class specific to this project, instead of just
    "absorbing" Express's Request and Response objects. Our Request holds
    both the underlying request and response (and other related goodies). For now,
    the underlying Express bits are exposed to clients, but the intention is for
    them to get hidden and for this project's API to be sufficient.
  • Relatedly, introduced new class DispatchInfo, to hold information about a
    request dispatch-in-progress (i.e., routing information, more or less). In
    Express, the equivalent state is represented by mutating the request object,
    but we're an immutable-forward shop here.
  • Got rid of direct uses of Express's Request and Response classes, other
    than within our Request. Most notably, the request logging code got a
    major rewrite.
  • Reworked most of the code in our Request class that does
    actually-Express-specific stuff, to instead do approximately what Express
    does, or just not do it at all. Notably, we no longer try to deal with reverse
    proxies; support will probably be added for them eventually (assuming demand).
  • Reworked StaticFiles to use our Request instead of wrapping
    express.static().

v0.6.0

29 Dec 18:04
7743287
Compare
Choose a tag to compare

Breaking changes:

  • None.

Other notable changes:

  • Now willing to run in Node v21, though not yet heavily tested with it.

v0.5.20

15 Dec 22:59
Compare
Choose a tag to compare

Breaking changes:

  • None.

Other notable changes:

  • Extracted base class BaseSystem from UsualSystem, to help avoid code
    duplication in downstream projects.
  • Added ability to make hostnames use automatically-generated self-signed
    certificates.
  • A bunch of cleanup / rationalization around the configuration code, especially
    with hostname and IP address parsing.
  • Pulled in improved bashy-lib, and adjusted accordingly.

v0.5.19

04 Dec 19:37
Compare
Choose a tag to compare

Breaking changes:

  • None. This is a build-only change. The built artifacts should remain the same.

Other notable changes:

  • Pulled in improved bashy-lib, and adjusted accordingly.

v0.5.18

02 Nov 21:51
Compare
Choose a tag to compare

Breaking changes:

  • None. Though there have been no intentionally-meaningful code changes, please
    note that the ESLint update (see below) did require some code tweakage.

Other notable changes:

  • Lint:
    • Updated to latest ESLint. Adjusted comments and code accordingly.
    • Un-janked how the linter gets built. It's now built using the same mechanism
      as the main application build.
  • Testing: As with the linter, un-janked how it gets built.

v0.5.17

30 Oct 16:33
Compare
Choose a tag to compare

Breaking changes:

  • None. This is a build-only change. The built artifacts should remain the same.

Other notable changes:

  • Updated automated build to use Node 20.
  • Pulled in improved bashy-lib, and adjusted accordingly.

v0.5.16

26 Sep 21:05
Compare
Choose a tag to compare

v0.5.16 -- 2023-09-26

This is a build-only change. The built artifacts should remain the same.

Notable changes:

  • Pulled in improved bashy-lib, and adjusted accordingly.

v0.5.15

23 Aug 15:57
Compare
Choose a tag to compare

Notable changes:

  • Pulled in improved bashy-lib, and adjusted accordingly. This is a build-only
    change. The built artifacts should remain the same.

v0.5.14

01 Jun 18:50
Compare
Choose a tag to compare

v0.5.14 -- 2023-06-01

Notable changes:

  • Pulled in improved bashy-lib, and adjusted accordingly.

v0.5.13

09 May 19:26
685778c
Compare
Choose a tag to compare

v0.5.13 -- 2023-05-09

Notable changes:

  • Somewhat better error checking on startup.
  • Build infrastructure update:
    • Introduced use of package-lock.json.
    • Pulled in improved bashy-lib.