Skip to content

Releases: themost-framework/express

1.7.0

19 Mar 11:51
853f88c
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.6.2...1.7.0

1.6.2

12 Sep 11:33
eddfd36
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.6.1...1.6.2

1.6.1

31 May 05:53
2d93dcb
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.6.0...1.6.1

1.6.0

02 Feb 05:20
349dbec
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5.24...1.6.0

1.5.24

09 Dec 10:19
568f485
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5.23...1.5.24

1.5.23

29 Sep 09:41
Compare
Choose a tag to compare
1.5.23

1.5.22

28 Sep 07:57
Compare
Choose a tag to compare

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

02 Jun 14:01
Compare
Choose a tag to compare

What's Changed

Full Changelog: 1.5.19...1.5.20

Version 1.5.19

17 Dec 08:06
Compare
Choose a tag to compare

Version 1.5.18

04 Oct 15:08
142702a
Compare
Choose a tag to compare

Changelog

  • Cleanup streams used in OData actions.
  • Configure user uploaded content under settings/multer node of application configuration based on multer module configuration