Skip to content

Commit 2c99811

Browse files
committed
Rename appId to clientId and bump version to 1.2.0
- Rename `appId` → `clientId` across config, CLI args, and API - Bump changelog to 1.2.0
1 parent 372e8eb commit 2c99811

7 files changed

Lines changed: 30 additions & 27 deletions

File tree

.github/workflows/release.yml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,3 @@ jobs:
3333
uses: softprops/action-gh-release@v2
3434
with:
3535
files: bin/*.zip
36-
generate-release-notes: true
37-
body: |
38-
> [!NOTE]
39-
> The release zip is built and signed via GitHub Actions.
40-
>
41-
> Verify with the [GitHub CLI](https://cli.github.com/):
42-
> `gh attestation verify --repo Mosh-K/XrmTypeScript <XrmTypeScript-vX.X.X-bin.zip>`

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Changelog
22

3-
## [Unreleased]
3+
## [1.2.0] - 2026-04-14
44
### Changed
55
- `TabUnion` and `QuickFormUnion` type aliases replaced with `TabMap` and `QuickFormMap` interfaces, mapping names to their typed counterparts (consistent with `AttributeMap` and `ControlMap`)
6+
- Renamed `appId` config key and parameter to `clientId` for clarity
67

78
## [1.1.0] - 2026-04-13
89
### Changed
@@ -23,5 +24,6 @@
2324
### Added
2425
- Initial public release
2526

27+
[1.2.0]: https://github.com/Mosh-K/XrmTypeScript/releases/tag/v1.2.0
2628
[1.1.0]: https://github.com/Mosh-K/XrmTypeScript/releases/tag/v1.1.0
2729
[1.0.0]: https://github.com/Mosh-K/XrmTypeScript/releases/tag/v1.0.0

README.md

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,28 @@ in PCF components, or in external TypeScript/JavaScript projects.
1616
## Getting Started
1717

1818
1. Download and unzip the latest release from [GitHub Releases](https://github.com/Mosh-K/XrmTypeScript/releases)
19+
20+
> You can verify the build attestation with the [GitHub CLI](https://cli.github.com/): `gh attestation verify --repo Mosh-K/XrmTypeScript XrmTypeScript-vX.X.X-bin.zip`
21+
22+
&nbsp;
23+
1924
2. Edit `XrmTypeScript.exe.config` with your environment details:
2025

2126
```xml
22-
<appSettings>
23-
<add key="url" value="https://INSTANCE.crm4.dynamics.com" />
24-
<add key="method" value="ClientSecret" />
25-
<add key="appId" value="YOUR_APP_ID" />
26-
<add key="clientSecret" value="YOUR_CLIENT_SECRET" />
27-
28-
<add key="out" value="../typings/XRM" />
29-
<add key="solutions" value="" />
30-
<add key="entities" value="account, contact" />
31-
<add key="web" value="true" />
32-
</appSettings>
27+
<?xml version="1.0" encoding="utf-8"?>
28+
<configuration>
29+
<appSettings>
30+
<add key="url" value="https://INSTANCE.crm4.dynamics.com" />
31+
<add key="method" value="ClientSecret" />
32+
<add key="clientId" value="YOUR_CLIENT_ID" />
33+
<add key="clientSecret" value="YOUR_CLIENT_SECRET" />
34+
35+
<add key="out" value="../typings/XRM" />
36+
<add key="solutions" value="" />
37+
<add key="entities" value="account, contact" />
38+
<add key="web" value="true" />
39+
</appSettings>
40+
</configuration>
3341
```
3442

3543
3. Run `XrmTypeScript.exe`
@@ -223,7 +231,7 @@ Arguments can be passed via the `XrmTypeScript.exe.config` file or directly from
223231
| :--------------- | :--------- | :------------------------------------------- |
224232
| url | | URL to the organization |
225233
| method | m | OAuth, ClientSecret or ConnectionString |
226-
| appId | id | Azure Application Id |
234+
| clientId | id | Azure Application Id |
227235
| clientSecret | cs | Client secret for the Azure Application |
228236
| returnUrl | | Return URL of the Azure Application |
229237
| connectionString | | Connection String used for authentication |

files/XrmTypeScript.exe.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<appSettings>
44
<add key="url" value="https://INSTANCE.crm4.dynamics.com" />
55
<add key="method" value="ClientSecret" />
6-
<add key="appId" value="" />
6+
<add key="clientId" value="" />
77
<add key="clientSecret" value="" />
88

99
<add key="out" value="../typings/XRM" />

src/CommandLine/Arguments.fs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ type Args private () =
8787
description="Connection method"
8888
required=false }
8989

90-
{ command="appId"
90+
{ command="clientId"
9191
altCommands=["id"]
9292
description="Azure Application Id"
9393
required=false }
@@ -181,7 +181,7 @@ type Args private () =
181181

182182
// Usage
183183
static member usageString =
184-
@"Usage: XrmTypeScript.exe /url:https://INSTANCE.crm4.dynamics.com /method:ClientSecret /id:<appId> /cs:<clientSecret>"
184+
@"Usage: XrmTypeScript.exe /url:https://INSTANCE.crm4.dynamics.com /method:ClientSecret /id:<clientId> /cs:<clientSecret>"
185185

186186
static member helpArgs = [ "?"; "help"; "-h"; "-help"; "--help"; "/h"; "/help" ] |> Set.ofList
187187

@@ -194,7 +194,7 @@ type Args private () =
194194
config.AllKeys |> Array.iter config.Remove
195195
config.Add("url", "https://INSTANCE.crm4.dynamics.com")
196196
config.Add("method", "ClientSecret")
197-
config.Add("appId", "")
197+
config.Add("clientId", "")
198198
config.Add("clientSecret", "")
199199
config.Add("out", "../typings/XRM")
200200
config.Add("solutions", "")

src/CommandLine/Program.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ let getXrmAuth parsedArgs =
2727
username = Map.tryFind "username" parsedArgs
2828
password = Map.tryFind "password" parsedArgs
2929
domain = Map.tryFind "domain" parsedArgs
30-
clientId = Map.tryFind "appId" parsedArgs
30+
clientId = Map.tryFind "clientId" parsedArgs
3131
returnUrl = Map.tryFind "returnUrl" parsedArgs
3232
clientSecret = Map.tryFind "clientSecret" parsedArgs
3333
connectionString = Map.tryFind "connectionString" parsedArgs

src/XrmTypeScript.fs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ type XrmTypeScript private () =
1313
(
1414
url,
1515
?method,
16-
?appId,
16+
?clientId,
1717
?clientSecret,
1818
?returnUrl,
1919
?connectionString,
@@ -37,7 +37,7 @@ type XrmTypeScript private () =
3737
let xrmAuth =
3838
{ XrmAuthSettings.url = Uri(url)
3939
method = method
40-
clientId = appId
40+
clientId = clientId
4141
clientSecret = clientSecret
4242
returnUrl = returnUrl
4343
connectionString = connectionString

0 commit comments

Comments
 (0)