Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@duart38 duart38 released this 17 Aug 14:54
· 9 commits to master since this release

This update re-writes the foundation of the middleware.

  • axiod is no longer used, we now use fetch
  • "cors" in the models interface has been renamed to headers..
  • headers (formerly cors) now accepts any key val pair.
  • decoding has been split into 2 instructions. One for decoding the request before we forward and the other for only decoding before we send back to the client
  • JSDoc has been updated
  • We now allow parameters to be passed after the base URL needed to instruct the middleware (http:www.test.com//<method_in_model>/......params......)
  • the method to get the "url parameters" has been named to "getUrlQueryStrings" as this is the correct term.
  • loadConfiguration method now also takes in the parameters and passes these down to the models
  • we added the ability to server HTML files or call other servers that serve SPAs

and many more... documentation coming soon