Skip to content

Releases: namespacelabs/foundation

v0.0.35

20 Apr 20:36
Compare
Choose a tag to compare

Changelog

  • 4475499 console/renderwait: render diagnostics inline (for readability).
  • ef90e40 provision/deploy: added runtime-specific help string to long deployments.
  • 2de0dd0 runtime/docker: add ability to use ssh with DOCKER_HOST (as the regular docker client).
  • bf759ea universe/db/{maria,postgres}: add a bit more information to init logging.
  • 903a6bb workspace/compute: support loading throttling config from ~/.config/fn.

v0.0.34

19 Apr 22:07
Compare
Choose a tag to compare

Changelog

  • 3f7564b internal/grpcstdio: guard against copying to stdout/pipe EOF'ing.
  • 72cd6a1 workspace/tasks/console --> internal/console/consolesink.

v0.0.32

19 Apr 14:39
Compare
Choose a tag to compare

Changelog

  • 5c786f9 internal/cli/version: embed tag reported version, and use it to semver compare against latest.
  • 60fca40 internal/grpcstdio: remove go 1.18isms, as this library needs to be usable from go 1.17 and below.

v0.0.31

19 Apr 11:44
fbeb62c
Compare
Choose a tag to compare

Changelog

  • 399d91e Fix unguarded access to attachments (#253)
  • fbeb62c internal/grpcstdio: introduced multiplexing streaming protocol over stdio. (#254)
  • 50155fb s/key/keys in the error message for ErrKeyGen

v0.0.30

18 Apr 09:48
Compare
Choose a tag to compare

Changelog

  • 2dd0f47 Bump fn api version to 24 (new codegen).
  • 0a7c003 fncobra/main: wire --debug_to_console to console.DebugToConsole.
  • e9ae538 golang: moved node-codegen to live next to each node.
  • eef6e96 languages/golang: simplified codegen, ServerDeps is no longer necessary.
  • 5c2b47d languages/golang: use symbolic references to providers, rather than string-based lookups.
  • 3e9b052 languages/nodejs: add support for using sourceMaps in errors.
  • f72ac42 std/go/core: remodel DebugHandler to accept a http.Handler.
  • fd3475f testdata/server/gogrpc: use panicparse.
  • 96da365 universe/go/panicparse: add extension which wraps panicparse. (#250)

v0.0.29

15 Apr 06:58
Compare
Choose a tag to compare

Changelog

  • fd2e540 Adjust maxprocs in grpcserver.go (#194)
  • faabbb3 Calling fn tidy.
  • df1c96a Deprecate Task in favor of Action (#215)
  • 4eb27e6 Enable scoped instantiations (#199)
  • 88c38d1 Ensure that services with no deps create an empty provider.
  • 6ce1d78 Fix k3d.MergeConfiguration to leverage Action (#245)
  • 6bd1583 Fix a helpstring typo for ignore_zfs_check
  • 08ab335 Fix racy sink invocations in EventAttachments (#222)
  • a8aaa19 Improve error message
  • 8987280 Introduce console.Debug (#241)
  • 7c4bfdc Node.js: make fn tidy work correctly when bootstrapping a project with multiple nodes/servers. yarn add called for a non-existing dependency would fail, so now we instead craft all package.json files manually and then call yarn install from root. (#226)
  • a5d8958 NodeJs: support for deployment and tidying nodes/servers. (#200)
  • 7b803f5 Nodejs codegen: generate a stub of "impl.ts" if it doesn't exist. (#206)
  • 0065097 Nodejs codegen: tidy yarn roots. (#207)
  • 3769ba8 Properly format duration in log messages. (#227)
  • 2e7e939 Removing nodemon from explicit dependencies.
  • 229d6f6 Removing unused file "languages/web/localbuild.go".
  • c085e7b Revert "Fix racy sink invocations in EventAttachments (#222)" (#229)
  • c2a92ef Save cost in GH actions.
  • 44fcc36 Support for hot reload for Node.js (#231)
  • 1c9b015 Use an atomic string for recid (#219)
  • e8b630b Verbosely fail for an invalid devhost.textpb (#220)
  • a4ab5d0 cache: use a per-file index structure (the single file was getting multi-MB).
  • 5b7c4ce codegen: apply each codegen in parallel.
  • 7352600 console: attached TypedOutputs to actions as attachments as well. (#244)
  • 69e1724 db/maria: check if the connection is valid within the retry block.
  • d9adba5 deploy/wait: keep output logs to the containers still pending.
  • 6416c48 go/core: setup the context passed to initializations with a timeout of 2 seconds.
  • 65fcc18 grpcstdio: add cancelation support to Ready().
  • c086409 internal/cli: allow enabling pprof permanently via configuration.
  • 0235151 internal/cli: export pprof endpoints on localhost:6060 if FN_ENABLE_PPROF=1.
  • db1d707 internal/environment: added to hold IsRunningInCI.
  • 2c56e5b internal/fnerrors: RemoteError --> InvocationError (and added specific handling separate from internal error).
  • 8191a1f internal/testing: always emit test package, with PASSED/FAILED.
  • 595de7e invocation: switch protocol with tools to be grpc. (#210)
  • bed2fa0 kubernetes: added InitContainerExtension; and also flattened version of ContainerExtension.args.
  • f58e26d languages/golang: don't codegen nodes that don't have Go initializers or provide Go types.
  • a7da8ed languages/golang: pass -buildvcs=false to go builds with 1.18.
  • 7182503 provision/deploy: be precise in streaming logs of pendings containers.
  • 403bbe3 remove obsolete var name
  • a952571 run golangci-lint in CI. Fixes #79.
  • 4e247ba runtime/docker: consistently use docker's configuration.
  • 6b4a031 runtime/kubernetes: Observe() check for cancelation.
  • ac6a171 runtime/kubernetes: don't fail to wait if the pod exits successfully.
  • 723a4d7 runtime/kubernetes: expose the main container's volume mounts to sidecars.
  • edf1a95 runtime/kubernetes: more improvements to reporting on container status on deployment.
  • fbdd287 runtime/kubernetes: only report pending when there are no containers yet.
  • 4356686 runtime/kubernetes: produce structured wait status, for pods, and deployments.
  • abeaafd runtime/tools: add a maximum handshake time (10sec).
  • 3a4e29c runtime/tools: close reader pipe else we never respect cancelation.
  • f9ec0a2 runtime/tools: disable lowlevel timeouts in CI.
  • 47ebf43 runtime/tools: force grpc.Server to stop when the underlying process exits.
  • 20526cc s/updated/update in the rendered console
  • c140cc9 schema (and kubernetes): add sidecar support.
  • bdcbdc4 set package name in server initializer
  • 65c899a std/fn: was missing the sidecar definition.
  • ca5ec32 std/go/core: added ability to register package-scoped DebugHandlers.
  • 5b7bd34 std/go/core: fix listener deadlock.
  • 970c7b7 std/go/grpc/server --> std/go/server.
  • e6b6441 std/secrets: if there are no user managed secrets, no secret snapshot is required.
  • 4a58223 std/types/invocation: allow passing an arbitrary input to the binary.
  • 2f93eca testing: deploy individual pods, instead of deployments, when running a test.
  • 4e09de6 testing: produce a warning if we fail to fetch logs of failed containers.
  • 4ac5015 testing: use a separate namespace per test invocation.
  • fee44f3 tests: add a deployment block just before test execution.
  • fb3540d universe/db/{maria,postgres}: try to connect more aggressively to minimize latency.
  • 080ed4f universe/networking: added plug-and-play tailscale sidecar.
  • faa0b0b versions: bump internal api to 23, as latest codegen is not backwards compatible.
  • fc49710 workspace/compute: constrain parallelism of provision.invoke to 3.
  • 3b94351 workspace/module: wrap ExitError, else we forward the exit error.

v0.0.28

07 Apr 23:07
Compare
Choose a tag to compare

Changelog

  • dee467f Fixing the workspace size in "e2e tests". (#201)
  • 99e1dcf internal/testing: collect server logs post test.
  • a377fca protos/cleanup: handle the repeated message case.
  • a7c0604 std/grpc/deadlines: added a first version of grpc/deadlines implementation.
  • 3f52708 std/grpc/logging: add deadline information to log entry.
  • 77dbdb2 std/grpc/logging: added a first version that logs to stderr.
  • 16f1d32 std/grpc/logging: highlight the request id.
  • 95d3fe1 std/grpc: dramatically simplified how a backend dependency is declared.
  • eb18472 versions: bumped internal api to 21.
  • 4243656 workspace/loader: pass along the module loading error.

v0.0.27

07 Apr 15:30
Compare
Choose a tag to compare

Changelog

  • c7d591b frontend/cue: fixed internal instantiate path (was missing new-api branch).
  • d74f83d std/grpc: update backend instances to use new with-less instances.

v0.0.26

07 Apr 15:02
Compare
Choose a tag to compare

Changelog

  • 4ab9333 Align MariaDB package structure better with postgres.
  • 80cd5ad Basic NodeJs codegen for servers and services. (#173)
  • 74c9e4c Formatting launch.json.
  • 5a28c7e NodeJS: supporting binary proto format in codegen.
  • bea77a3 Use errors.Is to check for os.ErrPermission instead of the immediately unwrapped error
  • 2e3e489 Use an atomic bool for the memoizing checker
  • a3fda94 Use an atomic bool for the run status
  • 95dd017 Use base32 for generated passwords.
  • eafa666 binary: remove {repository,digest} and rely exclusively in prebuilt messages (#189)
  • 0496938 binary: remove {repository,digest} and rely exclusively in prebuilt messages.
  • 72b0f49 cmd/test: added --keep_runtime to keep the resulting k8s namespace.
  • f44854c compute/cache: add CacheVersion, as well as the input digests, to a cache entry.
  • 0dd6cb9 cue: instantiate: removed the need to have a "with" block.
  • 94cfa32 drop 1.18 dep from secrets node
  • bcc1d18 fix proto package
  • 2d19ce7 fn fmt
  • 27de0ae http/csrf: switch to a generated random secret.
  • b13e03c internal/gosupport: use internal/findroot.
  • 4c0a608 kubernetes: when doing a one-shot, make sure we follow the pod logs.
  • 0a0d45c languages/web: use the clearer fnany.CheckUnmarshal api.
  • 41af870 protos: added CleanupForNonProvisioning, and use it go codegen.
  • 14c650f protos: move fn-specific any handling to fnany.
  • 6bf799d provision/tool: move stack-related fields to an apply/delete-specific header.
  • 8fbf15b stack: allow language-specific partial provisioning.
  • 483394b std/secrets: operate on paths exclusively for simplicity. (#177)
  • 8903529 tools/invoke: assume that invokables follow the tool protocol.
  • 05ced53 tools/invoke: handle DeferredInvocation directly.
  • 4178e05 workspace: emit foundation stanzas in FormatWorkspace.
  • 7266d6b workspace: introduced foundation.minimum_api. (#186)
  • 4e26599 workspace: support deriving prebuilt image refs from PrebuiltBaseRepository.

v0.0.24

04 Apr 21:15
Compare
Choose a tag to compare

Changelog

  • 87afff8 devworkflow: forwarded port block was missing from the web ui.