Skip to content
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

🔖 release: a brand new release v2, wow!!! 🥳 #175

Draft
wants to merge 425 commits into
base: main
Choose a base branch
from
Draft

🔖 release: a brand new release v2, wow!!! 🥳 #175

wants to merge 425 commits into from

Conversation

si3nloong
Copy link
Owner

@si3nloong si3nloong commented Jul 16, 2022

Beware!!! This release consists a lot of BREAKING CHANGES.

  • Upgrade requirement to at least go1.18, replace all interface{} type to any type.
  • Updated the test script to use latest version of Go and github actions plugins.
  • Fixed the Reset bug of SQL statement (The timer doesn't reset even Reset executed).
  • Refactor folder structure.
  • Renamed Mapper to mapper, Structer to StructInfo.
  • Added LRU cache for struct mapper.
  • Rework transaction API.
  • Rework lock API.
  • Rework pagination API.
  • Rework SQL encoder to support function execution before INSERT/UPDATE.
  • Support multiple tag keys, such as db, sql or sqlike.
  • Support foreign key.
  • Support JOIN.
  • Support multi-valued indexes.
    - [ ] Support Postgres driver.
  • Support UUID data type.
  • Update documentation.
  • Support different naming convention thru configuration

CHANGELOGS

  • 13f62d2 - rename Result to Rows
  • 7c2e900 - support JOIN operation
  • 0aeab88 - refactor Transaction, renamed RollbackTransaction to Rollback, and CommitTransaction to Commit
  • def3873 - refactor Debug interface
  • e7f1d64 - support multiple struct field tag
  • ec1a631 - refactor LookUp function of struct tag to Option
  • eebb425 - rework encoder
  • eebb425 - support UUID data type
  • ae491d7 - allow to configure naming convention using env variable

@si3nloong si3nloong changed the title 🔖 release: a brand new release v2.0.0, wow!!! 🔖 release: a brand new release v2.0.0, wow!!! 🥳 Jul 16, 2022
@codecov
Copy link

codecov bot commented Jul 16, 2022

Codecov Report

Patch coverage: 40.65% and project coverage change: -3.42% ⚠️

Comparison is base (cd24c19) 51.28% compared to head (7d7825e) 47.86%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #175      +/-   ##
==========================================
- Coverage   51.28%   47.86%   -3.42%     
==========================================
  Files         122      135      +13     
  Lines       10541    11087     +546     
==========================================
- Hits         5406     5307      -99     
- Misses       4915     5564     +649     
+ Partials      220      216       -4     
Files Changed Coverage Δ
actions/actions.go 100.00% <ø> (ø)
actions/delete_one.go 0.00% <0.00%> (ø)
actions/find.go 0.00% <0.00%> (ø)
actions/paginate.go 0.00% <0.00%> (ø)
actions/update.go 0.00% <0.00%> (ø)
actions/update_one.go 0.00% <0.00%> (ø)
client.go 0.00% <0.00%> (ø)
column.go 0.00% <0.00%> (ø)
connection.go 3.33% <0.00%> (ø)
context.go 0.00% <0.00%> (ø)
... and 110 more

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@si3nloong si3nloong changed the title 🔖 release: a brand new release v2.0.0, wow!!! 🥳 🔖 release: a brand new release v2, wow!!! 🥳 Jul 16, 2022
@si3nloong si3nloong added this to the Version 2 milestone Jul 17, 2022
@si3nloong si3nloong self-assigned this Jul 17, 2022
@si3nloong si3nloong marked this pull request as draft August 30, 2022 11:26
dependabot bot and others added 12 commits February 27, 2023 21:10
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.63.0 to 2.64.0.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.63.0...v2.64.0)

---
updated-dependencies:
- dependency-name: github.com/casbin/casbin/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.8.1...v1.8.2)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…b.com/casbin/casbin/v2-2.64.0

chore(deps): bump github.com/casbin/casbin/v2 from 2.63.0 to 2.64.0
…b.com/stretchr/testify-1.8.2

chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2
dependabot bot and others added 30 commits July 18, 2024 21:15
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.97.0 to 2.98.0.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.97.0...v2.98.0)

---
updated-dependencies:
- dependency-name: github.com/casbin/casbin/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…b.com/casbin/casbin/v2-2.98.0

chore(deps): bump github.com/casbin/casbin/v2 from 2.97.0 to 2.98.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.16.0 to 0.17.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.16.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…g.org/x/text-0.17.0

chore(deps): bump golang.org/x/text from 0.16.0 to 0.17.0
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.16.0 to 1.16.1.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](mongodb/mongo-go-driver@v1.16.0...v1.16.1)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…ngodb.org/mongo-driver-1.16.1

chore(deps): bump go.mongodb.org/mongo-driver from 1.16.0 to 1.16.1
Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.115.0 to 0.115.1.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](googleapis/google-cloud-go@v0.115.0...v0.115.1)

---
updated-dependencies:
- dependency-name: cloud.google.com/go
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
….google.com/go-0.115.1

chore(deps): bump cloud.google.com/go from 0.115.0 to 0.115.1
Bumps [github.com/Masterminds/semver/v3](https://github.com/Masterminds/semver) from 3.2.1 to 3.3.0.
- [Release notes](https://github.com/Masterminds/semver/releases)
- [Changelog](https://github.com/Masterminds/semver/blob/master/CHANGELOG.md)
- [Commits](Masterminds/semver@v3.2.1...v3.3.0)

---
updated-dependencies:
- dependency-name: github.com/Masterminds/semver/v3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…b.com/Masterminds/semver/v3-3.3.0

chore(deps): bump github.com/Masterminds/semver/v3 from 3.2.1 to 3.3.0
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.98.0 to 2.99.0.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.98.0...v2.99.0)

---
updated-dependencies:
- dependency-name: github.com/casbin/casbin/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…b.com/casbin/casbin/v2-2.99.0

chore(deps): bump github.com/casbin/casbin/v2 from 2.98.0 to 2.99.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.17.0 to 0.18.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.17.0...v0.18.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…g.org/x/text-0.18.0

chore(deps): bump golang.org/x/text from 0.17.0 to 0.18.0
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.99.0 to 2.100.0.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.99.0...v2.100.0)

---
updated-dependencies:
- dependency-name: github.com/casbin/casbin/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…b.com/casbin/casbin/v2-2.100.0

chore(deps): bump github.com/casbin/casbin/v2 from 2.99.0 to 2.100.0
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.16.1 to 1.17.0.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](mongodb/mongo-go-driver@v1.16.1...v1.17.0)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…ngodb.org/mongo-driver-1.17.0

chore(deps): bump go.mongodb.org/mongo-driver from 1.16.1 to 1.17.0
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.17.0 to 1.17.1.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](mongodb/mongo-go-driver@v1.17.0...v1.17.1)

---
updated-dependencies:
- dependency-name: go.mongodb.org/mongo-driver
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…ngodb.org/mongo-driver-1.17.1

chore(deps): bump go.mongodb.org/mongo-driver from 1.17.0 to 1.17.1
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.18.0 to 0.19.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.18.0...v0.19.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…g.org/x/text-0.19.0

chore(deps): bump golang.org/x/text from 0.18.0 to 0.19.0
Bumps google.golang.org/protobuf from 1.34.2 to 1.35.1.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…e.golang.org/protobuf-1.35.1

chore(deps): bump google.golang.org/protobuf from 1.34.2 to 1.35.1
Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.115.1 to 0.116.0.
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](googleapis/google-cloud-go@v0.115.1...v0.116.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
….google.com/go-0.116.0

chore(deps): bump cloud.google.com/go from 0.115.1 to 0.116.0
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…g.org/x/text-0.20.0

chore(deps): bump golang.org/x/text from 0.19.0 to 0.20.0
Bumps google.golang.org/protobuf from 1.35.1 to 1.35.2.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
…e.golang.org/protobuf-1.35.2

chore(deps): bump google.golang.org/protobuf from 1.35.1 to 1.35.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request release
Projects
None yet
1 participant