CHANGELOG.md 2.21 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.

Aral Balkan's avatar
Aral Balkan committed
11
12
13
14
15
16
## [3.0.0] - 2019-03-05

### Removed

  - HTTP2 support (HTTP2 is not useful for [Small Tech](https://ar.al/2019/03/04/small-technology/) as it simply further privileges servers. If you need HTTP2, [use v2.0.1]().)

17
18
19
20
21
22
## [2.0.1] - 2019-03-01

### Fixed

  - Remove erroneously-added console log message.

Aral Balkan's avatar
Aral Balkan committed
23
24
25
26
## [2.0.0] - 2019-02-28

### Added

27
  - HTTP2 support (API-only)
Aral Balkan's avatar
Aral Balkan committed
28
29
30

### Changed

31
32
33
34
35
  - 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
36
37
  - 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.

38
39
## [1.0.7] - 2019-02-28

40
### Fixed
41
42
43

  - Fix regression with automatic privileged port binding on Linux.

Aral Balkan's avatar
Aral Balkan committed
44
45
46
## [1.0.6] - 2019-02-28

### Changed
47
48
49

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

Aral Balkan's avatar
Aral Balkan committed
50
### Added
51
52

  - Unit tests.
53

54
55
## [1.0.5] - 2019-02-27

Aral Balkan's avatar
Aral Balkan committed
56
### Added
57
58
59

  - 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).

60
61
## [1.0.4] - 2019-02-26

Aral Balkan's avatar
Aral Balkan committed
62
### Changed
63

64
  - Uses nodecert v1.0.4 (with progress indication).
65

66
67
## [1.0.3] - 2019-02-26

Aral Balkan's avatar
Aral Balkan committed
68
### Added
69
70
71

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

72
73
## [1.0.2] - 2019-02-25

Aral Balkan's avatar
Aral Balkan committed
74
### Changed
75
76
77

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

78
79
80
81
82
83
84
85
## [1.0.1] - 2019-02-25

### Fixed

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

### Added

86
  - Support for manually-specifying the port.
87
88
89
90

## [1.0.0] - 2019-02-25

Initial release.