fedwiki / wiki-server

Federated Wiki client and server in Node.js
Other
153 stars 35 forks source link

Warning Message from Connect. #62

Closed WardCunningham closed 9 years ago

WardCunningham commented 10 years ago

Wiki reports the following warning when started.

  connect.multipart() will be removed in connect 3.0
  visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
  connect.limit() will be removed in connect 3.0

I would appreciate some advice on how to respond to these warnings. Where are they from? What do they mean? A pull-request would be awesome. Thanks.

nrn commented 10 years ago

This is probably coming from one of the middle wares we use. Annoying that they have those messages, we are pegged to express 3, and we shouldn't need to care about the next version of connect until we care about the next version of express.

paul90 commented 10 years ago

It is coming from the use of express.bodyParser.

Previously we had "express": "*" which would have caused the server to break with the release of express 4 (it was released early April).

There are breaking changes with both express 4 and connect 3.

paul90 commented 9 years ago

Fixed in the express4 branch.