Skip to content

Downgrade to sqlite3 v1#187

Closed
DemonTPx wants to merge 1 commit intogin-contrib:masterfrom
PBWebMedia:sqlite3-v1
Closed

Downgrade to sqlite3 v1#187
DemonTPx wants to merge 1 commit intogin-contrib:masterfrom
PBWebMedia:sqlite3-v1

Conversation

@DemonTPx
Copy link
Copy Markdown

@DemonTPx DemonTPx commented Aug 16, 2022

Hi,

I've upgraded/downgraded the go-sqlite3 package to the v1 branch. This seems weird, but the maintainer of the go-sqlite3 package made the v2.* versions accidentally. (See https://github.com/mattn/go-sqlite3/blob/master/README.md)

The github.com/wader/gormstore/v2 package also depended on this v2.* branch of the go-sqlite3 package, but was fixed in v2.0.1.

The v2.0.3 version of go-sqlite3 is old and has some problems, which are fixed in later v1.* versions.

The v0.0.5 version of this package makes it unable to use the newer v1.* versions of go-sqlite3. I had to downgrade to v0.0.4 to be able to do so. This PR should fix that problem.

Thanks,
Bert

@vincentinttsh
Copy link
Copy Markdown
Contributor

LGTM
I agree with @DemonTPx say.
The latest of https://github.com/mattn/go-sqlite3 package is v1.14.15.
The v2.* versions of go-sqlite3 just come from an accident.

@appleboy appleboy closed this in 9d780ae Feb 8, 2023
@appleboy
Copy link
Copy Markdown
Member

appleboy commented Feb 8, 2023

Downgrade to v1.14.16 version.

tie added a commit to tie/PufferPanel that referenced this pull request Mar 9, 2023
This change bumps go-sqlite3 version in go.mod. Note that go-sqlite3 is
actually at v1 version, the v2 is an accident as written in README.

>Latest stable version is v1.14 or later, not v2.
>
>NOTE: The increase to v2 was an accident. There were no major changes or
>features.

This change fixes mattn/go-sqlite3#822

As a side effect, we also upgrade gin-contrib/sessions to the latest
commit for gin-contrib/sessions#187
There were no major changes since v0.0.5 release aside from minor
dependency version bumps.
gin-contrib/sessions@v0.0.5...189b96f
LordRalex pushed a commit to pufferpanel/pufferpanel that referenced this pull request Apr 9, 2023
This change bumps go-sqlite3 version in go.mod. Note that go-sqlite3 is
actually at v1 version, the v2 is an accident as written in README.

>Latest stable version is v1.14 or later, not v2.
>
>NOTE: The increase to v2 was an accident. There were no major changes or
>features.

This change fixes mattn/go-sqlite3#822

As a side effect, we also upgrade gin-contrib/sessions to the latest
commit for gin-contrib/sessions#187
There were no major changes since v0.0.5 release aside from minor
dependency version bumps.
gin-contrib/sessions@v0.0.5...189b96f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants