diff --git a/CHANGELOG.md b/CHANGELOG.md index 02c348e6..35321c7c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ - [holy-lambda] Allow users to support arbitrary response if the response is byte encoded. Opens a way to support transit and other content-types. - [holy-lambda] Properly parse response. Add support for AWS Step Functions. - [holy-lambda] Use config-merge-dir instead of config-output-dir when executing bb native:conf. User should be allowed to specify custom configuration in `reflect-config.json`, `resource-config.json` that should not be overriden. +- [holy-lambda] Add support for sending a base64 encoded images from HL `hr/png-image` ## 0.2.2 (01-07-2021) - [docs] Add documentation about using GraalVM-EE diff --git a/deps.edn b/deps.edn index a19c20c0..4937cab2 100644 --- a/deps.edn +++ b/deps.edn @@ -1,5 +1,5 @@ {:deps {org.clojure/clojure {:mvn/version "1.10.3"} metosin/jsonista {:mvn/version "0.3.3"} - io.github.FieryCod/holy-lambda-default-retriever {:mvn/version "0.0.7-SNAPSHOT"} + io.github.FieryCod/holy-lambda-default-retriever {:mvn/version "0.0.7"} com.amazonaws/aws-lambda-java-core {:mvn/version "1.2.1"}} :paths ["src"]} diff --git a/modules/holy-lambda-async-retriever/pom.xml b/modules/holy-lambda-async-retriever/pom.xml index f4be9d87..6dc9e082 100644 --- a/modules/holy-lambda-async-retriever/pom.xml +++ b/modules/holy-lambda-async-retriever/pom.xml @@ -4,7 +4,7 @@ io.github.FieryCod holy-lambda-async-retriever jar - 0.0.7-SNAPSHOT + 0.0.7 holy-lambda-async-retriever Support for async handlers which returns channel as a response. https://github.com/FieryCod/holy-lambda/tree/master/modules/holy-lambda-async-retriever diff --git a/modules/holy-lambda-babashka-layer/holy-lambda-babashka-runtime.zip b/modules/holy-lambda-babashka-layer/holy-lambda-babashka-runtime.zip index 8c3a8235..53f72ed3 100644 Binary files a/modules/holy-lambda-babashka-layer/holy-lambda-babashka-runtime.zip and b/modules/holy-lambda-babashka-layer/holy-lambda-babashka-runtime.zip differ diff --git a/modules/holy-lambda-babashka-tasks/bb.edn b/modules/holy-lambda-babashka-tasks/bb.edn index b531b8df..6f8d606a 100644 --- a/modules/holy-lambda-babashka-tasks/bb.edn +++ b/modules/holy-lambda-babashka-tasks/bb.edn @@ -27,7 +27,7 @@ :runtime { ;; Choose one of the supported runtime `:babashka`, `:native`, `:java` - :name :native + :name :babashka ;; Runtime `:babashka` provides a way to include native libraries called pods https://github.com/babashka/pods ;; Holy lambda ships code exists to provide fast feedback loop therefore pods should be shipped using AWS Layers @@ -45,7 +45,7 @@ ;; Flag which indicates that holy-lambda should auto deploy the applications and layers for the corresponding :runtime ;; If set to false holy-lambda will guide you through the steps of dependants deployment. - :self-manage-layers? true + :self-manage-layers? false ;; For `:native` runtime you can provide your own bootstrap file :bootstrap-file "bootstrap" @@ -56,7 +56,7 @@ ;; Some of the runtimes are versioned. For instance `:babashka` runtime is a versioned layer which ships it's own version of ;; clojure, holy-lambda, default-retriever - :version "0.0.38" + :version "0.1.3" ;; Specify custom arguments for native image generation ;; Works only on `:native` runtime. diff --git a/modules/holy-lambda-babashka-tasks/template.yml b/modules/holy-lambda-babashka-tasks/template.yml index 0f9fed79..33ad7256 100644 --- a/modules/holy-lambda-babashka-tasks/template.yml +++ b/modules/holy-lambda-babashka-tasks/template.yml @@ -35,6 +35,8 @@ Resources: Type: AWS::Serverless::Function Properties: Handler: example.core.ExampleLambda + # Layers: + # - arn:aws:lambda:eu-central-1:443526418261:layer:holy-lambda-babashka-runtime:44 Events: HelloEvent: Type: HttpApi diff --git a/modules/holy-lambda-default-retriever/pom.xml b/modules/holy-lambda-default-retriever/pom.xml index 0a7ff195..3a1d2f77 100644 --- a/modules/holy-lambda-default-retriever/pom.xml +++ b/modules/holy-lambda-default-retriever/pom.xml @@ -4,7 +4,7 @@ io.github.FieryCod holy-lambda-default-retriever jar - 0.0.7-SNAPSHOT + 0.0.7 holy-lambda-default-retriever Default retriever for payloads https://github.com/FieryCod/holy-lambda/tree/master/modules/holy-lambda-default-retriever diff --git a/modules/holy-lambda-template/pom.xml b/modules/holy-lambda-template/pom.xml index 5aa19b77..514e9bdf 100644 --- a/modules/holy-lambda-template/pom.xml +++ b/modules/holy-lambda-template/pom.xml @@ -4,7 +4,7 @@ holy-lambda lein-template jar - 0.1.85 + 0.1.86 lein-template Template for holy lambda micro framework https://github.com/FieryCod/holy-lambda/tree/master/packages/holy-lambda-template diff --git a/modules/holy-lambda-template/resources/leiningen/new/holy_lambda/bb.edn b/modules/holy-lambda-template/resources/leiningen/new/holy_lambda/bb.edn index 3bc67879..c56f381c 100644 --- a/modules/holy-lambda-template/resources/leiningen/new/holy_lambda/bb.edn +++ b/modules/holy-lambda-template/resources/leiningen/new/holy_lambda/bb.edn @@ -1,7 +1,7 @@ {:deps {io.github.FieryCod/holy-lambda-babashka-tasks {:git/url "https://github.com/FieryCod/holy-lambda" :deps/root "./modules/holy-lambda-babashka-tasks" - :sha "be919cc3776a08a8929c0f3f5191a81cb0b0ffed"}} + :sha "8b948be359f3556523a0b553050a20569af0224d"}} ;; Local repositories should be downloaded to `.holy-lambda` directory ;; This way project artifacts are separated from global ~/.m2 and only project artifacts diff --git a/pom.xml b/pom.xml index 67201813..75dbd085 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ io.github.FieryCod holy-lambda jar - 0.2.3-SNAPSHOT + 0.2.3 holy-lambda Micro framework which turns your code into AWS Lambda functions https://github.com/FieryCod/holy-lambda @@ -18,7 +18,7 @@ https://github.com/FieryCod/holy-lambda scm:git:git://github.com/FieryCod/holy-lambda.git scm:git:ssh://git@github.com/FieryCod/holy-lambda.git - 1032e270e5f351a5d913e815950cbabd3166f350 + 8b948be359f3556523a0b553050a20569af0224d src @@ -82,7 +82,7 @@ io.github.FieryCod holy-lambda-default-retriever - 0.0.7-SNAPSHOT + 0.0.7 diff --git a/project.clj b/project.clj index 1eff1d81..8cc51053 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject io.github.FieryCod/holy-lambda "0.2.3-SNAPSHOT" +(defproject io.github.FieryCod/holy-lambda "0.2.3" :description "Micro framework which turns your code into AWS Lambda functions" :url "https://github.com/FieryCod/holy-lambda" @@ -13,7 +13,7 @@ :dependencies [[org.clojure/clojure "1.10.3" :scope "provided"] [metosin/jsonista "0.3.3"] [com.amazonaws/aws-lambda-java-core "1.2.1"] - [io.github.FieryCod/holy-lambda-default-retriever "0.0.7-SNAPSHOT"]] + [io.github.FieryCod/holy-lambda-default-retriever "0.0.7"]] :eftest {:thread-count 4}