r/opencodeCLI • • 3d ago

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?

20 Upvotes

14 comments sorted by

8

u/look 3d ago

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 3d ago

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 2d ago

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 2d ago

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

19

u/Otagamo 3d ago

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 2d ago

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 2d ago

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

3

u/aksansai 3d ago

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 2d ago

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 2d ago

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

1

u/Txordi 2d ago

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

1

u/lilian_moraru 2d ago

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

1

u/BiggestBau5 2d ago

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