Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 11 Sep 12:38
· 7 commits to main since this release

Example integrations of Hosted Fields: the same payment, one server per language.

  • hosted-fields-examples-go_*_linux_*.tar.gz — one static binary with the pages
    embedded, plus deploy/. Needs no runtime.
  • hosted-fields-examples-go_*_darwin_arm64.tar.gz,
    hosted-fields-examples-go_*_windows_amd64.zip — the same binary for trying the
    example on a laptop. No deploy/: the systemd unit and the nginx snippet are for
    a Linux server.
  • hosted-fields-examples-nodejs-express-js_*.tar.gz — bundled server.js with
    public/, views/ and deploy/. Needs Node 20+, no node_modules.
  • hosted-fields-examples-php.tar.gz — the sources with public/, views/ and
    deploy/. Needs PHP 8.4 with curl and openssl, no Composer: php -S for a look,
    PHP-FPM behind nginx for anything else.
  • hosted-fields-examples-python.tar.gz — the sources with tests/, public/,
    views/ and deploy/. Needs Python 3.12+ and, unlike the others, a
    pip install -r requirements.txt into a venv on the target; then gunicorn.
  • hosted-fields-examples-ruby.tar.gz — the sources with test/, public/,
    views/ and deploy/. Needs Ruby 3.1+ and a bundle install on the target, then
    puma. Note that macOS's system Ruby 2.6 will not run it.
  • hosted-fields-examples-java.tar.gz — one jar with the pages inside it, plus
    deploy/. Needs a JRE 21+ and nothing else: java -jar hosted-fields-example-java.jar.
  • hosted-fields-examples-nextjs.tar.gz — the standalone Next.js server with
    public/, .next/ and deploy/. Needs Node 20+, node server.js. The URL
    prefix is compiled in: rebuild from source to change it.

Settings and the RSA key are supplied through the environment, see the README.

What's Changed

  • Add a Java + Spring Boot example by @evsinev in #8

Full Changelog: v0.2.0...v0.3.0