frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Lastversion – CLI tool to get the latest stable version of any project

https://github.com/dvershinin/lastversion
1•dvershinin•1h ago

Comments

dvershinin•1h ago
If you package software or maintain automated builds, you know the drill. You need the latest stable version of some upstream project, and you'd think it's a simple API call. It isn't.

Release tags are wildly inconsistent. Some projects tag `v1.2.3`, others do `release-1.2.3-final`. Quite a few forget to mark their release candidates as pre-releases on GitHub, so the API happily returns a beta as "the latest release". And then there are projects that switch versioning schemes entirely mid-history, going from `v20150121` to `v2.0.1`.

I deal with RPM packaging, so I hit this constantly. Every upstream project required its own script. So I wrote `lastversion` to handle the mess, and it's been in production use for about 7 years now.

  $ lastversion nginx/nginx
  1.26.3

  $ lastversion php/php-src --major 8.2
  8.2.27

  $ lastversion format "mysqld  Ver 5.6.51-91.0 for Linux"
  5.6.51

  $ lastversion rocky
  9.5
That last one pulls Rocky Linux's version from Wikipedia — not everything has a GitHub repo. `lastversion` works with GitHub, GitLab, BitBucket, PyPI, Mercurial, SourceForge, WordPress plugin directory, RSS feeds, Helm charts, and a few others.

The version parsing was the tricky part. Standard PEP 440 doesn't handle real-world formats like Java's `8u462-b08` or OpenSSL's `1.1.1b`, so I extended it. There's also heuristic detection for misfiled betas — when the micro version is suspiciously high (≥90) and it's not a date-based scheme, it's likely a pre-release.

You can also `lastversion download`, `extract`, or `install` releases directly. For CI scripts, the `-gt` flag gives you a non-zero exit code if no newer version exists. And if you maintain RPM specs, `lastversion update-spec nginx.spec` will update the version for you.

`pip install lastversion`. BSD licensed, ~400 GitHub stars.

Inferless Joins Baseten

https://www.baseten.co/blog/announcing-the-acquihire-of-inferless-by-baseten/
1•agcat•1m ago•0 comments

CodeForge – 100 AI agents review your code like hostile attackers

https://agentsplex.com/codeforge
1•apolloraines•2m ago•1 comments

Exploiting Starlink Leo for PNT

https://insidegnss.com/exploiting-starlink-leo-for-pnt/
1•jacquesm•2m ago•0 comments

Discord Alternatives

https://jankremer.eu/blog/discord/
2•jankremer•3m ago•0 comments

Show HN: SaaS> Receive real-time filtered Upwork jobs via Webhook

https://www.freelancefilter.com/
1•cmarius46•6m ago•0 comments

Wiretext – ASCII Wireframe Creator

https://wiretext.app
1•helloplanets•6m ago•0 comments

MongoDB vs. SQL in 2026

https://thedecipherist.com/articles/mongo_vs_sql/
1•senfiaj•6m ago•0 comments

SL(1): Cure your bad habit of mistyping

https://github.com/mtoyoda/sl
1•st_goliath•7m ago•0 comments

Docker Swarm vs. Kubernetes in 2026

https://thedecipherist.com/articles/docker_swarm_vs_kubernetes/
2•RedShift1•8m ago•0 comments

Show HN: Breadboard – a modern HyperCard for building web apps on the canvas

https://breadboards.io/
2•simquat•10m ago•0 comments

Everything Sucks – and Is the Worst Version of Itself [video]

https://www.youtube.com/watch?v=jS2uVbZFSFc
1•joe_mamba•11m ago•0 comments

Show HN: 2D Coulomb Gas Simulator

https://simonhalvdansson.github.io/2D-Coulomb-Gas-Tools/index_gpu.html
4•swesnow•11m ago•0 comments

CURL's Daniel Stenberg: AI slop is DDoSing open source

https://thenewstack.io/curls-daniel-stenberg-ai-is-ddosing-open-source-and-fixing-its-bugs/
4•CrankyBear•15m ago•0 comments

Scientist builds machine to disprove Havana Syndrome; gets brain damage

https://www.telegraph.co.uk/world-news/2026/02/15/scientist-builds-machine-havana-syndrome-brain-...
3•takoid•18m ago•0 comments

What the Whiskers on an Elephant's Trunk Do

https://nautil.us/heres-what-the-whiskers-on-an-elephants-trunk-do-1268174/
1•Tomte•18m ago•0 comments

9x MobileNet V2 size reduction with Quantization aware training

https://github.com/dakshjain-1616/Quantisation-Awareness-training-by-NEO
1•gauravvij137•18m ago•1 comments

Wero – Digital payment wallet, Made in Europe

https://wero-wallet.eu
2•tilt•19m ago•0 comments

Show HN: AI Council Debate

https://www.jurict.com/
2•smakosh•19m ago•0 comments

How the sound of sport is being reimagined for deaf fans

https://www.bbc.com/future/article/20260216-how-the-sound-of-sport-is-being-reimagined-for-deaf-fans
3•devonnull•21m ago•0 comments

I used AI to generate a song about AI taking developer jobs [video]

https://www.youtube.com/watch?v=lpWDocPSMAM
1•berkaycubuk•21m ago•1 comments

Hearing aids didn't boost memory tests but dementia risk dropped

https://www.sciencedaily.com/releases/2026/02/260209064314.htm
3•geox•24m ago•1 comments

Signal sniffer to detect Nancy Guthrie's pacemaker deployed

https://www.cbsnews.com/news/signal-sniffer-detect-nancy-guthrie-pacemaker-deployed-law-enforceme...
2•mhb•24m ago•0 comments

Tool Shaped Objects

https://twitter.com/WillManidis/status/2021655191901155534
1•atakan_gurkan•25m ago•0 comments

Ask HN: Do global AGENTS.md with coding principles make sense?

1•endorphine•25m ago•0 comments

Expanding our long-running agents research preview

https://cursor.com/blog/long-running-agents
1•gmays•25m ago•0 comments

Linear plugin for OpenClaw (with managed/ordered queue)

https://github.com/stepandel/openclaw-linear
1•arsentjev•26m ago•1 comments

Interface-Off: Which LLM designs the best marketing site?

https://www.designlanguage.xyz/p/interface-off-what-llm-designs-the
1•charlesiv•26m ago•0 comments

Event Sourcing: Compliance Without the Migration Nightmare

https://www.genesisdb.io/blog/posts/2026-02-16/compliance-without-the-migration-nightmare
5•patriceckhart•28m ago•0 comments

Humans will be needed to control the amount of entropy that AI agents will add

https://twitter.com/mrafayaleem/status/2023472274381434994
1•iamspoilt•28m ago•0 comments

Using tech to update democracy: The Mirror Parliament

https://lustra.news/info/blueprint/
1•fokdelafons•29m ago•0 comments