Skip to content

Releases

v2.4.3

Choose a tag to compare

@michaelaguiar michaelaguiar released this 04 Dec 17:14
v2.4.3
08a90e4

Ingot now remembers your databases between commands.

Fixed

  • Databases are rediscovered from Docker (#31): ingot database list and remove see your databases, and global start and restart keep them up to date. Before this, every command after database add forgot them. On the first global start after updating, an existing database container is recreated once with labels that record its version and port, on the same data volume. Its port then listens on localhost only.
  • A removed database container comes back: if its container is gone, global start creates it again from the data volume.
  • ingot database remove now stops the database cleanly, deletes its container and keeps the data volume. ingot database add with the same version uses the data again, and docker volume rm deletes it. A database removed with an older version, whose container was left in place, is picked up again: run ingot database remove once more to remove it.
  • ingot status lists a project's running databases.

v2.4.2

Choose a tag to compare

@michaelaguiar michaelaguiar released this 04 Dec 15:33
v2.4.2
6b12dbe

ingot update now moves the idle waker to the new version too.

Fixed

  • The idle waker updates with Ingot (#29): ingot global refresh, which ingot update runs, moves a running ingot_idle to the image for the new version and keeps its timeout. If the new image can't be pulled, the old waker keeps running and Ingot prints a warning. If the waker is missing while the proxy runs, refresh starts it.
  • The waker's "took too long to start" page no longer capitalises "The idle service's log" mid-sentence (#29).

Release tooling

  • scripts/release.sh works with signed tags, can be rerun after a failure, finishes a half-published draft release, and refuses a version that's already out. A .dockerignore keeps everything but the image sources out of the image builds (#30).

v2.4.1

Choose a tag to compare

@michaelaguiar michaelaguiar released this 04 Dec 05:18
v2.4.1
f86e68e

Fixes to the "No project here" page and a new look for the idle waker's pages.

Fixes

  • The "No project here" page names the right folder (#27): a subdomain or dotted host no longer suggests a folder that doesn't exist, and the page notes that the folder's letter case may differ.
  • The idle waker's pages have the Ingot look (#28): the pages shown while a project starts, or when it can't start, match the 404 page and give the command to run next (ingot start, ingot logs or ingot logs idle).

v2.4.0

Choose a tag to compare

@michaelaguiar michaelaguiar released this 04 Dec 00:01
v2.4.0
e7cf5ad

A simpler "No project here" page, and ingot update now refreshes the proxy's pages and config.

New

  • ingot global refresh (#26): rewrites the proxy's base Caddyfile and pages from the installed binary. ingot update runs it after installing, so pages and snippets no longer stay at the old version after an update.
  • A simpler "No project here" page (#25): one column with the address, the command to start the project and a Copy button, and a pointer to ingot ls and ingot doctor.

Docs

  • The README, landing page and ingot help describe Ingot as local dev environments for any language, and label the PHP-only commands and settings as PHP-only (#24).

v2.3.0

Choose a tag to compare

@michaelaguiar michaelaguiar released this 03 Dec 18:01
v2.3.0
2876d56

Ingot now runs local dev environments for apps in any language, not just PHP.

New

  • Apps in any language (#22): a project with no PHP but a Dockerfile or another language's manifest runs as an app, from its own Dockerfile or a named image, on its own port. Set the port with ingot port <n> and how the folder is mounted with ingot mount none|workdir|<path>.
  • ingot link <port> (#23): serve an app you run yourself on the host (go run, cargo run, npm run dev) at https://<project>.test, with HTTPS, sharing and a page that says when the app isn't running. ingot unlink removes it.
  • Laravel for Rust runtime (#19): detected from Cargo.toml, with its own image and environment.
  • A redesigned "No project here" page (#21), and an Ingot page when a PHP project returns an empty 500 (#17).

Fixes

  • ingot start with no version keeps the project's PHP version (#20).
  • Mailpit and the databases are published on localhost only (#18).
  • Ingot says "permission denied" instead of "not running" when the Docker socket isn't accessible (#16).

v2.2.2

Choose a tag to compare

@michaelaguiar michaelaguiar released this 28 Oct 22:47
v2.2.2
842345e

Fixes

  • ingot doctor no longer reports .test as broken when it works. On Linux, the release binaries use Go's built-in DNS client, which reads /etc/resolv.conf directly and skips systemd-resolved's .test route. Where that file lists your router rather than resolved's local stub (aliasOS, for example), doctor failed "System resolver does not resolve .test domains" and the per-project HTTPS check, even though browsers and curl reached the site. Doctor now looks these names up through the system's resolver (getent), the same way browsers do. (#15)

v2.2.1

Choose a tag to compare

@michaelaguiar michaelaguiar released this 28 Oct 21:39
v2.2.1
b34c169

Fixes

  • ingot update works without a GitHub token. Ingot's repository is now public, so no token or gh login is needed. Earlier versions only requested the binary when they had a token. Without one, GitHub returned the asset's JSON description, and that was installed in place of ingot. The updater now always requests the binary, and it rejects a download whose size doesn't match the release. (#8)
  • If GitHub rejects the token (expired or revoked), the updater drops it and tries again without it, instead of failing.

Upgrade notes

  • If you're on 2.2.0 or earlier with no GITHUB_TOKEN set and no gh login, update by re-downloading instead of running ingot update:
    curl -fsSLo ingot https://github.com/aliasproject/ingot/releases/latest/download/ingot-<os>-<arch> && chmod +x ingot && sudo mv ingot /usr/local/bin/ingot
    If ingot already prints errors such as syntax error, it was replaced by that JSON file. The same command fixes it.

v2.2.0

Choose a tag to compare

@michaelaguiar michaelaguiar released this 28 Oct 12:38
v2.2.0
3ff5b30

Security

  • Build-arg credentials are no longer saved on the container. Earlier versions stored every Dockerfile build-arg value in the ingot.project.build_args label, so a GITHUB_TOKEN or similar could be read by anything with Docker access (docker inspect). Args whose names look like credentials (*TOKEN*, *SECRET*, *PASSWORD*, COMPOSER_AUTH, SSH_KEY, GH_PAT, ...) are now stored by name only, and their values reach docker build through its environment rather than its command line. (#14)
  • ingot doctor warns when a project's container still holds a credential stored by an older version.

Changes

  • ingot rebuild asks for credential build args again, or reads them from INGOT_BUILD_ARG_<NAME> (e.g. INGOT_BUILD_ARG_GITHUB_TOKEN). The first-run prompt uses that variable too when it's set.
  • ingot env set, ingot php, ingot server-root and ingot idle now reuse a Dockerfile project's built image instead of rebuilding it each time. Run ingot rebuild after editing the Dockerfile.

Upgrade notes

  • If you've used a Dockerfile project with a token build arg, revoke that token: it has been readable from docker inspect. Then run ingot rebuild in the project. It asks for the new value, doesn't save it, and rewrites the label without the old one. ingot doctor lists the projects that need this.

v2.1.1

Choose a tag to compare

@michaelaguiar michaelaguiar released this 27 Oct 23:46
v2.1.1
2075970

Highlights

  • Runs natively on arm64 Linux (e.g. Asahi/aliasOS on Apple Silicon). The compose config no longer pins MySQL to linux/amd64, so it works without QEMU. (#11)
  • MailHog → Mailpit. MailHog only shipped amd64 images and was unmaintained. Mailpit (axllent/mailpit:v1.32) uses the same ports, 1025 SMTP and 8025 UI, so MAIL_HOST=mail setups don't change, and it accepts any SMTP credentials. (#11)
  • No GitHub login needed. Every Ingot image is now a public GHCR package; the GitHub auth commands and the installer's GitHub step are gone. If a pull is refused with "denied", run docker logout ghcr.io, because a stale login from an older version is still being sent. (#10)
  • MySQL 5.7 removed (end of life since 2023, amd64-only). New databases are MySQL 8.0. (#12)

Upgrade notes

  • Run ingot global restart after updating, so the mail service switches to Mailpit.
  • An existing ingot_mysql container isn't regenerated by global restart. On arm64 Linux, if it was created by an older version and crash-loops with exec format error, remove the container (docker rm -f ingot_mysql) and run ingot database add again. The data volume is kept.
  • If you were on MySQL 5.7, the container keeps running. Adding 8.0 creates a new ingot_mysql-8.0 volume, and your 5.7 data stays in ingot_mysql-5.7.

v2.1.0

Choose a tag to compare

@michaelaguiar michaelaguiar released this 19 Oct 22:41
v2.1.0
4a26b3a

Ingot Local CA

The local root CA is now named Ingot Local CA (organization: Alias Project) and is valid for 10 years. Its image is built from this repo and published as ghcr.io/aliasproject/ingot-openssl:<version>.

  • Project certificates: they gain the serverAuth usage Apple platforms require. They're reissued automatically on ingot start when they no longer verify against the CA or expire within 30 days.
  • Caddy: it now picks up reissued certificates (reloads use --force).
  • Trust checks: macOS keychain detection and the Windows trust check are fixed.

Upgrading from 2.0.0: a new CA is generated, so the old one has to be removed and the new one trusted. See the Rollout section of #9.