Skip to content

Change log

Androbot edited this page Jan 11, 2025 · 137 revisions

Change log

v2.13.4

  • add declare module to d.ts
  • more snippets plus typescript
  • update api example to test APISnippetExample, also in vscode_snippets (Router Data Service + CRUD APIController)

v2.13.3

  • add ProtoSSCheRequire global method to use instead of require
  • support of type:module in package.json
  • add declare module string path, use node_modules symbolic links automation of folders in case of import

v2.13.2

  • add vscode snippets
  • add node binary Randomizer with seeding to api and d.ts
  • touch destructering require

v2.13.1

  • add stock example

v2.13.0

  • add CharMap with unicode alphabets

v2.12.0

  • add DataValidator and d.ts
  • update api_example.js to test validation of input

v2.11.0

  • update of README.md
  • update of d.ts

v2.10.0

  • add ListDir to web utils and d.ts
  • modify file_example.js to service per ListDir configuration

v2.9.0

  • add .prettierrc.json
  • add scripts to package.json
  • run prettier reformat

v2.8.0

  • __disablePipeline of response stops the pipeline of endResponse
  • string merger of __data executes on non zero length
  • headersSent of response prevents writeHead in endResponse
  • RequestHeaders and ResponseHeaders in d.ts to augment incoming request headers
  • REQUEST_URL and REQUEST_METHOD override url/method of request

v2.7.0

  • move example.js to examples/basic/
  • LobbyServer uses string or buffer in onConnected
  • debugRouteList in Subserver

v2.6.0

  • use __await Promise parameter of response for preconditional balking in endResponse
  • prevent * in page path for input in routeCallback

v2.5.0

  • endResponse in XProtoSSChe server converts Object and Array to json
  • update apiprovider example to test return of Promise object as json
  • removePathListener also with * path
  • prototypes to response object: __asyncEnd, __asyncDataEnd, __asyncJsonEnd

v2.4.0

  • add Router to api and d.ts
  • addRouter method in Subserver
  • new d.ts in ServerObjects for SingleServerStats, ClusterStats
  • update apiprovider example to test Router
  • listen for * path in addRegExpPathListener

v2.3.0

  • add BooleanRef, NumberRef, StringRef to nano utils
  • swapBodyBuffer in env
  • move splitUrl before request middleware

v2.2.0

  • add __breakRoute after middleware
  • callback array or function in addParamsPathListener
  • export getNodeServer in main server module from getModuleInstance

v2.1.0

  • move Premise implementation from indexPremiseTS to api/PremiseData
  • fileless startup support
  • #ENUM map per name of modules loads server
  • add new globals
  • compile .js of .ts files

v2.0.2

  • move body in midobj of Subserver middleware
  • add __json(data, code?) to response prototype

v2.0.1

  • add package.json
  • add const transportation object in middleware
  • add headers to const object of response middleware

v2.0.0

  • add pathEmitter separation of event logic in Subserver
  • add additional meta data in protossdox.json
  • add request and response middleware processing
  • json content type converts non-String objects using .toString()

Changes upto v2.0.0

Clone this wiki locally