Skip to content

Releases: mirumee/smyth

0.6.0.post1

25 Oct 11:30
Compare
Choose a tag to compare
fix: pypi publishing

0.6.0

25 Oct 11:20
dc8672a
Compare
Choose a tag to compare

Features

  • Improve the CLI invocation, add log silencing
  • Add setproctitle for better visibility in tools like top, htop, btop
  • Log application startup errors (catch lifespan startup erros)
  • Add a log column indicating the issuer of a log (Uvicorn, Smyth or Smyth's suprocesses)

Fixes

  • Stop loading lambda handlers on Smyth's start - this was introduced in 0.5 and is now reverted as it caused problems with multi threading libraries running in the global context of the actual lambda
  • Remove fake_coldstart since now the handler is actually loading on a cold start - nothing to fake anymore

Internal and tooling

  • Introduce new CI/CD
  • Cleanup and apply new tool configs in pyproject.toml
  • Fix internal and confusing variable naming
  • Add stricter typing with check_untyped_defs
  • Merge the runner.py module into the RunnerProcess class

0.5.0

02 Jul 10:07
Compare
Choose a tag to compare

What's Changed

Features:

  • change the configuration keys where function and generator were used in a misleading way (breaking changes!)
  • add the smyth.invoke to allow to run the lambda handler without a HTTP server

Full Changelog: 0.4.0...0.5.0

0.4.0

01 Jul 06:21
eff024d
Compare
Choose a tag to compare

What's Changed

Features:

  • add documentation
  • switch to Hatch
  • move to Typer
  • add the ability to run Smyth outside of it's python -m smyth entrypoint (TOML config is not required in that case)
  • remove redundant code
  • fix configuration names (breaking changes!)
  • get rid of the process definition idea - use handler configs instead
  • add the ability to simulate boto3.Lambda.invoke
  • change the way subprocesses are handled - now those start with the application, immedietly showing if something is misconfigured
  • subprocess runner, target function is simplified
  • dispatch strategies are now functions (breaking changes!)
  • improve typing

Internal improvements:

  • add code quality CI/CD
  • use Hatch in CI/CD
  • use Hatch for static-analysis with Ruff and MyPy

Full Changelog: 0.3.1...0.4.0

0.3.1

02 Apr 14:37
Compare
Choose a tag to compare

Fixes #5

0.3.0

28 Mar 21:08
Compare
Choose a tag to compare
add CI/CD

0.2.1

28 Mar 21:08
Compare
Choose a tag to compare
add improved process handling

0.2.0

28 Mar 21:02
Compare
Choose a tag to compare
first commit