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

[25.3] Get rid of allowedsecretslist from app KV #2969

Closed
wants to merge 91 commits into from

Conversation

WaelAbuSeada
Copy link
Member

@WaelAbuSeada WaelAbuSeada commented Feb 14, 2025

Get rid of allowedsecretslist from app KV

Fixes #

[AB#544481]

aholstrup1 and others added 30 commits August 28, 2024 19:58
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
New Version number 25.1

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Related to
[AB#545842](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/545842)

Co-authored-by: aholstrup1 <[email protected]>
This PR contains the following changes:
- Update BCArtifact version. New value: 25.1.23411.0


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

---------

Co-authored-by: aholstrup1 <[email protected]>
Co-authored-by: Alexander Holstrup <[email protected]>
Fixes a caption on the profiler schedule card as it was incorrect, due
to an overeager copilot and a less than careful eye of the author of
this PR.

Work Item(s)
Fixes
[AB#547281](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/547281)

Co-authored-by: Sotiris Dragonas <[email protected]>
…629 (+ 1 more update(s)) (#1943)

This PR contains the following changes:
- Update app baselines package version. New value: 25.0.23364.23629
- Update translation package version. New value: 25.1.20240902.2


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: aholstrup1 <[email protected]>
…eview - 9308ffb724a39179ea32dd55c838f176903a2a5c (#1968)

## preview

Note that when using the preview version of AL-Go for GitHub, we
recommend you Update your AL-Go system files, as soon as possible when
informed that an update is available.

### Issues

- Issue 1184 Publish to Environment fails on 'Permission Denied'

Fixes
[AB#420000](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/420000)

Co-authored-by: bcbuild-github-agent <[email protected]>
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
Fixes the following bugs:
- Installed column on the AppSource Apps list page is only set after
clicking on record.
- Bad formatting of currencies in the AppSource card page.
- Extension Installation page is not closed after (un)successful
installation.
- Error when opening AppSource list page OnPrem.

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#547459](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/547459)

---------

Co-authored-by: Steffen Balslev <[email protected]>
…971 (+ 1 more update(s)) (#1985)

This PR contains the following changes:
- Update app baselines package version. New value: 25.0.23364.23971
- Update translation package version. New value: 25.1.20240905.2


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: aholstrup1 <[email protected]>
…media (#1992)

<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->

port from #1990

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#548339](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/548339)
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->

Port from #2001

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#548455](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/548455)
…eview - ff5817559912b8a13b51c09368f01a623acd2082 (#2009)

## preview

Note that when using the preview version of AL-Go for GitHub, we
recommend you Update your AL-Go system files, as soon as possible when
informed that an update is available.

### Issues

- Issue 1184 Publish to Environment fails on 'Permission Denied'

### Allow GitHubRunner and GitHubRunnerShell as project settings

Previously, AL-Go required the GitHubRunner and GitHubRunnerShell
settings to be set on repository level. This has now been changed such
that they can be set on project level.

Fixes
[AB#420000](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/420000)

Co-authored-by: bcbuild-github-agent <[email protected]>
…269 (+ 1 more update(s)) (#2040)

This PR contains the following changes:
- Update app baselines package version. New value: 25.0.23364.24269
- Update translation package version. New value: 25.1.20240917.3


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: aholstrup1 <[email protected]>
#### Summary
Porting the main fix
1. Add a new procedure overload that allows checking of another AppId's
capability if it is enabled.
2. Update the GetCopilotCapabilityStatus subscriber with silent
parameter.

#### Work Item(s) 
Fixes
[AB#548376](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/548376)

Co-authored-by: Darrick <[email protected]>
#### Summary Fix wrong telemetry on the Page Summary Provider

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#549212](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/549212)
This pull request backports #1973 to releases/25.x

Fixes
[AB#548787](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/548787)

Co-authored-by: Maria Zhelezova <[email protected]>
Co-authored-by: Alexander Holstrup <[email protected]>
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md -->
#### Summary <!-- Provide a general summary of your changes -->
Until now, the Power BI add-in did not support specifying a locale. We
are adding that support.

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#549136](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/549136)
…m MAIN branch. (#2060)

<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
Backporting all changes from the MAIN version and enabling the feature.

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes #659
Fixes
[AB#503148](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/503148)
…ses `en… (#2075)

… dash` instead of `em dash` (#2032)

<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md -->
#### Summary <!-- Provide a general summary of your changes -->
Apparently in the Norwegian translation and maybe other places captions
use `en dash` instead of the traditional `em dash` , I'm not sure if
this is on purpose but it does make our integrations a little more
complicated to do nicely, e.g. now I will make sure we support it in
Edit In Excel, but we could easily have other integrations that breaks
on this or will have in the future.

Can see the following two screenshots where the first line is using `em
dash` and the second line is using `en dash`, where the `en dash` is
encoded and the `em dash` is removed.
Code:


![image](https://github.com/user-attachments/assets/ea84e70d-66ee-46e6-b031-8dde21471b4b)
Result:


![image](https://github.com/user-attachments/assets/506dc9da-fc6d-46b3-aa43-ea47aded264d)


#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes

[AB#548471](https://dynamicssmb2.visualstudio.com/Dynamics%20SMB/_workitems/edit/548471/)

<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->

[AB#550129](https://dynamicssmb2.visualstudio.com/Dynamics%20SMB/_workitems/edit/550129/)
…593 (+ 1 more update(s)) (#2080)

This PR contains the following changes:
- Update app baselines package version. New value: 25.0.23364.24593
- Update translation package version. New value: 25.1.20240918.4


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: aholstrup1 <[email protected]>
…eview - becb26e1f895fb75145bbc10535afb19c09bff5c (#2097)

## preview

Note that when using the preview version of AL-Go for GitHub, we
recommend you Update your AL-Go system files, as soon as possible when
informed that an update is available.

### Issues

- Issue 1184 Publish to Environment fails on 'Permission Denied'

### New Settings

- `deliverTo<deliverytarget>` now has an additional property called
`ContinuousDelivery`, indicating whether or not to run continuous
delivery to this deliveryTarget. Default is true.
- `trustMicrosoftNuGetFeeds` Unless this setting is set to false, AL-Go
for GitHub will trust the NuGet feeds provided by Microsoft. The feeds
provided by Microsoft contains all Microsoft apps, all Microsoft symbols
and symbols for all AppSource apps.
- `trustedNuGetFeeds` - can be an array of NuGet feed specifications,
which AL-Go for GitHub will use for dependency resolution. Every feed
specification must include a URL property and can optionally include a
few other properties:
- url - The URL of the feed (examples:
https://pkgs.dev.azure.com/myorg/apps/\_packaging/myrepo/nuget/v3/index.json
or https://nuget.pkg.github.com/mygithuborg/index.json").
- patterns - AL-Go for GitHub will only trust packages, where the ID
matches this pattern. Default is all packages (\*).
- fingerprints - If specified, AL-Go for GitHub will only trust packages
signed with a certificate with a fingerprint matching one of the
fingerprints in this array.
- authTokenSecret - If the NuGet feed specified by URL is private, the
authTokenSecret must be the name of a secret containing the
authentication token with permissions to search and read packages from
the NuGet feed.

### Support for delivering to GitHub Packages and NuGet

With this release the implementation for delivering to NuGet packages
(by adding the NuGetContext secret), is similar to the functionality
behind delivering to GitHub packages and the implementation is no longer
in preview.

### Allow GitHubRunner and GitHubRunnerShell as project settings

Previously, AL-Go required the GitHubRunner and GitHubRunnerShell
settings to be set on repository level. This has now been changed such
that they can be set on project level.

Fixes
[AB#420000](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/420000)

Co-authored-by: bcbuild-github-agent <[email protected]>
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
Improve telemetry logging for troubleshooting.

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#548561](https://dynamicssmb2.visualstudio.com/Dynamics%20SMB/_workitems/edit/548561)
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
**Problem**
When any of the sublists returned by `SplitListIntoSubLists` are empty,
then the filter set on `Tenant Media` and `Tenant Media Set` is empty,
causing all media to be deleted.

**Solution**
Only delete `Tenant Media` and `Tenant Media Set` when a filter is set
on the record.

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#550960](https://dynamicssmb2.visualstudio.com/Dynamics%20SMB/_workitems/edit/550960)
…907 (+ 1 more update(s)) (#2135)

This PR contains the following changes:
- Update app baselines package version. New value: 25.0.23364.24907
- Update translation package version. New value: 25.1.20240926.2


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: aholstrup1 <[email protected]>
…eview - aae02ad59c6f4cd9d551a613b1d230d93e5a3098 (#2158)

## v6.0

### Issues

- Issue 1184 Publish to Environment fails on 'Permission Denied'
- AL Language extension in 25.0 doesn't contain the linux executable,
use dotnet to invoke the dll instead.

### New Settings

- `deliverTo<deliverytarget>` now has an additional property called
`ContinuousDelivery`, indicating whether or not to run continuous
delivery to this deliveryTarget. Default is true.
- `trustMicrosoftNuGetFeeds` Unless this setting is set to false, AL-Go
for GitHub will trust the NuGet feeds provided by Microsoft. The feeds
provided by Microsoft contains all Microsoft apps, all Microsoft symbols
and symbols for all AppSource apps.
- `trustedNuGetFeeds` - can be an array of NuGet feed specifications,
which AL-Go for GitHub will use for dependency resolution. Every feed
specification must include a URL property and can optionally include a
few other properties:
- url - The URL of the feed (examples:
https://pkgs.dev.azure.com/myorg/apps/\_packaging/myrepo/nuget/v3/index.json
or https://nuget.pkg.github.com/mygithuborg/index.json").
- patterns - AL-Go for GitHub will only trust packages, where the ID
matches this pattern. Default is all packages (\*).
- fingerprints - If specified, AL-Go for GitHub will only trust packages
signed with a certificate with a fingerprint matching one of the
fingerprints in this array.
- authTokenSecret - If the NuGet feed specified by URL is private, the
authTokenSecret must be the name of a secret containing the
authentication token with permissions to search and read packages from
the NuGet feed.

### Support for delivering to GitHub Packages and NuGet

With this release the implementation for delivering to NuGet packages
(by adding the NuGetContext secret), is similar to the functionality
behind delivering to GitHub packages and the implementation is no longer
in preview.

### Allow GitHubRunner and GitHubRunnerShell as project settings

Previously, AL-Go required the GitHubRunner and GitHubRunnerShell
settings to be set on repository level. This has now been changed such
that they can be set on project level.

Fixes
[AB#420000](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/420000)

Co-authored-by: bcbuild-github-agent <[email protected]>
…217 (#2170)

This PR contains the following changes:
- Update app baselines package version. New value: 25.0.23364.25217


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: aholstrup1 <[email protected]>
…488 (#2199)

This PR contains the following changes:
- Update app baselines package version. New value: 25.0.23364.25488


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: aholstrup1 <[email protected]>
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
 The PR intents to fix misc typos or smaller Purview category bugs.

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#555028](https://dynamicssmb2.visualstudio.com/Dynamics%20SMB/_workitems/edit/555028)
msft-sam and others added 17 commits January 8, 2025 15:42
#### Summary
List specific application families to use for the chat capability.

#### Work Item(s)
Fixes
[AB#502565](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/502565)
…eview - 044c659dce8d72c3f1750a55dd7792c4db0a0a56 / Related to AB#539394 (#2715)

## preview

Note that when using the preview version of AL-Go for GitHub, we
recommend you Update your AL-Go system files, as soon as possible when
informed that an update is available.

### Deprecations

- `cleanModePreprocessorSymbols` will be removed after April 1st 2025.
Use [Conditional
Settings](https://aka.ms/algosettings#conditional-settings) instead,
specifying buildModes and the `preprocessorSymbols` setting. Read
[this](https://aka.ms/algodeprecations#cleanModePreprocessorSymbols) for
more information.

### Issues

- It is now possible to skip the modification of dependency version
numbers when running the Increment Version number workflow or the Create
Release workflow

### New Repository Settings

-
[`shortLivedArtifactsRetentionDays`](https://aka.ms/algosettings#shortLivedArtifactsRetentionDays)
determines the number of days to keep short lived build artifacts (f.ex
build artifacts from pull request builds, next minor or next major
builds). 1 is default. 0 means use GitHub default.
-
[`preProcessorSymbols`](https://aka.ms/algosettings#preProcessorSymbols)
is a list of preprocessor symbols to use when building the apps. This
setting can be specified in [workflow specific settings
files](https://aka.ms/algosettings#where-are-the-settings-located) or in
[conditional
settings](https://aka.ms/algosettings#conditional-settings).

### New Versioning Strategy

Setting versioning strategy to 3 will allow 3 segments of the version
number to be defined in app.json and repoVersion. Only the 4th segment
(Revision) will be defined by the GitHub
[run_number](https://go.microsoft.com/fwlink/?linkid=2217416&clcid=0x409)
for the CI/CD workflow. Increment version number and Create Release now
also supports the ability to set a third segment to the RepoVersion and
appversion in app.json.

### Change in published artifacts

When using `useProjectDependencies` in a multi-project repository, AL-Go
for GitHub used to generate short lived build artifacts called
`thisBuild-<projectnaame>-<type>-...`. This is no longer the case.
Instead, normal build artifacts will be published and used by depending
projects. The retention period for the short lived artifacts generated
are controlled by a settings called
[`shortLivedArtifactsRetentionDays`](https://aka.ms/algosettings#shortLivedArtifactsRetentionDays).

### Preprocessor symbols

It is now possible to define preprocessor symbols, which will be used
when building your apps using the
[`preProcessorSymbols`](https://aka.ms/algosettings#preProcessorSymbols)
setting. This setting can be specified in workflow specific settings
file or it can be used in conditional settings.

Related to
[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: bcbuild-github-agent <[email protected]>
…869 (+ 1 more update(s)) (#2750)

This PR contains the following changes:
- Update app baselines package version. New value: 25.2.27733.28869
- Update translation package version. New value: 25.3.20250109.2


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: aholstrup1 <[email protected]>
…eview - 764fc413d9ab5b31265377c8422a71163b464db6 / Related to AB#539394 (#2778)

No release notes available!
Related to
[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: bcbuild-github-agent <[email protected]>
…140 (#2793)

This PR contains the following changes:
- Update app baselines package version. New value: 25.2.27733.29140


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: aholstrup1 <[email protected]>
…eview - 52b990dc650f1be8736a804faebd2b5567e77e09 / Related to AB#539394 (#2815)

No release notes available!
Related to
[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: bcbuild-github-agent <[email protected]>
…/base/latest (#2832)

This PR contains the following changes:
- Update BCArtifact version. New value:
bcartifacts/Sandbox/25.3/base/latest


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: mazhelez <[email protected]>
…eview - b608fc6787759aaac18f1407750c3436b6553b88 / Related to AB#539394 (#2822)

## v6.3

### Deprecations

- `cleanModePreprocessorSymbols` will be removed after April 1st 2025.
Use [Conditional
Settings](https://aka.ms/algosettings#conditional-settings) instead,
specifying buildModes and the `preprocessorSymbols` setting. Read
[this](https://aka.ms/algodeprecations#cleanModePreprocessorSymbols) for
more information.

### Issues

- It is now possible to skip the modification of dependency version
numbers when running the Increment Version number workflow or the Create
Release workflow

### New Repository Settings

-
[`shortLivedArtifactsRetentionDays`](https://aka.ms/algosettings#shortLivedArtifactsRetentionDays)
determines the number of days to keep short lived build artifacts (f.ex
build artifacts from pull request builds, next minor or next major
builds). 1 is default. 0 means use GitHub default.
-
[`preProcessorSymbols`](https://aka.ms/algosettings#preProcessorSymbols)
is a list of preprocessor symbols to use when building the apps. This
setting can be specified in [workflow specific settings
files](https://aka.ms/algosettings#where-are-the-settings-located) or in
[conditional
settings](https://aka.ms/algosettings#conditional-settings).

### New Versioning Strategy

Setting versioning strategy to 3 will allow 3 segments of the version
number to be defined in app.json and repoVersion. Only the 4th segment
(Revision) will be defined by the GitHub
[run_number](https://go.microsoft.com/fwlink/?linkid=2217416&clcid=0x409)
for the CI/CD workflow. Increment version number and Create Release now
also supports the ability to set a third segment to the RepoVersion and
appversion in app.json.

### Change in published artifacts

When using `useProjectDependencies` in a multi-project repository, AL-Go
for GitHub used to generate short lived build artifacts called
`thisBuild-<projectnaame>-<type>-...`. This is no longer the case.
Instead, normal build artifacts will be published and used by depending
projects. The retention period for the short lived artifacts generated
are controlled by a settings called
[`shortLivedArtifactsRetentionDays`](https://aka.ms/algosettings#shortLivedArtifactsRetentionDays).

### Preprocessor symbols

It is now possible to define preprocessor symbols, which will be used
when building your apps using the
[`preProcessorSymbols`](https://aka.ms/algosettings#preProcessorSymbols)
setting. This setting can be specified in workflow specific settings
file or it can be used in conditional settings.

Related to
[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: bcbuild-github-agent <[email protected]>
<!-- Thank you for submitting a Pull Request. If you're new to
contributing to BCApps please read our pull request guideline below
* https://github.com/microsoft/BCApps/Contributing.md
-->
#### Summary <!-- Provide a general summary of your changes -->
Backport of #2723 and #2781

#### Work Item(s) <!-- Add the issue number here after the #. The issue
needs to be open and approved. Submitting PRs with no linked issues or
unapproved issues is highly discouraged. -->
Fixes
[AB#563283](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/563283)
…449 (#2857)

This PR contains the following changes:
- Update app baselines package version. New value: 25.2.27733.29449


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: aholstrup1 <[email protected]>
…716 (#2880)

This PR contains the following changes:
- Update app baselines package version. New value: 25.2.27733.29716


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: aholstrup1 <[email protected]>
…956 (#2912)

This PR contains the following changes:
- Update app baselines package version. New value: 25.2.27733.29956


[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: aholstrup1 <[email protected]>
…eview - b637e79b7209c4b6e42696e1efdb066a0a25f3fb / Related to AB#539394 (#2932)

## preview

Note that when using the preview version of AL-Go for GitHub, we
recommend you Update your AL-Go system files, as soon as possible when
informed that an update is available.

### Support for GitHub App authentication

AL-Go for GitHub now supports using a GitHub App specification as the
GhTokenWorkflow secret for a more secure way of allowing repositories to
run Update AL-Go System Files and other workflows which are creating
commits and pull requests. See [this
description](https://github.com/microsoft/AL-Go/blob/main/Scenarios/GhTokenWorkflow.md)
to learn how to use GitHub App authentication.

### Support for embedded secrets in installApps and installTestApps
settings

If your installApps or installTestApps are secure URL, containing a
secret token, you can now use a GitHub secret specification as part of
or as the full URL of apps to install. An example could be:

`"installApps": [ "https://www.dropbox.com/${{SECRETNAME}}&dl=1" ]`

Which would hide the secret part of your URL instead of exposing it in
clear text.

Related to
[AB#539394](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/539394)

Co-authored-by: bcbuild-github-agent <[email protected]>
@WaelAbuSeada WaelAbuSeada requested review from a team as code owners February 14, 2025 18:56
@github-actions github-actions bot added Build: Automation Workflows and other setup in .github folder AL: System Application Build: scripts & configs Build scripts and configuration files AL: Tools AL: Business Foundation labels Feb 14, 2025
@github-actions github-actions bot added this to the Version 26.0 milestone Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AL: Business Foundation AL: System Application AL: Tools Build: Automation Workflows and other setup in .github folder Build: scripts & configs Build scripts and configuration files
Projects
None yet
Development

Successfully merging this pull request may close these issues.