v0.0.1
Changelog
56216c8 all: initial commit
37acc09 all: mesh networks of microservices
a79b2af all: wip
57166ff cmd/flatend, codec, config, handler, http: temporarily disable csv codec, remove default handlers, add sqlite example
a7c3633 cmd/flatend, config: support serving static files
8112765 cmd/flatend, handler, http, http/utils: allow Handler.Serve() to return errors, stop execution of Handler upon discovery of an error, set default codec to nil, return original error for http util helper method httpError()
5668eae cmd/flatend, handler, http, http/utils: impl http server, refactor passing in contexts and configuration, add check for content-length == 0 for getBodyParams
259f156 cmd/flatend, httputil/octet, config, http, http/test: implement http routing, expose IsSpace and IsToken from httputil, implement and create tests for Route and ParseRoute, refactor how http routes are registered to flatend
65ce479 cmd/flatend, nodejs: make configuration for a flatend node simpler, and port nodejs sdk to typescript
c296bc1 cmd/flatend: add port to https
d81b7a6 cmd/flatend: add support for http -> https redirect
204bf30 cmd/flatend: add support for specifying domains vs bind addrs
9a7f0b7 cmd/flatend: cleanup dir structure, remove unused dep jsoniter
957e153 cmd/flatend: initial exploration on tui
d6f5f67 cmd/flatend: initial support for https
601a42b cmd/flatend: migrating ui from blanc
428b0fb cmd/flatend: read http.ErrServerClosed as io.EOF
57180a1 codec, config, http: separate config into separate module, add toml codec support, initial wip on routing
ec4e7c5 codec, handler, pool: temporarily remove xml encode/decode, add aliases for yaml, fix csv encoding/decoding,
96a86d7 codec: fix passing map to reflect codec Unmarshal()
eab0dd6 config: cleanup funcs s.t. config may not only be declared via starlark
d18b470 constrain: impl non-lazy eval of expression and re-impl ('&', '|', '>', '>=', '<', '<=', unary '-')
1edaf7b error, handler, http, pool: implement sql query handler, allow for unwrapping of flatend.Error, add pooling for value buffers
f27dfd9 flatend: remove // @ts-ignore
3c3d816 flathttp/error, flathttp/server: cleanup error handling, and separate errors and error utils into a separate file
5e30c01 flathttp/middleware: add content length check with test
bc32326 flathttp/test: have getAvailableAddrs guarantee to not emit duplicate available bind addrs
6155649 flathttp: add basic rate limiting support, and fix content length check for requests with empty bodies
fb7afd5 flathttp: add max duration to wait until we timeout a request
14143d8 flathttp: impl http server that can have a config reloaded s.t. it may listen to one or several net.Listeners or be shut down at any time
5f3270d flathttp: only add Retry-After header and wait_until
in error response if delay is sensible
b00748d flathttp: reposition methods in server.go
e7f95c7 flathttp: set ctx after timeout set
2cc98eb go: remove unnecessary deps
d5c2597 handler, http: have ContentEncode not write anything if there is no output to encode
b8c55a3 handler, readme: allow ContextHandler to load from another context as well, and add request lifecycle to readme
301bc54 handler: do not include pagination params in output if params not provided
8cdb103 handler: impl pagination spport for sql query handler
148ddd1 handler: parse pagination parameters limit/offset as either strings or integers, and set boundaries on [min, max] for limit
03347d4 handler: remove NegotiateCodec and use httputil.NegotiateContentType instead
a3699e9 http, handler, error: created generalized flatend.Error, remove httpError in place for writeError in flatend.Server,initial work on sql handler
a5d210a http, http/utils, handler, pool, cmd/flatend: implement codec registration/negotiation, decoding header/query/body params, and barebones cuelang repl
76e3d4e httputil, codec, handler, http: expose parser methods for Accept headers, register codecs by MIME types, encode response with negotiated header
f22c55e listen, cmd/flatend: fix shutdown for Listener, preserve body if it is valid utf8 else base64 encode it
888a6be listen, mod, nodejs: wip on more versatile listener api, move from /ts/ folder to /nodejs/ folder
3324c70 listen, nodejs: add support for handshake packets and request packets to Listener, use 'end' event instead of 'close' event for monte sockets in nodejs
4caf26c net, node, sdk/js: add backpressure support to MonteSocket, implement ResponsePacket to allow for more flexibility of responses from microservices
210581c net: add WriteHeader to flatend microservice api
6f97dcd node, cmd/flatend, sdk/nodejs: use log pkg, parse addr from config.toml, update example
a36cc01 node, net, cmd/flatend, cmd/microservice: significantly simplify node code and allow for ids to be nil
b9f1d0d nodejs: commit yarn.lock
a6cb949 nodejs: simplify where successful connection message is logged, update gitignore
ab61c75 orbis: add additional check in case lexer gone too far ahead eof
8c57274 orbis: add op rules for '+' and '-', impl constraint rules and set union/intersection of constraint rules using '&' and '|' op
5301241 orbis: cleanup lexNumber and lexEscapeChar
f57bd67 orbis: disallow inputs from being booleans
8b4980e orbis: fix condition for op right associativity, add token string formatting, set precedences for operators, impl unary negation
47a7361 orbis: fix escape binary num check
77570a9 orbis: fix off-by-one on lexing decimals, and initial work on shunting yard evaluator for constraint types
f099997 orbis: fix precedence eval, remove rule struct, add constraint rule types, impl intersection and union of rules, remove some debug printing
7a5e5f4 orbis: impl '!' op, fix '>=', '>', '<=', '<' operand checks
90eb2dc orbis: impl '+' and '-' op
ba1b352 orbis: impl evaluation for '<' and '<='
54e9cbb orbis: impl right associative ops, allow specifying associativity of op, and impl evaluating negation via unary '-' op
d29636e orbis: initial work on constraint lexer
9da2c63 orbis: remove and export into separate repo 'boat'
3872f77 orbis: return eof token upon reaching end of input, and have lex return one token at a time
4027216 orbis: simplify rune checks into helper util methods
8fbccf1 provider, packet, node, net, sdk/nodejs, cmd/flatend, cmd/microservice: allow for large amounts of data to be sent and received between microservices by implementing streams and chunked transfer encoding
80b8d9d sdk/go: fix parsing services in handshake packet
671217b sdk/js, cmd/flatend, node: add commandline flags to flatend, move flatend lib to separate file in js sdk
25b423e sdk/js, net, node, peer, provider: initial work for allowing for anonymously-identified microservices
7c15a73 sdk/js: add reconnection logic, and cache peer info upon successful connect
cafa9f3 sdk/js: cleanup code and split into separate js modules
22a6521 sdk/js: cleanup example a bit
c7ea1cc sdk/js: do not allow for backtracking upon backpressure in monte socket
cfc275a sdk/js: handle nil responses
e8ed933 sdk/js: implement flatend protocol in javascript
65197bd sdk/js: quick format
ae8b1ce sdk/js: reimplemented reconnection logic
fcbd554 sdk/js: resolve multiple listeners on the same sequence number
553aa0b sdk/js: revert back to using listenerCount() and emit for handling requests
c49f913 sdk/js: temporarily disable backpressuring for the stream as it causes data to be lost
e7e9556 sdk/js: update yarn
bd47556 sdk/nodejs, readme: prepare to publish for npm, cleanup readme
fb5b21c sdk/nodejs: add body() function with default limit of 64kb for reading body, and catch errors and return them as json
4f34ace sdk/nodejs: add send() and json() express-esque methods
8dd92bb sdk/nodejs: cleanup example
7e98524 sdk/nodejs: fully cleanup client when socket ends
4e68f6b sdk/nodejs: remove unused package-lock.json
7181f48 server, config, middleware: impl httprouter, encapsulate init/cleanup methods for server, encapsulate cancellable sleep into util helper method, expose config Reset() method
6a2b7f5 service, net, cmd/microservice: add microservice example, simplify microservice init code, move http request structure to cmd/flatend
6396f5a service: add Register method to builder