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 377 commits into
base: main
Choose a base branch
from
Draft

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

wants to merge 377 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
si3nloong and others added 23 commits December 20, 2022 18:29
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.5.0...v0.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/paulmach/orb](https://github.com/paulmach/orb) from 0.7.1 to 0.8.0.
- [Release notes](https://github.com/paulmach/orb/releases)
- [Changelog](https://github.com/paulmach/orb/blob/master/CHANGELOG.md)
- [Commits](paulmach/orb@v0.7.1...v0.8.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.107.0 to 0.108.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.107.0...v0.108.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
…g.org/x/text-0.6.0

chore(deps): bump golang.org/x/text from 0.5.0 to 0.6.0
…b.com/paulmach/orb-0.8.0

chore(deps): bump github.com/paulmach/orb from 0.7.1 to 0.8.0
….google.com/go-0.108.0

chore(deps): bump cloud.google.com/go from 0.107.0 to 0.108.0
Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.108.0 to 0.109.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.108.0...v0.109.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
….google.com/go-0.109.0

chore(deps): bump cloud.google.com/go from 0.108.0 to 0.109.0
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.60.0 to 2.60.1.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.60.0...v2.60.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
…b.com/casbin/casbin/v2-2.60.1

chore(deps): bump github.com/casbin/casbin/v2 from 2.60.0 to 2.60.1
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.60.1 to 2.60.2.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.60.1...v2.60.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.60.2 to 2.61.0.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.60.2...v2.61.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] <support@github.com>
dependabot bot and others added 30 commits March 18, 2024 21:54
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.84.1 to 2.85.0.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.84.1...v2.85.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] <support@github.com>
…b.com/casbin/casbin/v2-2.85.0

chore(deps): bump github.com/casbin/casbin/v2 from 2.84.1 to 2.85.0
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/v1.8.1/CHANGELOG.md)
- [Commits](go-sql-driver/mysql@v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…b.com/go-sql-driver/mysql-1.8.1

chore(deps): bump github.com/go-sql-driver/mysql from 1.8.0 to 1.8.1
Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.112.1 to 0.112.2.
- [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.112.1...v0.112.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
….google.com/go-0.112.2

chore(deps): bump cloud.google.com/go from 0.112.1 to 0.112.2
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.85.0 to 2.86.0.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.85.0...v2.86.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] <support@github.com>
…b.com/casbin/casbin/v2-2.86.0

chore(deps): bump github.com/casbin/casbin/v2 from 2.85.0 to 2.86.0
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.86.0 to 2.87.1.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.86.0...v2.87.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
…b.com/casbin/casbin/v2-2.87.1

chore(deps): bump github.com/casbin/casbin/v2 from 2.86.0 to 2.87.1
Bumps [go.mongodb.org/mongo-driver](https://github.com/mongodb/mongo-go-driver) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/mongodb/mongo-go-driver/releases)
- [Commits](mongodb/mongo-go-driver@v1.14.0...v1.15.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] <support@github.com>
…ngodb.org/mongo-driver-1.15.0

chore(deps): bump go.mongodb.org/mongo-driver from 1.14.0 to 1.15.0
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.87.1 to 2.88.0.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.87.1...v2.88.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] <support@github.com>
…b.com/casbin/casbin/v2-2.88.0

chore(deps): bump github.com/casbin/casbin/v2 from 2.87.1 to 2.88.0
Bumps google.golang.org/protobuf from 1.33.0 to 1.34.0.

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

Signed-off-by: dependabot[bot] <support@github.com>
…e.golang.org/protobuf-1.34.0

chore(deps): bump google.golang.org/protobuf from 1.33.0 to 1.34.0
Bumps google.golang.org/protobuf from 1.34.0 to 1.34.1.

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

Signed-off-by: dependabot[bot] <support@github.com>
…e.golang.org/protobuf-1.34.1

chore(deps): bump google.golang.org/protobuf from 1.34.0 to 1.34.1
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.14.0 to 0.15.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.14.0...v0.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
…g.org/x/text-0.15.0

chore(deps): bump golang.org/x/text from 0.14.0 to 0.15.0
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.88.0 to 2.89.0.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.88.0...v2.89.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] <support@github.com>
…b.com/casbin/casbin/v2-2.89.0

chore(deps): bump github.com/casbin/casbin/v2 from 2.88.0 to 2.89.0
Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.112.2 to 0.113.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.112.2...v0.113.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
….google.com/go-0.113.0

chore(deps): bump cloud.google.com/go from 0.112.2 to 0.113.0
Bumps [cloud.google.com/go](https://github.com/googleapis/google-cloud-go) from 0.113.0 to 0.114.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.113.0...v0.114.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
….google.com/go-0.114.0

chore(deps): bump cloud.google.com/go from 0.113.0 to 0.114.0
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.89.0 to 2.90.0.
- [Release notes](https://github.com/casbin/casbin/releases)
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json)
- [Commits](casbin/casbin@v2.89.0...v2.90.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] <support@github.com>
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.15.0...v0.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
…b.com/casbin/casbin/v2-2.90.0

chore(deps): bump github.com/casbin/casbin/v2 from 2.89.0 to 2.90.0
…g.org/x/text-0.16.0

chore(deps): bump golang.org/x/text from 0.15.0 to 0.16.0
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