diff --git a/CHANGELOG.md b/CHANGELOG.md index f28bd1e..c70df0b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), ## [Unreleased] ### Added - Draft section for upcoming fixes and features. + +## [1.0.1] - 2026-01-22 +### Fixed +- Removed the requirement for `acuMate.tenant`, allowing single-tenant Acumatica instances to leave the setting empty without blocking backend-powered features. ## [1.0.0] - 2026-01-20 ### Added diff --git a/acumate-plugin/package.json b/acumate-plugin/package.json index 66e028d..87377c4 100644 --- a/acumate-plugin/package.json +++ b/acumate-plugin/package.json @@ -5,7 +5,7 @@ "repository": "https://github.com/Acumatica/AcuMate/", "publisher": "acumatica", "icon": "images/acumatica.png", - "version": "1.0.0", + "version": "1.0.1", "engines": { "vscode": "^1.54.0" }, @@ -37,7 +37,7 @@ }, "acuMate.tenant": { "type": "string", - "description": "Tenant to use." + "description": "Tenant to use (leave empty for single-tenant sites)." }, "acuMate.useCache": { "type": "boolean", diff --git a/acumate-plugin/readme.md b/acumate-plugin/readme.md index 6e93dd9..f3c64ff 100644 --- a/acumate-plugin/readme.md +++ b/acumate-plugin/readme.md @@ -15,7 +15,7 @@ The AcuMate extension provides a range of settings to configure its behavior. Ea | `acuMate.backendUrl` | `string` | `http://localhost` | This is the URL for the backend. | | `acuMate.login` | `string` | `admin` | Login credential to the backend. | | `acuMate.password` | `string` | `123` | Password for the backend. | -| `acuMate.tenant` | `string` | `""` | Specifies the tenant to use. | +| `acuMate.tenant` | `string` | `""` | Specifies the tenant to use; leave empty for single-tenant sites. | | `acuMate.useCache` | `boolean` | `true` | Enables caching of server responses. | | `acuMate.useBackend` | `boolean` | `true` | Enables the use of the backend for the plugin. Disabling this may cause some features to stop working. | | `acuMate.usePrettier` | `boolean` | `true` | Applies Prettier formatting to generated files. | diff --git a/acumate-plugin/src/api/api-service.ts b/acumate-plugin/src/api/api-service.ts index ad1664d..29f6f81 100644 --- a/acumate-plugin/src/api/api-service.ts +++ b/acumate-plugin/src/api/api-service.ts @@ -44,7 +44,7 @@ export class AcuMateApiClient implements IAcuMateApiClient { const data = { "name" : AcuMateContext.ConfigurationService.login, "password" : AcuMateContext.ConfigurationService.password, - "tenant" : AcuMateContext.ConfigurationService.tenant + "tenant" : AcuMateContext.ConfigurationService.tenant?.trim() || undefined }; const response = await fetch(AcuMateContext.ConfigurationService.backedUrl!+AuthEndpoint, { method:'POST', diff --git a/acumate-plugin/src/extension.ts b/acumate-plugin/src/extension.ts index 892f5f8..158fa61 100644 --- a/acumate-plugin/src/extension.ts +++ b/acumate-plugin/src/extension.ts @@ -50,9 +50,6 @@ function reportBackendConfigurationState() { if (!AcuMateContext.ConfigurationService.password?.trim()) { missing.push('acuMate.password'); } - if (!AcuMateContext.ConfigurationService.tenant?.trim()) { - missing.push('acuMate.tenant'); - } if (missing.length) { const warning = `AcuMate backend is enabled but missing required settings: ${missing.join(', ')}`;