Replace the working tree with the exact contents of upstream xorm.io/xorm v1.4.1, applying ONLY: - import-path rename xorm.io/xorm -> github.com/hanzoai/xorm - import-path rename xorm.io/builder -> github.com/hanzoai/builder - module line -> github.com/hanzoai/builder consumer - NOTICE provenance (Hanzo AI + upstream Xorm Authors, BSD-3-Clause) Non-test .go is byte-identical to upstream after normalizing the import paths back, so schema Sync (columnTypesMatch/columnDefaultsMatch), the PostgreSQL GetColumns introspection, and the context hook Ctx writeback match upstream exactly. The prior fork content predated v1.4.1 and is superseded; published as immutable v1.4.2.
38 lines
1.6 KiB
Plaintext
38 lines
1.6 KiB
Plaintext
Hanzo xorm
|
|
Copyright (c) 2026 Hanzo AI, Inc.
|
|
|
|
This product includes software from xorm (the Go ORM), licensed under
|
|
BSD-3-Clause:
|
|
|
|
Copyright (c) 2013 - 2015 The Xorm Authors
|
|
|
|
Forked from xorm.io/xorm (upstream repository https://gitea.com/xorm/xorm,
|
|
mirrored at https://github.com/go-xorm/xorm) at commit
|
|
ab3ffa8fa5d56bfae4cae9b0b5186c4f66cd84d1 (upstream PR #2569, "Fix bug when
|
|
invoking session in the after load"). No upstream release tag is present in
|
|
this fork's history; the commit above is the last upstream commit before the
|
|
Hanzo fork.
|
|
|
|
DEVIATIONS
|
|
|
|
The following changes distinguish this fork from upstream xorm:
|
|
|
|
- Module path renamed from xorm.io/xorm to github.com/hanzoai/xorm; all
|
|
internal import paths updated accordingly.
|
|
- SQL builder dependency switched from xorm.io/builder to
|
|
github.com/hanzoai/builder (v0.3.13).
|
|
- CGo SQLite driver github.com/mattn/go-sqlite3 dropped in favor of the pure-Go
|
|
github.com/hanzoai/csqlite (v0.1.0) alongside modernc.org/sqlite (v1.48.0).
|
|
- Go language directive bumped to go 1.26.4.
|
|
- Database driver dependencies bumped: github.com/go-sql-driver/mysql v1.8.1,
|
|
github.com/jackc/pgx/v5 v5.6.0, github.com/microsoft/go-mssqldb v1.8.2,
|
|
github.com/goccy/go-json v0.10.5, github.com/shopspring/decimal v1.4.0.
|
|
- Test dependency github.com/stretchr/testify bumped to v1.11.1.
|
|
- Hanzo project documentation added (AGENTS.md, LLM.md with a CLAUDE.md
|
|
symlink, .changelog.yml).
|
|
- Branding and CI/docs references migrated to Hanzo (git.hanzo.ai build
|
|
badges, .github/hero.svg banner).
|
|
|
|
Dialect support (MySQL, Postgres, SQLite, MSSQL, Oracle, Dameng, GBase8s) is
|
|
unchanged from upstream apart from the import-path rename above.
|