Skip to content

Commit 122200b

Browse files
authored
Release/8.4.0 (#34)
Release 8.4.0. See CHANGELOG for details.
1 parent 65844aa commit 122200b

16 files changed

+671
-3761
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,6 @@ node_modules
3030

3131
.tmp
3232
deprecated
33+
34+
# local pack (`npm pack` result)
35+
somnus-*.tgz

.npmignore

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,16 @@ scripts
33
.babelrc
44
.travis.yml
55
.github
6-
webpack.config.js
6+
webpack.config.ts
77
tslint.json
88

99
.tmp
1010
deprecated
1111
test
1212
examples
13+
14+
# local pack (`npm pack` result)
15+
somnus-*.tgz
16+
17+
# GitHub file
18+
_config.yml

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## [8.4.0] - 2022-07-11
2+
### Changed
3+
- truly decoupled `unit-http` from `somnus` in user-land (see https://github.com/somnusjs/somnus/issues/33)
4+
- upgraded a few dependencies
5+
6+
### Added
7+
- the command `npm run local-pack` which prepares a somnus tarball for local installation (wraps `npm pack`)
8+
19
## [8.3.2] - 2022-05-30
210
### Changed
311
- GitHub Action config now supports both registries: npm (stable usage) and GitHub Packages (experimental usage)

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,18 @@ npm test
111111

112112
Why do we run tests for both `src` and `lib` directories? Because as library authors, we're responsible for ensuring that the build process transpiles & outputs as it should, and the best way to do that is by testing the code from both source and dist.
113113

114+
## How to install 'unit-http'?
115+
116+
Integration with Nginx's `unit-http` was added in `v8.2.0` and a rudimentary unit test suite for it was added in `v8.4.0`.
117+
It is not required to have `unit-http` installed to develop somnus.js; however, if you really want to install `unit-http`,
118+
feel free to follow the following example steps:
119+
1. install the corresponding native system dependencies: https://unit.nginx.org/installation/
120+
2. install the `unit-http` Node.js module itself using `npm i -g unit-http`
121+
3. link the global `unit-http` to the somnus project using `npm link unit-http`
122+
123+
Note that the instruction above is for example only. It should work for most use cases, but you are free to
124+
install `unit-http` however best fits your project/system setup.
125+
114126
## Migration
115127

116128
### from v3 to v8

0 commit comments

Comments
 (0)