Skip to content

Releases: xp-forge/lambda

2.1.1: Fix $_ENV accesses

15 Sep 17:56
Compare
Choose a tag to compare
  • Fixed issue #10: lang.IndexOutOfBoundsException (Undefined index: XP_VERSION)
    on systems where the PHP variables_order setting does not include E.
    (@thekid)

2.1.0: BCMath, faster PHP builds

30 Aug 16:55
Compare
Choose a tag to compare
  • Speed up build by using -j $(nproc) flag for make, see #7 - @thekid
  • Enabled bcmath extension - @thekid

2.0.0: Packaging

29 Aug 11:21
Compare
Choose a tag to compare

This major release changes the packaging defaults. This way, files to be incuded can be specified more flexibly via command line arguments.

  • Increased code coverage for classes in public API to 100%, see issue #6
    (@thekid)
  • Fixed Context::remainingTime()'s return type, which can include NULL.
    (@thekid)
  • Changed packaging to no longer include src directory automatically,
    it might contain static resources like e.g. a web application's images.
    Typically, xp lambda package src/main/php will be what you want.
    (@thekid)

1.1.0: Environment accessors

28 Aug 21:51
Compare
Choose a tag to compare
  • Added accessor for environment varibales, Environment::variable()
    (@thekid)
  • Added accessor for temporary directory, Environment::tempDir()
    (@thekid)
  • Added accessor for environment root path, Environment::taskroot()
    (@thekid)

1.0.0: Unique given sources, BZ2

28 Aug 10:34
Compare
Choose a tag to compare

The first major release includes final touches to the packaged ZIP file.

  • Merged PR #5: Unique given sources, preventing them being added to the
    ZIP file twice
    (@thekid)
  • Also support bzip2 compression if PHP extension is loaded, but keep
    preference on gzip, which has performed better in my tests.
    (@thekid)

0.7.0: Runtime versioning

27 Aug 15:57
Compare
Choose a tag to compare
  • Fixed issue #3: Context object compatibility. Context now also declares
    the properties logGroupName and logStreamName like in NodeJS, and
    uses memoryLimitInMB instead of memorySize.
    (@thekid)
  • Merged PR #4: Pass version along to docker images. Use xp lambda runtime
    to use the current PHP version, xp lambda runtime:8.0 to use the newest
    PHP 8.0 release, and xp lambda runtime:8.0.10 for version pinning.
    (@thekid)
  • Ignore any directories inside src/test and src/it as well any hidden
    directories when packaging.
    (@thekid)

0.6.0: Shrink runtime layer

23 Aug 07:37
Compare
Choose a tag to compare

0.5.0: Deployment file name

22 Aug 18:04
Compare
Choose a tag to compare
  • Renamed task.zip to function.zip in order not to introduce more
    vocabulary than necessary
    (@thekid)

0.4.0: Test subcommand

22 Aug 17:56
Compare
Choose a tag to compare
Pre-release
  • Renamed xp lambda invoke to xp lambda test to make clear we're
    not invoking the deployed lambda
    (@thekid)

0.3.0: Packaging

22 Aug 17:45
Compare
Choose a tag to compare
0.3.0: Packaging Pre-release
Pre-release
  • Implemented xp lambda package subcommand for packaging lambda code
    including the src and vendor directories as requested in issue #2
    (@thekid)
  • Renamed context member payload to payloadLength - @thekid