fun

ƒun - Local serverless function λ development runtime

APACHE-2.0 License

Downloads
2.1M
Stars
475
Committers
15

Bot releases are hidden (Show)

fun -

Published by TooTallNate over 5 years ago

Minor Changes

  • Wait for API responses to flush before resolving promises: 3238377cc8505bac187b136e73d0bdc4d362623f
  • Add /sbin to Lambda $PATH: 4ecba9ead049346580501956726e81048b43b070
fun -

Published by TooTallNate over 5 years ago

Patches

  • Remove shutdownRuntimeApiServer() function: 1be5f850f952b95a7f4b85c19d92e4ecf2ccecf6
  • Ignore ESRCH errors when shutting down a process: d8ddccd6440fc7ddd9a5cdab55b8835aca6b1a28
  • Handle the lambda process exiting from within the handler: a15893c2c525d1ab79ad422c6177608e6c244982
fun -

Published by TooTallNate over 5 years ago

Minor Changes

  • Add LambdaError error subclass: e715310b76a12ae13982d9b6c40dc8a3c1823a91
  • Shutdown the Runtime API server after the process has exited: 5535d660b3ba15344aff2269105994925339cf42
  • Refactor the runtime cache invalidation strategy to be more bullet-proof: 184f5bacc6d1de60d95b2c14b2e5c28315195e18
  • Remove the version field from the Runtime object: 6458ec99299fce1a96dbf8b1949db2650e403bda
  • Add cleanCacheDir() helper function: 4a38bbf7b2bb894022fa906a113efa3a21c0e6ca
  • Update types: f9d362154e5c3e47f74eb492e24f15c6fd942d11
  • Create common Deferred type and update RuntimeServer to use it: d39d1d69b51be4db8c3b2edad09d474215c3e104
  • Set the acquireTimeoutMillis option for the process pool: 5e76dadc5cfe16b85a4f8724f10aed1c33f88005
  • Convenience function throws an error upon failure payload: 805457d908340900ee2d2eff4b99072a6bfe1662
  • Pass handled errors to the caller: dabec7762184413582041f12ba3e89c2caf82e1b

Patches

  • Get the proper aws_request_id for python runtime: ec4033915ea27693f3aba2d4755c405135d8759d
  • Delete the runtime init Promise after initialization: b01af059570a04adc15406031ab6a3b6bdd880a5
  • Delete the runtime init Promise even if it throws: 170894df78e4ffbed9fe38af93a544e0edc57f55
  • Add python runtimes to README.md: 9f2f77cb96041220711acefa16513619256a8a95
  • Set the runtime API server mapping to child process before waiting for init: c45160ce37645c7a0b1f453ec966c09a6beefec7
  • Move the runtime init awaiting from the pool create function to the invoke() function: c9f14d0f57f3c33f1193afa9e03b823a9743615e
fun -

Published by TooTallNate over 5 years ago

Minor Changes

  • Export funCacheDir: 68e8adba0f80a04a6133cf0c8523512aab2060ba
fun -

Published by TooTallNate over 5 years ago

Patches

  • Respect the _HANDLER env variable for python runtime: bc3762e608b58e8cba13d7821abc0b7612bfd96b
fun -

Published by TooTallNate over 5 years ago

Minor Changes

  • Implement base python runtime: f5bbdf0b7a96ea69ce68cce7e796f9c72153c9de
  • Add python runtime unit test: 05ee001deea5db1c3e550f70d5b16de134d70f43
  • Add types for installNode() function arguments: b6379769655899854d40dbe975b41b18c520a58a
  • Remove LAMBDA_DEV_CACHE_DIR env variable to lambdas: 9b99e620279c4a8edc0faf9d464539993ad7294e
  • Update .editorconfig to latest editorconfig.zeit.sh: 5bffe5802f6ee9acaa0d556d68c53ab81aa42801
  • Add Python build scripts and Dockerfile: 865f7b8bc76dfc7898f98b60f4d93d44864adc02
  • Add python2.7, python3.6 and python3.7 runtimes: 023d2e73639e7f34321ac72dbeb39989d02ca6ad

Patches

  • Use proper syntax to get the aws_request_id when sending error response: dade2b80ee1c8601d9739d88d451fa9598d921e1
  • Pass in the event and context to the python function: 8027d4f86fa860dd2f107fdb48ac960b8a456fde
  • Stringify the error response so that it can be JSONified: 6782262f40367e5a14a53a56153fc2fc446ea0b0
  • Run black on Python runtime: b672ebb8a1550fed615cc0c883f3f31dedab6313
  • Simplify pkg-invoke.js code: 79984410a83f8086101c382f47a01a88163da473
  • Copy over some code from the official python runtime: 8117a1a59beeb7b7f7db31154982c139ce5390e9
  • Fix python test functions spacing: a25dbbe8006e63912482f80d9755cb0d51f7ae61
fun -

Published by TooTallNate over 5 years ago

Patches

  • Delete older version of runtime, if already installed: 5e920a089b14e0b84cbc2429184759a867e18bf2
  • Ignore *.pyc files: 9a901964badb95860cb67e540a7921115ce2dbe1
  • Export TypeScript types: 2e75a204455e80a823a5070eca81e3eef35465d8
  • Add WIP python runtime: 40e5c9d129593bab83c916b87adb8dd31ffc6ece
