Releases: themost-framework/express
Releases · themost-framework/express
1.7.0
What's Changed
- finalize context before format response by @kbarbounakis in #71
Full Changelog: 1.6.2...1.7.0
1.6.2
What's Changed
- Fix content file name encoding by @anthioikonomou in #70
New Contributors
- @anthioikonomou made their first contribution in #70
Full Changelog: 1.6.1...1.6.2
1.6.1
1.6.0
1.5.24
What's Changed
- Bump qs and express by @dependabot in #63
- Bump glob-parent from 5.1.1 to 5.1.2 by @dependabot in #46
- Bump hosted-git-info from 2.8.5 to 2.8.9 by @dependabot in #44
- npm audit fix by @kbarbounakis in #65
Full Changelog: 1.5.23...1.5.24
1.5.23
1.5.23
1.5.22
What's Changed
- Use
getServiceRouter(Application)
method to get an instance of service router running for the given express application. Use this operation if you want to customize the stack of service by adding new functionality e.g. customize router to have a default$top
query option.
import { getServiceRouter } from '@themost/express';
// ...
// initialize app
// ...
const router = getServiceRouter(app);
const addRoute = express.Router();
// add a middleware before /:entitySet and set default $top query option
addRoute.get('/:entitySet', function customMiddleware(req, res, next) {
if (Object.prototype.hasOwnProperty.call(req.query, '$top') === false) {
Object.assign(req.query, { $top: 100 });
}
return next();
});
router.stack.unshift(...addRoute.stack);
1.5.20
Version 1.5.19
1.5.19
Version 1.5.18
Changelog
- Cleanup streams used in OData actions.
- Configure user uploaded content under
settings/multer
node of application configuration based on multer module configuration