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

Chore: Release 10.4.0 #3283

Merged
merged 33 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from 29 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
419725c
Chore: update to 9.7.0 (#3044)
thewahome Mar 15, 2024
464ae59
Chore(deps): Bump follow-redirects from 1.15.0 to 1.15.6 (#3058)
dependabot[bot] Mar 20, 2024
5e9c4e2
Fix: Resource path causing app to crash (#3053)
ElinorW Mar 21, 2024
151f34a
Fix: [autocomplete] show dollar sign paths (#3052)
thewahome Mar 25, 2024
53c97bb
Fix: Canary urls crashing (#3062)
ElinorW Mar 26, 2024
d88a4f8
Chore: Update to 9.8.0 (#3067)
ElinorW Mar 27, 2024
f3e73d6
Fix: Dependabot upgrades - March (#3061)
ElinorW Apr 24, 2024
a84d7a4
Feature: support text csv (#3123)
thewahome Apr 29, 2024
38c3849
Fix: malformed json error (#3107)
thewahome Apr 30, 2024
d2fb7f5
Chore: Update to 10.0.0 (#3147)
thewahome May 15, 2024
5d4e874
Chore: app migration with feature flags (#3144)
thewahome May 15, 2024
7695bca
Chore: Update 10.1.0 (#3149)
thewahome May 27, 2024
499a107
refactor: use strong types in authentication module (#3164)
musale Jun 7, 2024
42599d7
Chore: Dependabot upgrades - April (#3124)
thewahome Jun 7, 2024
7c4ee1d
fix: remove character escape in json response formatting (#3163)
musale Jun 7, 2024
b2dcd19
Fix: add parameters to token request (#3218)
thewahome Jun 18, 2024
552a2cb
Chore: Update to 10.2.0 (#3220)
thewahome Jun 19, 2024
072f4e6
Fix: Monaco 404 errors (#3222)
ElinorW Jun 19, 2024
6e4266c
Chore: Update to 10.2.1 (#3224)
ElinorW Jul 3, 2024
d46a9f3
Fix: move getting resource version children to a function (#3244)
musale Jul 9, 2024
a7e142b
Fix: monaco errors (#3251)
thewahome Jul 15, 2024
5800f71
Chore: Update 10.3.0 (#3254)
thewahome Jul 25, 2024
676e113
Chore: onboard repository to release repository (#3097)
Mnickii Aug 7, 2024
b366636
Task: use redux toolkit (#3186)
thewahome Aug 7, 2024
6494f67
chore: update the versions used in GitHub action workflows (#3278)
musale Aug 7, 2024
09e272f
Task: basic markdown messages (#3280)
thewahome Aug 13, 2024
ea2af4a
Bump version to 10.4.0
invalid-email-address Aug 19, 2024
d7a0bbe
Merge branch 'master' into release/10.4.0
thewahome Aug 19, 2024
5257e29
Update bot to add items to Graph SDKs project (#3281)
andrueastman Aug 21, 2024
0058b6b
guard against data being null or undefined
thewahome Aug 21, 2024
248d7f3
Merge branch 'dev' into release/10.4.0
ElinorW Aug 26, 2024
059fc1a
ensure resourcesToUse is defined
thewahome Aug 26, 2024
7ab45d5
remove unrequired carets
thewahome Aug 26, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -64,7 +64,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -77,6 +77,6 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
6 changes: 3 additions & 3 deletions .github/workflows/cut-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ jobs:
if: ${{ github.event.inputs.release-type != 'major' && github.event.inputs.release-type != 'minor' && github.event.inputs.release-type != 'patch' }}

- name: Checkout dev for ${{ github.event.inputs.release-type }} release
uses: actions/checkout@v2
uses: actions/checkout@v4
if: ${{ github.event.inputs.release-type == 'major' || github.event.inputs.release-type == 'minor' }}
with:
ref: dev

- name: Checkout master for ${{ github.event.inputs.release-type }} release
uses: actions/checkout@v2
uses: actions/checkout@v4
if: ${{ github.event.inputs.release-type == 'patch' }}
with:
ref: master

- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Create release branch and generate PR body
id: create-release
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/english-file-transfer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set current date as env variable
run: echo "today=$(date +%Y%m%d%H%M)" >> $GITHUB_ENV
Expand Down
48 changes: 25 additions & 23 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'

- name: Cache npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: npm-

- name: Cache node_modules
uses: actions/cache@v3
uses: actions/cache@v4
id: cache-node-modules
with:
path: |
Expand All @@ -57,17 +57,17 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'

- name: Cache node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
node_modules
Expand All @@ -84,15 +84,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'

- name: Cache node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
node_modules
Expand All @@ -114,15 +114,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '18.x'

- name: Cache node_modules
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
node_modules
Expand All @@ -139,9 +139,9 @@ jobs:

- run: cp reports/test-report.xml coverage/${{matrix.shard}}.xml

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: coverage-artifacts
name: coverage-${{ matrix.shard }}-artifacts
path: coverage/

sonar-cloud:
Expand All @@ -150,14 +150,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: coverage-artifacts
path: coverage
pattern: coverage-*
merge-multiple: true

- name: Run sonar cloud analysis
uses: SonarSource/sonarcloud-github-action@master
Expand All @@ -174,7 +175,7 @@ jobs:
static_web_app_url: ${{ steps.builddeploy.outputs.static_web_app_url }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build And Deploy
env:
Expand All @@ -185,17 +186,18 @@ jobs:
REACT_APP_NOMINATION_PERIOD: ${{secrets.REACT_APP_NOMINATION_PERIOD}}
REACT_APP_COOLDOWN_PERIOD: ${{secrets.REACT_APP_COOLDOWN_PERIOD}}
REACT_APP_USAGE_TIME: ${{secrets.REACT_APP_USAGE_TIME}}
REACT_APP_DEVX_API_URL: ${{secrets.REACT_APP_DEVX_API_URL}}
REACT_APP_MIGRATION_PARAMETER: ${{secrets.REACT_APP_MIGRATION_PARAMETER}}
SKIP_DEPLOY_ON_MISSING_SECRETS: true
CI: false
id: builddeploy
uses: Azure/static-web-apps-deploy@v0.0.1-preview
uses: Azure/static-web-apps-deploy@v1
with:
skip_deploy_on_missing_secrets: true
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_JOLLY_SAND_0AC78C710 }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
action: 'upload'
app_location: '/' # App source code path
app_artifact_location: 'build' # Built app content directory - optional
output_location: 'build' # Built app content directory - optional

- name: Set url
run: |
Expand All @@ -209,7 +211,7 @@ jobs:
steps:
- name: Close Pull Request
id: closepullrequest
uses: Azure/static-web-apps-deploy@v0.0.1-preview
uses: Azure/static-web-apps-deploy@v1
with:
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_JOLLY_SAND_0AC78C710 }}
action: 'close'
27 changes: 26 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ resources:
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
- repository: ReleasePipelines
type: git
name: "Graph Developer Experiences/release-pipelines"

extends:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
Expand All @@ -71,6 +74,12 @@ extends:
name: Azure-Pipelines-1ESPT-ExDShared
image: windows-latest
os: windows

sdl:
sourceRepositoriesToScan:
exclude:
- repository: ReleasePipelines

customBuildTags:
- ES365AIMigrationTooling

Expand Down Expand Up @@ -190,6 +199,7 @@ extends:
REACT_APP_NOMINATION_PERIOD: $(REACT_APP_NOMINATION_PERIOD)
REACT_APP_COOLDOWN_PERIOD: $(REACT_APP_COOLDOWN_PERIOD)
REACT_APP_USAGE_TIME: $(REACT_APP_USAGE_TIME)
REACT_APP_DEVX_API_URL: $(REACT_APP_DEVX_API_URL)
REACT_APP_MIGRATION_PARAMETER: $(REACT_APP_MIGRATION_PARAMETER)
displayName: "Build static assets for staging"

Expand All @@ -216,6 +226,7 @@ extends:
REACT_APP_NOMINATION_PERIOD: $(REACT_APP_NOMINATION_PERIOD)
REACT_APP_COOLDOWN_PERIOD: $(REACT_APP_COOLDOWN_PERIOD)
REACT_APP_USAGE_TIME: $(REACT_APP_USAGE_TIME)
REACT_APP_DEVX_API_URL: $(REACT_APP_DEVX_API_URL)
REACT_APP_MIGRATION_PARAMETER: $(REACT_APP_MIGRATION_PARAMETER)
displayName: "Build static assets for prod"

Expand Down Expand Up @@ -252,6 +263,14 @@ extends:
contents: node_modules
displayName: "Delete node_modules"

- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.ArtifactStagingDirectory)/build'
includeRootFolder: false
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/build/graph-explorer.zip'
replaceExistingArchive: true

templateContext:
outputs:
- output: pipelineArtifact
Expand All @@ -261,4 +280,10 @@ extends:
- output: pipelineArtifact
displayName: 'Publish Artifact: drop'
targetPath: "$(build.ArtifactStagingDirectory)/build"
artifactName: drop
artifactName: drop

- template: pipelines/templates/checkout-and-copy-1es.yml@ReleasePipelines
parameters:
directory: 'microsoft-graph-explorer-v4'
repoName: ReleasePipelines
dependsOn: ['Three']
Loading
Loading