r/opencodeCLI • • Oct 22 '26

Opencode 2 stable?

I've seen posts and the official installer defaults to v2. However, github shows that v1 is still the version released, with v2 only shown in tags.

Since this is kinda contradictory, is v2 stable or not?

21 Upvotes

15 comments sorted by

9

u/look Oct 22 '26

The migration from v1 to v2 is not fully automatic (extension incompatibility was the main issue), so they’re not really pushing it for existing v1 users that aren’t aware of it

Think of it more like a new harness with a pretty good (but not entirely seamless) “migrate data from other harness” on first run.

6

u/Ace-_Ventura Oct 22 '26

That's not the point though. They even added an upgrade command in v1.  My point is that they aren't clear if v2 is stable or not. If I go by github, it's not stable.

2

u/KubeGuyDe Oct 22 '26

If you go by the docs, as a new user you get v2 by default.

I switched the other day and haven't found any issues.

Also there have been the first minor releases for v2, so I'd say it's stable. 

1

u/japherwocky Oct 23 '26

it's not clear that v1 was ever very stable lol

20

u/Otagamo Oct 22 '26

https://opencode.ai/changelog

They are posting V2 changes here, apparently V1 is in maintenance mode now.

Not sure why they don't update GitHub also.

6

u/Amarsir Oct 22 '26

I was reluctant to switch, but just did this past Monday. It's been quite stable for me since then. I wouldn't say it's mandatory to go with v2, but there isn't really a good reason to fear it either.

1

u/squirrelscrush Oct 23 '26

I was kinda forced to switch since my V1 system broke due to some DB issues. V2 works quite well for me now.

1

u/ward2k Oct 25 '26

V1 has some recursive grep issues that can cause it to balloon into like 50gb+ in size. Not sure if it's been fixed in V2

Only noticed because my backup went from a couple gig to 50gb overnight

3

u/aksansai Oct 22 '26

Click on other releases. You’ll see the 2.1 release for download. They’re not pushing an extensive change log though. You’ll have to compare the commits against the tags.

1

u/cleversmoke Oct 22 '26

V2's config file is more strict than V1, but after the hurdle to make the config compliant, V2 is very stable for me. I'm liking it!

1

u/SittingOvation Oct 22 '26

I migrated last week. A few issues minor issues (port collisions, plugins broken) but otherwise good.

1

u/Txordi Oct 23 '26

It feels much more stable and light than v1 on my end. I work with CLI only.

1

u/lilian_moraru Oct 23 '26

Light it definitely is not. You literally sit there and wait for a server to start

1

u/BiggestBau5 Oct 23 '26

I migrated this week and like it except there is no LSP support, which is one of the main reasons I started using opencode in the first place. I am probably going to downgrade until they add that support back… clangd is not optional for a large scale c++ project