Skip to content

v2.0.0 #611

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 53 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
1592d36
FIx CGO Format
gjrtimmer Jun 13, 2018
1549ea7
Fix: UserAuth Error
gjrtimmer Jun 13, 2018
dc9d5d0
Removed legacy build tags
gjrtimmer Jun 13, 2018
de6249d
Add Tests for UserAuth Omit
gjrtimmer Jun 13, 2018
9e093e4
Update Introspect
gjrtimmer Jun 14, 2018
204cdb4
UserAuth: Fix Coverage
gjrtimmer Jun 14, 2018
4c7a9b4
Stat4: Add Test
gjrtimmer Jun 14, 2018
c7b624f
UserAuth: Fix Coverage
gjrtimmer Jun 14, 2018
6e0ffca
Stat4: Fix filename
gjrtimmer Jun 14, 2018
c0b3dea
Group OS compiler flags
gjrtimmer Jun 14, 2018
1fa3dcb
Rewrite
gjrtimmer Jun 15, 2018
355ec13
Fix upgrade tool
gjrtimmer Jun 18, 2018
8221c65
Fix Travis-CI
gjrtimmer Jun 18, 2018
2866d28
Rewrite
gjrtimmer Jun 19, 2018
6dc5ec6
Add backup
gjrtimmer Jun 20, 2018
32a680c
Update result
gjrtimmer Jun 20, 2018
fa6e997
add tests
gjrtimmer Jun 20, 2018
a4cd81b
fix/306
gjrtimmer Jun 20, 2018
abb3d34
add tests
gjrtimmer Jun 20, 2018
7157abb
Update result
gjrtimmer Jun 20, 2018
be463d8
Add Extension(s) loading
gjrtimmer Jun 20, 2018
79fc5c4
Add trace
gjrtimmer Jun 20, 2018
0458206
Fix copyright
gjrtimmer Jun 20, 2018
e1d3dc3
Add entension(s) loading
gjrtimmer Jun 20, 2018
b05cf3c
add vtable
gjrtimmer Jun 20, 2018
7f30bcf
Add optional extensions/modules/config
gjrtimmer Jun 20, 2018
203ba1b
Update Copyright
gjrtimmer Jun 20, 2018
026dd10
Moved Version Test
gjrtimmer Jun 20, 2018
81906d7
Moved Transaction Test
gjrtimmer Jun 20, 2018
aad2387
Moved Pinger test
gjrtimmer Jun 20, 2018
cba0b04
Update Constant comments
gjrtimmer Jun 21, 2018
b80de55
Update
gjrtimmer Jun 23, 2018
7c7d9c8
Update
gjrtimmer Jun 24, 2018
f5c3c6f
Update Config
gjrtimmer Jun 24, 2018
8334dc4
Update
gjrtimmer Jun 25, 2018
e36987a
Update
gjrtimmer Jun 26, 2018
c5e0c42
Fix func.go
gjrtimmer Jun 26, 2018
d6c4423
Rewrite TestBackupError for Golang:1.8
gjrtimmer Jun 26, 2018
ca65b39
Update
gjrtimmer Jun 26, 2018
283f0f8
Update Connection
gjrtimmer Jun 27, 2018
ded1827
Add Tests
gjrtimmer Jun 27, 2018
09cb77e
Update
gjrtimmer Jun 29, 2018
c8d9a4a
Fix race error
gjrtimmer Jul 3, 2018
ff61c4d
Debug Version number for UPSERT
gjrtimmer Jul 3, 2018
3aec8b1
Fix LIMIT test
gjrtimmer Jul 3, 2018
eef0bf0
Exclude LIMIT tests from libsqlite3 tag
gjrtimmer Jul 3, 2018
ac2e8f3
Update
gjrtimmer Jul 3, 2018
c90898d
V2.0.0
gjrtimmer Jul 20, 2018
3af8796
Rewrite all errors to lowercase.
gjrtimmer Jul 22, 2018
35f5717
Update CONTRIBUTING GUIDE
gjrtimmer Jul 22, 2018
4049232
Close Issue on Merge
gjrtimmer Jul 23, 2018
cf26002
fix: journal mode
gjrtimmer Aug 2, 2018
e904eb4
fix: journal
gjrtimmer Aug 2, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
### Issue description
Tell us what should happen and what happens instead

### Example code
```go
If possible, please enter some example code here to reproduce the issue.
```