fun -

Published by TooTallNate over 5 years ago

Patches

  • Print Node.js version before test: 9a60789f0c169398f8236940e7cffed1035d38c4
  • Install Go and Node.js manually for CircleCI: ca2aaf6a7e70be5eaf377f8b7680f9bed39933c2
  • Mark install-go.sh script as executable: b01efbb38b5dc34b4cd33bb48b3d8600b4a37321
  • Disable code coverage for now: c54925b8daa9e8aced46ef9469f7748f25804881
  • Update stat-mode to v0.3.0: 4f476f7c66ed6df52643eb4a563a53bd05434f97
fun -

Published by TooTallNate over 5 years ago

This version adds support for pkg, by extracting executable resources out of the "snapshot" file system and into a local cache.

Minor Changes

  • pkg support: 4e7037f3886399a953118e1f5d3d3a3bcdef47a5
  • Remove the go1.x bootstrap file: 89d6ca37957e2b550bfae6db5a962aac7577470c
  • Listen for SIGINT/SIGTERM to clean up child process in go1.x runtime: b0b6ff77a5002617272985ad61579a4bd3142bd9
  • Enable pkg unit test: a5c393e783c510e817c5b4e5681acc3df664bfd3
  • Re-enable MacOS tests on CircleCI: 7b3e481713fa645c85bb991bf466b79af7fb7b65
  • Less debug on CircleCI: 0c61df2ee7e716080015def70daf835e00d38572
  • Remove async generator during unzip: f362d73c6146a48bfe4cd37a3b3cb12e8ba02396
  • Don't log lambda runtime errors, create proper Errors: 14b09a4677491f3412b45c0c50d10031c4a501d5

Patches

  • Unfreeze the process before terminating: 45fcf98bef4244bcf5478bf94797aa994f2c2850
  • Implement copy() operation using readFile()/writeFile(): bb31fdbf16e082ec095c482d6d26fea572d5b726
  • Fix null pointer exception in Go runtime: 23a11e6fa2ca8594b64aebf85e272d15134765ab
fun -

Published by TooTallNate over 5 years ago

Patches

  • Fix Lambda invoke generic type: eb902f0bdb1538709da729268536f41e95ca5802
fun -

Published by TooTallNate over 5 years ago

Minor Changes

  • Use generics for the invoke() function: 77bf03b80ffb7fd950e07d81f05c93d8bf2d70dc
fun -

Published by TooTallNate over 5 years ago

Patches

  • Inline promisify() polyfill: 9084d9f2660f5b16778dfe2991b14110247f7da5
fun -

Published by TooTallNate over 5 years ago

Patches

  • README++: afb7674e479d33dc70e45aef75d26cb77122c294
  • Tweak unzip permissions debug() call: f0836c2dc5500d74e2c1e12cac3c435f024345cb
  • Fix nodejs6.10 and nodejs8.10 runtime init(): 6e7167049cd7cab9e591ee94f2c2b4d83fabc6c2
fun -

Published by TooTallNate over 5 years ago

Patches

  • Add executable bit to test/go-build.sh file: a9cffe95db40bb3ce3bd9110a5460f0a409603e2
  • Use runtimeDir instead of __dirname to resolve bootstrap path: b4ee6725b0296f0ec5dd4e2ed7e7f3494d47f044
fun -

Published by TooTallNate over 5 years ago

Patches

  • Remove cd for nodejs specific runtimes: cac3c7596da56bcc0cb957ef0249fc26793b478d
fun -

Published by TooTallNate over 5 years ago

Patches

  • Invoke the nodejs runtime init function from the 6.10 and 8.10 runtimes: 03af52e640c77888bdfad315303e97fa036ad7e0
fun -

Published by TooTallNate over 5 years ago

Patches

  • Tweak debug call: 509a9dd6b7363e23a7e7dca8305476589b926d3b
  • Ignore npm pack tarballs: 3884d78d4daec8e565b4dcc04be3646a0292cd4f
  • Add nodejs runtime init function that ensures the bootstrap.js file exists: e58ffea9eac3797adee7d2b079d6af13a84723c7
fun -

Published by TooTallNate over 5 years ago

Patches

  • The convenience syntax may return any type: e9d194732f927fd329404e9259a49e2474393f10
fun -

Published by TooTallNate over 5 years ago

Patches

  • Add util/pack.sh helper script for temp npm tarballs: 0225802a6a5951ee9dfd14ef4c1ebcaafb692850
  • README++: d4d0a7274463d0b4557209d9dbea4f478d3e286a
  • Replace adm-zip with yauzl: a2670e8d9ffbdffe2ee93c34fdb8a7b95fd72642
fun -

Published by TooTallNate over 5 years ago

Patches

  • Disable MacOS on CircleCI for now: 217716d4d24a47da16ce4e4bee1aee381ff74c18
  • Fix tests: c81c6ad039f9df7f8c3b2e0f959de704428639ef
  • Add "repository" field to package.json: e079ef18ca223c00e8025b0f28d4baa277c103e1
Package Rankings
Top 2.63% on Npmjs.org
Top 9.63% on Proxy.golang.org
Badges
Extracted from project README
Build Status