Граф коммитов

325 Коммитов

Автор SHA1 Сообщение Дата
Andrew White 5a44025a13 chore: fixup optional param on MultiTenantDbContext.Create 2024-11-13 14:00:04 -07:00
Andrew White 026ca33cfa chore: update readme 2024-11-13 08:23:33 -07:00
Andrew White d0407c7ebe chore: docs fix 2024-11-13 08:17:56 -07:00
Andrew White d4e9711230 chore: docs fix 2024-11-13 08:16:34 -07:00
Andrew White bcb1a6a586 chore: docs fix 2024-11-13 08:09:03 -07:00
Andrew White f28ffebdac chore: ci/cd fix 2024-11-12 19:26:22 -07:00
Andrew White 42fb992439 chore: release notes fix 2024-11-12 19:14:44 -07:00
semantic-release-bot 17ab2a2fd5 chore: 9.0.0 [skip ci]
# [9.0.0](https://github.com/Finbuckle/Finbuckle.MultiTenant/compare/v8.0.0...v9.0.0) (2024-11-13)

* multitenant db factory ([#894](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/894)) ([ea216ff](ea216ffb37))

### Bug Fixes

* remove deprecated dotnet ([#891](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/891)) ([1429cbf](1429cbf0bb))

### Features

* add multitenant db factory method ([#896](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/896)) ([8728447](8728447f47))
* better tenant resolution events ([#897](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/897)) ([956ca36](956ca36670))
* dotnet 9 support ([#893](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/893)) ([4be1b88](4be1b88fb7))
* Make builds deterministic and set latest GH actions ([#889](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/889)) ([d82f89d](d82f89da2f))

### Reverts

* Revert "multitenant db factory ([#894](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/894))" ([#895](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/895)) ([0e164a8](0e164a8fec))

### BREAKING CHANGES

* `OnTenantResolved` and `OnTenantNotResolved` are no longer used. Use the `OnStrategyResolveCompleted`, `OnStoreResolveCompleted`, and `OnTenantResolveCompleted` events instead.
* `MultiTenantDbContext` constructors accepting ITenantInfo removed, use `MultiTenantDbContext.Create` factory method
* `MultiTenantDbContext` constructors accepting ITenantInfo removed, use `MultiTenantDbContext .Create` factory method instead
* net6.0 and net7.0 are no longer supported targets.
* Dotnet runtime specific dependencies now float to the latest patch version and are locked at release time with a NuGet lock file. This is a security mitigation and may break some builds not on the latest SDKs.
2024-11-13 02:08:32 +00:00
Andrew White ae42ed8c40 chore: ci fix 2024-11-12 19:06:52 -07:00
Andrew White fdf1cf6352 chore: dependency error fix 2024-11-12 18:39:57 -07:00
Andrew White 6d4ceff510
chore: update dependencies (#903) 2024-11-12 18:17:14 -07:00
Andrew White 2fc065f903
chore: remove optional param for MultiTenantDbContext.Create (#902) 2024-11-12 18:07:28 -07:00
Andrew White 8e830e1516 chore: remove slnx solution format--tooling not ready 2024-11-10 22:22:49 -07:00
Andrew White 8b478163d3
chore: event fixup (#899) 2024-11-10 21:58:59 -07:00
Andrew White 956ca36670
feat: better tenant resolution events (#897)
BREAKING CHANGE: `OnTenantResolved` and `OnTenantNotResolved` are no longer used. Use the `OnStrategyResolveCompleted`, `OnStoreResolveCompleted`, and `OnTenantResolveCompleted` events instead.
2024-11-10 16:05:06 -07:00
Andrew White 8728447f47
feat: add multitenant db factory method (#896)
Adds `MultiTenantDbContext.Create` as a factory method to create tenant instances of a multi-tenant db context.

BREAKING CHANGE: `MultiTenantDbContext` constructors accepting ITenantInfo removed, use `MultiTenantDbContext.Create` factory method
2024-11-09 10:50:34 -07:00
Andrew White 0e164a8fec
Revert "multitenant db factory (#894)" (#895)
This reverts commit ea216ffb37.
2024-11-09 10:47:05 -07:00
Andrew White ea216ffb37
multitenant db factory (#894)
feat: add MultiTenantDbContext.Create factory method

BREAKING CHANGE: `MultiTenantDbContext` constructors accepting ITenantInfo removed, use `MultiTenantDbContext .Create` factory method instead
2024-11-09 08:51:16 -07:00
Andrew White ebf6d86d68 chore: fix ci 2024-11-08 14:51:43 -07:00
Andrew White 4be1b88fb7
feat: dotnet 9 support (#893) 2024-11-01 13:18:21 -06:00
Andrew White 1429cbf0bb
fix: remove deprecated dotnet (#891)
BREAKING CHANGE: net6.0 and net7.0 are no longer supported targets.
BREAKING CHANGE: Dotnet runtime specific dependencies now float to the latest patch version and are locked at release time with a NuGet lock file. This is a security mitigation and may break some builds not on the latest SDKs.
2024-11-01 12:34:40 -06:00
Andrew White 423add59c9
chore: update release-dryrun.yml 2024-11-01 12:06:45 -06:00
Andrew White f841e8c1c7
chore: fix GitHub action 2024-11-01 12:01:12 -06:00
Andrew White b747a60ffc
chore: create release-dry run 2024-11-01 11:59:42 -06:00
Marko Lahma d82f89da2f
feat: Make builds deterministic and set latest GH actions (#889) 2024-10-17 11:51:33 -06:00
Andrew White 3b92c5e1f7 chore: docs fix 2024-10-12 15:59:07 -06:00
semantic-release-bot 2e5da2fbf7 chore: 8.0.0 [skip ci]
# [8.0.0](https://github.com/Finbuckle/Finbuckle.MultiTenant/compare/v7.0.2...v8.0.0) (2024-10-12)

* feat!: version policy update ([#888](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/888)) ([487a3a6](487a3a6d97))

### Bug Fixes

* BasePathStrategy no longer breaks the strategy chain ([#884](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/884)) ([3263eff](3263effae4))
* prevent duplicate key annotation in AdjustKey() ([#883](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/883)) ([f75ba2c](f75ba2c678))
* removed unused parameter from WithPerTenantRemoteAuthenticationConvention ([#886](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/886)) ([dd17ab5](dd17ab5182))

### Features

* add GetAllAsync() support for HttpRemoteStore ([#848](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/848)) ([4208149](4208149282))
* added the Echo Store. ([#807](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/807)) ([a3e5eee](a3e5eee64f))
* strategies return null on invalid context type ([#885](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/885)) ([9834575](9834575c95))

### BREAKING CHANGES

* This commit brings the release into alignment with the new version policy. See #887 for details.
* Included strategies for ASP.NET Core would throw an exception if the passed context was not an `HttpContext` type. Now they will return null indicating no identifier was found.
2024-10-12 21:53:18 +00:00
Andrew White 487a3a6d97
feat!: version policy update (#888)
BREAKING CHANGE: This commit brings the release into alignment with the new version policy. See #887 for details.
2024-10-12 15:49:19 -06:00
Andrew White dd17ab5182
fix: removed unused parameter from WithPerTenantRemoteAuthenticationConvention (#886) 2024-10-12 15:03:36 -06:00
Andrew White 9834575c95
feat: strategies return null on invalid context type (#885)
BREAKING CHANGE: Included strategies for ASP.NET Core would throw an exception if the passed context was not an `HttpContext` type. Now they will return null indicating no identifier was found.
2024-10-12 14:57:36 -06:00
Andrew White 3263effae4
fix: BasePathStrategy no longer breaks the strategy chain (#884) 2024-10-12 14:25:04 -06:00
Andrew White f75ba2c678
fix: prevent duplicate key annotation in AdjustKey() (#883) 2024-10-12 14:05:15 -06:00
Blake LaFleur 4208149282 feat: add GetAllAsync() support for HttpRemoteStore (#848) 2024-10-04 11:44:14 -06:00
Thijs153 a3e5eee64f
feat: added the Echo Store. (#807) 2024-10-04 11:28:45 -06:00
Andrew White a221f315e3
chore: docs fix (#872) 2024-08-18 12:25:30 -06:00
Andrew White 901ebdd4a2
chore: added auth scheme name to docs section on per tenant authentication options (#871)
Fixes #870
2024-08-18 11:32:51 -06:00
Andrew White 3d3510e180
chore: docs updates (#867) 2024-08-03 00:13:45 -06:00
Andrew White 7e3c784e84
chore: docs link fix (#866) 2024-08-03 00:04:43 -06:00
semantic-release-bot 5d02a2d3e9 chore: 7.0.2 [skip ci]
## [7.0.2](https://github.com/Finbuckle/Finbuckle.MultiTenant/compare/v7.0.1...v7.0.2) (2024-08-03)

### Bug Fixes

* Preserve annotations when adjusting index ([#832](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/832)) ([e765340](e765340a3c))
* strategy wrapper no longer throws on a null context, instead passing it to the actual strategy ([#863](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/863)) ([2b165c7](2b165c77db))
2024-08-03 05:27:10 +00:00
Andrew White 1dea695b21
chore: workflow update (#865) 2024-08-02 23:22:39 -06:00
Andrew White 1460098775
chore: fix docs formatting issue (#864) 2024-08-02 23:09:42 -06:00
Andrew White 2b165c77db
fix: strategy wrapper no longer throws on a null context, instead passing it to the actual strategy (#863) 2024-08-02 22:32:41 -06:00
Frederik Nielsen e765340a3c
fix: Preserve annotations when adjusting index (#832)
Preserve all annotations when adjusting indexes and keys.

Co-authored-by: Frederik Bjerggaard Nielsen <fbn@alicetms.dk>
2024-08-02 22:30:44 -06:00
Andrew White facf45e7ee
chore: update options docs (#826) 2024-05-12 20:32:10 -06:00
Robert Roos fd394baca7
chore: update authentication docs file
Corrections to the code examples in "Other Authentication Options" sections.
2024-05-12 20:18:25 -06:00
Andrew White 900cd52746
chore: update identity sample for v7 breaking changes (#825) 2024-05-12 20:17:17 -06:00
Andrew White 276b3d7fd0
chore: update data isolation docs (#821) 2024-04-30 21:50:58 -06:00
Andrew White 3682e48762 chore: workflow update 2024-04-28 16:22:07 -06:00
semantic-release-bot fea96857b7 chore: 7.0.1 [skip ci]
## [7.0.1](https://github.com/Finbuckle/Finbuckle.MultiTenant/compare/v7.0.0...v7.0.1) (2024-04-28)

### Bug Fixes

* only throw exception in EnforceMultiTenant for null tenant if there are entity changes. ([#819](https://github.com/Finbuckle/Finbuckle.MultiTenant/issues/819)) ([ca9e9fd](ca9e9fd9a5))
2024-04-28 17:41:31 +00:00
Andrew White 941758723c chore: workflow updates 2024-04-28 11:37:26 -06:00