### Error log
```
If you have an error log, please paste it here.
```

### Configuration
*Driver version (or git SHA):*

*Go version:* run `go version` in your console
9 changes: 9 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Description
Please explain the changes you made here.

### Checklist
- [ ] Code compiles correctly
- [ ] Created tests which fail without the change (if possible)
- [ ] All tests passing
- [ ] Extended the README / documentation / Wiki, if necessary
- [ ] Added myself / the copyright holder to the AUTHORS file
28 changes: 25 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,30 @@
.vscode

# Exclude from upgrade
upgrade/*.c
upgrade/*.h
tools/upgrade/*.c
tools/upgrade/*.h

# Exclude upgrade binary
upgrade/upgrade
cmd/upgrade/upgrade

# Exclude example binaries
examples/*/*.db
examples/custom_func/custom_func
examples/hook/hook
examples/limit/limit
examples/*/*.so
examples/*/extension
examples/simple/simple
examples/trace/trace
examples/vtable/vtable

debug.test
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db
.idea
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ env:
matrix:
- GOTAGS=
- GOTAGS=libsqlite3
- GOTAGS="sqlite_allow_uri_authority sqlite_app_armor sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_trace sqlite_userauth sqlite_vacuum_incr sqlite_vtable"
- GOTAGS="sqlite_allow_uri_authority sqlite_app_armor sqlite_foreign_keys sqlite_fts5 sqlite_icu sqlite_introspect sqlite_json sqlite_preupdate_hook sqlite_secure_delete sqlite_see sqlite_stat4 sqlite_trace sqlite_userauth sqlite_vacuum_incr sqlite_vtable"
- GOTAGS=sqlite_vacuum_full

go:
Expand All @@ -33,9 +33,9 @@ before_install:
fi

script:
- GOOS=$(go env GOOS) GOARCH=$(go env GOARCH) go build -v -tags "${GOTAGS}" .
- GOOS=$(go env GOOS) GOARCH=$(go env GOARCH) go build -v -tags "${GOTAGS}" ./driver
- |
if [[ "${GOOS}" != "windows" ]]; then
$HOME/gopath/bin/goveralls -repotoken 3qJVUE0iQwqnCbmNcDsjYu1nh4J4KIFXx
go test -race -v . -tags "${GOTAGS}"
go test -race -v ./driver -tags "${GOTAGS}"
fi
15 changes: 15 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# This is the official list of Go-SQLite3 authors for copyright purposes.

# If you are submitting a patch, please add your name or the name of the
# organization which holds the copyright to this list in alphabetical order.

# Names should be added to this file as
# Name <email address>
# The email address is not required for organizations.
# Please keep the list sorted (First Name Ascending).

# Individual Persons
G.J.R. Timmer <[email protected]>
Yasuhiro Matsumoto <[email protected]>

# Organizations
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Version 2.0.0 (2018-07-20)

Changes:

- Rewrite of package
- Documentation fixes
- Moved `crypt` encoders to subpackage
- Additional Tests

New Features:

- Golang:1.10 `sql/driver` support
- Crypt
`CryptEncoder` interface for implementing custom encoder
`CryptSaltedEncoder` interface for implementing custom encoder with a salt
- Wiki Pages
27 changes: 27 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Contributing Guidelines

## Reporting Issues

Before creating a new Issue, please check first if a similar Issue [already exists](https://github.com/mattn/go-sqlite3/issues?state=open) or was [recently closed](https://github.com/mattn/go-sqlite3/issues?direction=desc&page=1&sort=updated&state=closed).

## Contributing Code

By contributing to this project, you share your code under the MIT License, as specified in the LICENSE file.
Don't forget to add yourself to the AUTHORS file.

### Errors

Errors are preferred to be started with and fully in lower case, with the exception only to names in which uppercase letters are common. For example: NULL, SQLite Go-SQLite3 or function names.

### Code Review

Everyone is invited to review and comment on pull requests.
If it looks fine to you, comment with "LGTM" (Looks good to me).

If changes are required, notice the reviewers with "PTAL" (Please take another look) after committing the fixes.

Before merging the Pull Request, at least one team member must have commented with "LGTM".

## Development Ideas

If you are looking for ideas for code contributions, please check our [Development Ideas](https://github.com/mattn/go-sqlite3/wiki/Development-Ideas) Wiki page.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014 Yasuhiro Matsumoto
Copyright (c) 2018 Yasuhiro Matsumoto

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading