Recent Releases of foundry-fn-go

foundry-fn-go - v0.23.2 - Fix up falcon client integration and examples

this fixes up an issue with the falcon client opts removing - from the cloud string. gofalcon client requires them.

- Go
Published by jsteenb2 about 1 year ago

foundry-fn-go - v0.23.1 - add fdktest pkg to simplify testing

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.23.0 - replace params with flattened structure

we've recently landed changes to the system to support query params and so forth. The ergonomics of the pre-existing API was pretty bad to work with. This flattens it, and makes the experience much simpler on the consumer side. Is a breaking change, but no one has actually utilized this part of the SDK as far as we know.

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.23.0-pre-1 - replace params with flattened structure

we've recently landed changes to the system to support query params and so forth. The ergonomics of the pre-existing API was pretty bad to work with. This flattens it, and makes the experience much simpler on the consumer side. Is a breaking change, but no one has actually utilized this part of the SDK as far as we know.

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.22.0 - remove unused test pkg

We've had no consumers of the fdktest pkg since we added the smart sync functionality. Cutting ties with it now until we have a driving usecase. The implementation used an unmaintained library that was borrowed from the serverside (which has replaced it). If we need it in the future, we can always add it back. Issues welcomed :-)

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.21.1 - add missing fn id and version to helper handler fns

This fixes up the handler fns to include the FnID and FnVersion as part of the request.

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.21.0 - update handler fn to provide canonical logger

This release is a breaking change. The new Handler fn must now provide a logger. This logger must be used to ensure compatability with the distributed runtime.

fix: update newHandlerFn to take a logger to canonicalize logging for system integration

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.20.0 - support streaming input body

feat: update Request to take stream instead of json.RawMessage

this enables us to support a streaming API :yaaaas:. With this we can enable our entire system to work with a streamed input. Locally, that means working with a multipart/form body file and the meta field.

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.19.0 - extend runner File API and include new validation helper

we're extending the File API within the runner to include both the sha256 checksum and the size of the uploaded file.

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.19.0-pre-1

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.18.0 - Add support for fn ID/version in request and healthz endpoint

This update adds the function ID and Version to the Request type. Additionally, the Mux now comes with a healthz endpoint. It can be overridden by providing a Get("/healthz", handler).

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.17.0 - drop exported Fn Version

this can create some issues with startup sequencing. Ideallly, the user is not concerning themselves with the fn version in any way. We can mostly eliminate that. At the moment, we have no ask for such a thing. Lets rip it out for now then add it back when there is an ask.

Its likely better off as a request input rather than an env var. There's no guarantee a fn version creates a separate lambda deploy. By adding it to the request, we eliminate that confusion altogether.

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.17.0-pre-1 - drop fn version from global state

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.16.0 - update Run to provide config/handling within runner execution

this eliminates a chicken and egg problem on startup. With this, we operate with in the runner at all times.

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.15.0-pre-2

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.14.0 - Extend workflow context

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.13.0 - Add File normalization

Add file normalization to runner to ensure files don't get published as ""

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.13.0-pre-2 - Add File normalization

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.12.0-pre-1 - Improve the File handling

After experiementing with this File a bunch more, one thing we realized that was missing was the ability to compress in a simple middleware. See the example of the gzip file compressor introduced. Additionally, we had no real reason to carry the seeker once we got down to brass tacks.

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.11.0-pre-1 - add File type for managing file uploads

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.10.0 - Add ErrResp func for creating error responses

small little helper function addition

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.9.0 - Remove gofalcon dep

Removing the gofalcon dependency does many things for us:

  1. fixes the dependency by removing it, as this is unnecessary bloat when authors are not utilizing the gofalcon module
  2. removes a long list of vulnerabilities that are pulled in from gofalcon
  3. Allows the gofalcon lib to release new functionality without having to update this sdk

Deprecation notice:

FalconClient function has been removed. To replace it, see the updated readme section.

- Go
Published by jsteenb2 over 1 year ago

foundry-fn-go - v0.8.0 - add support for trace ids

- Go
Published by jsteenb2 almost 2 years ago

foundry-fn-go - v0.7.1 - Update gofalcon to v0.6.0

This update upgrades the gofalcon dependency which closes the loop on a few dependencies with vulnerabilities.

- Go
Published by jsteenb2 almost 2 years ago

foundry-fn-go - v0.7.0 - extend APIError with Error method

This small update improves the way the APIError type can be used in a function. Allowing the APIError type to impelment the Error method removes the hurdle of working with it at a lower part of the call stack.

A common operation we found with users is that their fn's API client will return errors that are identical in content to the fdk.APIError, but are unable to convert it to that type b/c it does not satisfy the error type.

- Go
Published by jsteenb2 about 2 years ago

foundry-fn-go - v0.6.2 - fix local yaml config integration

This was an outstanding bug where our local development did not match with our backend. The backend for faas supports configs in a json or yaml. This allows us to provide that same behavior locally.

- Go
Published by jsteenb2 about 2 years ago

foundry-fn-go - v0.6.1 - return highest status code within errors

- Go
Published by jsteenb2 over 2 years ago

foundry-fn-go - v0.6.0 - add Falcon Fusion workflow handler and context helpers

This update provides additional handlers to simplify handlers that integrate with Falcon Fusion workflows.

- Go
Published by jsteenb2 over 2 years ago

foundry-fn-go - v0.5.1 - add fdktest pkg with schema helper funcs

- Go
Published by jsteenb2 over 2 years ago

foundry-fn-go - v0.5.0- reverts the local http runner to mirror the req/resp of legacy implementation

fix: resetting local runner back to the nested variant of v0.3.0

- Go
Published by jsteenb2 over 2 years ago

foundry-fn-go - v0.4.2 - fixup zero value for Response.StatusCode

here we're aligning with the default status code for most http muxes in the go community.

- Go
Published by jsteenb2 over 2 years ago

foundry-fn-go - v0.4.1 - move all logging to within the runners Latest

fix: move logging to run calls

not all runtimes will produce logs when the runner hasn't been started. also addressing some test flakiness where http server's aren't releasing their port assignment.

- Go
Published by jsteenb2 over 2 years ago

foundry-fn-go - v0.4.1-pre-1 - move all logging to within the runners

- Go
Published by jsteenb2 over 2 years ago

foundry-fn-go - v0.4.0 - user first sdk has landed

This update is a breaking change, across the board. We're removing the vast majority of the bootstrapping and provides more ergonomic integrations with request handlers using mux. Additionally, we provide a simplified version of integrating with the response json.Marshaler, to remove even more boilerplate.

- Go
Published by jsteenb2 over 2 years ago

foundry-fn-go - v0.4.0-pre-2 - updated v2 sdk

- Go
Published by jsteenb2 over 2 years ago

foundry-fn-go - v0.4.0-alpha - User Centric SDK

Alpha for the v2 user centric sdk.

- Go
Published by jsteenb2 over 2 years ago

foundry-fn-go - Request format alignment

- Go
Published by johns31459 over 2 years ago

foundry-fn-go - v0.2.0

Proper case module name

- Go
Published by chriscannon over 2 years ago

foundry-fn-go - v0.1.0

Initial release

- Go
Published by chriscannon over 2 years ago