CHANGELOG.md 3.14 KB
Newer Older
1
2
3
4
5
6
7
8
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

Aral Balkan's avatar
Aral Balkan committed
9
10
Nothing yet.

11
12
13
14
15
16
17
18
19
20
21
## [5.1.0] - 2019-03-09

### Changed

  - Nodecert is no longer invoked at startup but only if locally-trusted certificates are requested.
  - ACME TLS globally-trusted Let’s Encrypt certificates are now stored in `~/.acme-tls` (locally trusted nodecert certificates are still stored in `~/.nodecert`).

### Fixed

  - Tests

22
23
24
25
26
27
28
29
30
31
32
33
34
35
## [5.0.0] - 2019-03-09

### Changed

  - __Privacy and usability__: Now using [ACME TLS](https://source.ind.ie/hypha/tools/acme-tls/) (fork of Greenlock.js) for Let’s Encrypt certificate provisioning. This removes the artificial and privacy-eroding Greenlock.js requirement to specify an email address for Let’s Encrypt certificates.

  - __API:__ The `serve()` method now accepts a single parameter object (`options`).

## [4.0.0] - 2019-03-08

### Added

  - Add support for globally-trusted Let’s Encrypt TLS certificates.

Aral Balkan's avatar
Aral Balkan committed
36
37
38
39
## [3.0.0] - 2019-03-05

### Removed

40
41
42
  - HTTP2 support

    HTTP2 is not useful for [Small Tech](https://ar.al/2019/03/04/small-technology/) as it simply further privileges centralised servers. If you need HTTP2, use [https-server version 2.0.1](https://source.ind.ie/hypha/tools/https-server/tags/2.0.1).
Aral Balkan's avatar
Aral Balkan committed
43

44
45
46
47
48
49
## [2.0.1] - 2019-03-01

### Fixed

  - Remove erroneously-added console log message.

Aral Balkan's avatar
Aral Balkan committed
50
51
52
53
## [2.0.0] - 2019-02-28

### Added

54
  - HTTP2 support (API-only)
Aral Balkan's avatar
Aral Balkan committed
55
56
57

### Changed

58
59
60
61
62
  - Command-line arguments: specify port using `--port N`
  - Update `serve` method signature: `serve (pathToServe = '.', callback = null, port = 443)`

### Fixed

Aral Balkan's avatar
Aral Balkan committed
63
64
  - Start using [semver](https://semver.org/) properly (most of the previous releases should have been minor version bumps.) This is a major bump as there is a backwards-incompatible API change to the serve() method.

65
66
## [1.0.7] - 2019-02-28

67
### Fixed
68
69
70

  - Fix regression with automatic privileged port binding on Linux.

Aral Balkan's avatar
Aral Balkan committed
71
72
73
## [1.0.6] - 2019-02-28

### Changed
74
75
76

  - Uses nodecert v1.0.5: certificates now work in Node.js (e.g., via https.get(), etc.).

Aral Balkan's avatar
Aral Balkan committed
77
### Added
78
79

  - Unit tests.
80

81
82
## [1.0.5] - 2019-02-27

Aral Balkan's avatar
Aral Balkan committed
83
### Added
84
85
86

  - API: you can now use https-server programmatically from your own Node.js apps. It exposes a `createServer` method that’s polymorphic with its namesake from the base `https` module and it provides a `serve` convenience method that uses Express to serve a static site at the passed directory and port (or the current directory at port 443 by default).

87
88
## [1.0.4] - 2019-02-26

Aral Balkan's avatar
Aral Balkan committed
89
### Changed
90

91
  - Uses nodecert v1.0.4 (with progress indication).
92

93
94
## [1.0.3] - 2019-02-26

Aral Balkan's avatar
Aral Balkan committed
95
### Added
96
97
98

  - Node.js is automatically privileged to bind to ports < 1024 (including the default TLS port of 443).

99
100
## [1.0.2] - 2019-02-25

Aral Balkan's avatar
Aral Balkan committed
101
### Changed
102
103
104

  - Uses nodecert v1.0.3 with seamless install on macOS as well as Linux.

105
106
107
108
109
110
111
112
## [1.0.1] - 2019-02-25

### Fixed

  - Actually serves the requested folder instead of a hardcoded one 🤦

### Added

113
  - Support for manually-specifying the port.
114
115
116
117

## [1.0.0] - 2019-02-25

Initial release.