@vrbo/catalyst-server
Advanced tools
Comparing version 4.0.0 to 5.0.0
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
@@ -7,2 +8,7 @@ | ||
### 5.0.0 - 2020-11-01 | ||
- [Breaking] Drop support for node 12. Node version 14+ required. | ||
- Updates `@hapi/hapi` peer depenency requirement to `>=20.2.1` | ||
### 4.0.0 - 2020-08-18 | ||
@@ -20,2 +26,3 @@ | ||
- [Breaking] Drop support for node < 12. | ||
- [Breaking] Drop support for Hapi <= 18 | ||
- Update Github test workflow to only test node v 12.x | ||
@@ -25,7 +32,11 @@ - Update dependencies, npm, and engines in package.json to support node version >= 12. | ||
## 2.2.0 - 2020-06-26 | ||
### Changed | ||
- Add support for merging multiple manifest files. | ||
## 2.1.0 - 2020-01-09 | ||
### Changed | ||
- Use `@vrbo` namespaced versions of `steerage` and `determination` | ||
@@ -36,3 +47,5 @@ - Updated `determination` to v3 | ||
## 2.0.2 - 2019-12-17 | ||
### Fixed | ||
- Correctly enable `hapi-pino` | ||
@@ -43,12 +56,17 @@ - Disable prettyPrint in production | ||
## 2.0.1 - 2019-10-07 | ||
### Changed | ||
- Upgrade joi dependency version. | ||
## 2.0.0 - 2019-07-19 | ||
### BREAKING CHANGE | ||
- Upgrade Hapi to v18 | ||
- **`@hapi/hapi` v18.3.1 or newer now required** | ||
- If you are still on Hapi v17, please continue to use v1.0.1 | ||
- **`@hapi/hapi` v18.3.1 or newer now required** | ||
- If you are still on Hapi v17, please continue to use v1.0.1 | ||
### Changed | ||
- Use the new `@hapi` scoped packages for Crumb, Hapi, Hoek, Joi | ||
@@ -58,6 +76,9 @@ - Bump up `steerage` to v8 which supports Hapi 18 | ||
## 1.0.1 - 2019-04-19 | ||
### Changed | ||
- Minor code formatting changes | ||
## 1.0.0 - 2019-04-19 | ||
### Initial release |
@@ -21,3 +21,4 @@ /* | ||
register: Joi.object(), | ||
server: Joi.object() | ||
server: Joi.object(), | ||
routes: Joi.array().items(Joi.object()) | ||
}) | ||
@@ -24,0 +25,0 @@ |
{ | ||
"name": "@vrbo/catalyst-server", | ||
"version": "4.0.0", | ||
"version": "5.0.0", | ||
"description": "Configuration and composition management for Hapi.js applications.", | ||
@@ -38,3 +38,3 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=12.0.0", | ||
"node": ">=14.0.0", | ||
"npm": ">=6.0.0" | ||
@@ -56,3 +56,3 @@ }, | ||
"peerDependencies": { | ||
"@hapi/hapi": ">=20.0.0" | ||
"@hapi/hapi": ">=20.2.1" | ||
}, | ||
@@ -68,10 +68,11 @@ "dependencies": { | ||
"devDependencies": { | ||
"@hapi/hapi": "^20.0.0", | ||
"@hapi/hapi": "^20.2.1", | ||
"@hapi/inert": "^6.0.3", | ||
"chai": "^4.2.0", | ||
"chai-as-promised": "^7.1.1", | ||
"nyc": "^15.1.0", | ||
"sinon": "^9.0.3", | ||
"standard": "^14.3.4", | ||
"mocha": "^8.0.0" | ||
"sinon": "^11.0.0", | ||
"standard": "^16.0.0", | ||
"mocha": "^9.0.0" | ||
} | ||
} |
@@ -62,8 +62,8 @@ # @vrbo/catalyst-server | ||
"server": { | ||
"app": { | ||
} | ||
"app": {} | ||
}, | ||
// Hapi plugins | ||
"register": { | ||
} | ||
"register": {}, | ||
// Hapi routes | ||
"routes": [] | ||
} | ||
@@ -95,7 +95,7 @@ ``` | ||
"register": { | ||
"Inert": { | ||
"register": "require:inert" | ||
"inert": { | ||
"plugin": "require:@hapi/inert" | ||
}, | ||
"Vision": { | ||
"register": "require:vision", | ||
"vision": { | ||
"plugin": "require:@hapi/vision", | ||
"options": { | ||
@@ -108,3 +108,13 @@ "engines": { | ||
} | ||
} | ||
}, | ||
// Hapi routes | ||
"routes": [ | ||
{ | ||
"method": "GET", | ||
"path": "/my-file.txt", | ||
"handler": { | ||
"file": "path:./my-file.txt" | ||
} | ||
} | ||
] | ||
} | ||
@@ -155,3 +165,3 @@ ``` | ||
"crumb": { | ||
"register": "require:crumb", | ||
"plugin": "require:crumb", | ||
"options": { | ||
@@ -236,3 +246,3 @@ "cookieOptions": { | ||
```json | ||
"register": "require:inert" | ||
"plugin": "require:@hapi/inert" | ||
``` | ||
@@ -239,0 +249,0 @@ * will load the node module `inert` and will set the `register` to what that module exports. This works for js files in you application. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
36131
205
295
8