Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
92d6531
Merge pull request #162 from Azure/merge-main-to-preview
zhiyuanliang-ms Feb 12, 2025
b1e57c8
Merge pull request #167 from Azure/main
zhiyuanliang-ms Feb 18, 2025
79039b6
Merge pull request #172 from Azure/main
zhiyuanliang-ms Feb 20, 2025
b5f7202
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Apr 11, 2025
3a28792
revert revert allocation id change
zhiyuanliang-ms Apr 11, 2025
1e236bb
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Apr 11, 2025
11f5e23
Merge main to preview (#180)
zhiyuanliang-ms Apr 11, 2025
b13e6d1
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Apr 14, 2025
f23045d
Merge pull request #184 from Azure/merge-main-to-preview
zhiyuanliang-ms Apr 14, 2025
1eb7aac
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Apr 29, 2025
726c112
Merge pull request #190 from Azure/merge-main-to-preview
zhiyuanliang-ms Apr 29, 2025
0a6fe1f
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms May 13, 2025
663deb6
Merge pull request #196 from Azure/merge-main-to-preview
zhiyuanliang-ms May 13, 2025
737c4c6
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Jun 3, 2025
0fb509a
Merge pull request #200 from Azure/merge-main-to-preview
zhiyuanliang-ms Jun 3, 2025
f413119
Merge pull request #202 from Azure/main
zhiyuanliang-ms Jun 5, 2025
6d1b6a1
Merge pull request #204 from Azure/main
zhiyuanliang-ms Jul 30, 2025
72fcff6
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Aug 7, 2025
8643c38
Merge pull request #209 from Azure/merge-main-to-preview
zhiyuanliang-ms Aug 7, 2025
6ceb126
unify filename (#210)
zhiyuanliang-ms Aug 18, 2025
bd0dc85
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Aug 18, 2025
49d376b
Merge pull request #211 from Azure/merge-main-to-preview
zhiyuanliang-ms Aug 19, 2025
f9c6749
Merge pull request #212 from Azure/zhiyuanliang/centralize-error-message
zhiyuanliang-ms Aug 19, 2025
80a751f
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Aug 20, 2025
995469c
Merge pull request #212 from Azure/zhiyuanliang/centralize-error-mess…
zhiyuanliang-ms Aug 20, 2025
51e1add
Merge pull request #217 from Azure/zhiyuanliang/fix-lb-test
zhiyuanliang-ms Sep 1, 2025
e956876
Add missing semicolon (#216)
zhiyuanliang-ms Sep 1, 2025
6196225
bug fix (#218)
zhiyuanliang-ms Sep 2, 2025
0777090
Update dependencies (#219)
zhiyuanliang-ms Sep 3, 2025
56665dd
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Sep 7, 2025
f880e53
update lint rule
zhiyuanliang-ms Sep 7, 2025
4682649
Merge pull request #222 from Azure/merge-main-to-preview
zhiyuanliang-ms Sep 7, 2025
a5756f9
Merge pull request #220 from Azure/zhiyuanliang/browser-vitest
zhiyuanliang-ms Sep 8, 2025
d3f95db
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Sep 8, 2025
8d29cd8
Merge branch 'preview' of https://github.com/Azure/AppConfiguration-J…
zhiyuanliang-ms Sep 8, 2025
0fd4a54
Merge pull request #220 from Azure/zhiyuanliang/browser-vitest (#224)
zhiyuanliang-ms Sep 8, 2025
0a368fe
Merge pull request #226 from Azure/dependabot/npm_and_yarn/vite-7.1.5
dependabot[bot] Sep 10, 2025
14f96fc
Bug fix: Provider should continue to refresh when previous refresh op…
zhiyuanliang-ms Sep 10, 2025
f60fd2a
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Sep 10, 2025
8f75608
Merge main to preview (#227)
zhiyuanliang-ms Sep 10, 2025
83c3e11
no longer reload watched setting when refresh all is triggered (#228)
zhiyuanliang-ms Sep 10, 2025
4121c87
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Sep 10, 2025
7ead0bc
Merge pull request #229 from Azure/merge-main-to-preview
zhiyuanliang-ms Sep 10, 2025
64f70c7
Merge pull request #230 from Azure/zhiyuanliang/refactoring
zhiyuanliang-ms Sep 26, 2025
2903f7e
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Sep 26, 2025
a31cc03
Merge pull request #231 from Azure/merge-main-to-preview
zhiyuanliang-ms Sep 26, 2025
6472475
fix filename (#233)
zhiyuanliang-ms Oct 2, 2025
701e3c7
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Oct 2, 2025
78c50b1
fix filename (#233) (#234)
zhiyuanliang-ms Oct 2, 2025
f9c6806
Bump vite from 7.1.5 to 7.1.11 (#236)
dependabot[bot] Oct 22, 2025
a9a4ab1
Bump playwright from 1.55.0 to 1.56.1 (#235)
dependabot[bot] Oct 22, 2025
7546618
fix the bug that sentinel key etag is not updaed (#237)
zhiyuanliang-ms Nov 7, 2025
6a9aa20
Merge branch 'main' of https://github.com/Azure/AppConfiguration-Java…
zhiyuanliang-ms Nov 7, 2025
a50b506
Merge pull request #238 from Azure/merge-main-to-preview
zhiyuanliang-ms Nov 7, 2025
879beee
fix format (#239)
zhiyuanliang-ms Nov 7, 2025
30e879c
Merge pull request #240 from Azure/main
zhiyuanliang-ms Nov 7, 2025
d41a80c
Fix rollup (#241)
zhiyuanliang-ms Nov 9, 2025
7b97284
Merge pull request #242 from Azure/main
zhiyuanliang-ms Nov 9, 2025
470a3f3
Support load configuration settings from Azure Front Door (#223)
zhiyuanliang-ms Nov 10, 2025
cb0e4ca
version bum 2.3.0-preview (#243)
zhiyuanliang-ms Nov 11, 2025
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
69 changes: 0 additions & 69 deletions .eslintrc

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
node-version: [20.x, 22.x, 24.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -26,3 +26,4 @@ jobs:
- run: npm run lint
- run: npm run build
- run: npm test
- run: npm run test-browser
3 changes: 3 additions & 0 deletions cjs-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "commonjs"
}
79 changes: 79 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
import { defineConfig, globalIgnores } from "eslint/config";
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import globals from "globals";
import tsParser from "@typescript-eslint/parser";
import path from "node:path";
import { fileURLToPath } from "node:url";
import js from "@eslint/js";
import { FlatCompat } from "@eslint/eslintrc";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all
});

export default defineConfig([globalIgnores([
"node_modules/**",
"dist/**",
"dist-esm/**",
"types/**",
"*.min.js",
"coverage/**"
]), {
extends: compat.extends("eslint:recommended", "plugin:@typescript-eslint/recommended"),

plugins: {
"@typescript-eslint": typescriptEslint,
},

languageOptions: {
globals: {
...globals.browser,
...globals.commonjs,
...globals.node,
...globals.mocha,
},

parser: tsParser,
ecmaVersion: "latest",
sourceType: "commonjs",
},

rules: {
"keyword-spacing": ["error", {
before: true,
after: true,
}],

quotes: ["error", "double", {
avoidEscape: true,
}],

"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-require-imports": "off",
"eol-last": ["error", "always"],
"no-trailing-spaces": "error",
"space-before-blocks": ["error", "always"],
"no-multi-spaces": "error",

"no-multiple-empty-lines": ["error", {
max: 1,
}],

semi: ["error", "always"],
},
}, {
files: ["**/.eslintrc.{js,cjs}"],

languageOptions: {
globals: {
...globals.node,
},

ecmaVersion: 5,
sourceType: "commonjs",
},
}]);
3 changes: 3 additions & 0 deletions esm-package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"type": "module"
}
2 changes: 1 addition & 1 deletion examples/console-app/configObject.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT license.

import * as dotenv from "dotenv";
dotenv.config()
dotenv.config();

/**
* This example demonstrates how to construct a configuration object from settings loaded from Azure App Configuration.
Expand Down
4 changes: 2 additions & 2 deletions examples/console-app/helloworld.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT license.

import * as dotenv from "dotenv";
dotenv.config()
dotenv.config();

/**
* This example retrives all settings with key following pattern "app.settings.*", i.e. starting with "app.settings.".
Expand All @@ -23,4 +23,4 @@ const settings = await load(connectionString, {
});
const message = settings.get("message");

console.log(`Message from Azure App Configuration: ${message}`);
console.log(`Message from Azure App Configuration: ${message}`);
4 changes: 2 additions & 2 deletions examples/console-app/helloworld_aad.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT license.

import * as dotenv from "dotenv";
dotenv.config()
dotenv.config();

/**
* This example retrives all settings with key following pattern "app.settings.*", i.e. starting with "app.settings.".
Expand All @@ -28,4 +28,4 @@ const settings = await load(endpoint, credential, {
});
const message = settings.get("message");

console.log(`Message from Azure App Configuration: ${message}`);
console.log(`Message from Azure App Configuration: ${message}`);
3 changes: 1 addition & 2 deletions examples/console-app/refresh.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ const settings = await load(connectionString, {
}
});

console.log("Using Azure portal or CLI, update the `app.settings.message` value, and then update the `app.settings.sentinel` value in your App Configuration store.")
console.log("Using Azure portal or CLI, update the `app.settings.message` value, and then update the `app.settings.sentinel` value in your App Configuration store.");

// eslint-disable-next-line no-constant-condition
while (true) {
// this is a blocking call and you can remove await to make the refresh operation asynchronous
await settings.refresh();
Expand Down
4 changes: 2 additions & 2 deletions examples/console-app/secretReference.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT license.

import * as dotenv from "dotenv";
dotenv.config()
dotenv.config();

/**
* Before you run it, please add a Key Vault reference with key "app.secret" in your App Configuration store.
Expand All @@ -28,4 +28,4 @@ const settings = await load(endpoint, credential, {
const secretKey = "app.secret";
const value = settings.get(secretKey);

console.log(`Get the secret from keyvault key: ${secretKey}, value: ${value}`);
console.log(`Get the secret from keyvault key: ${secretKey}, value: ${value}`);
2 changes: 1 addition & 1 deletion examples/web-app/httpserver.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT license.

import * as dotenv from "dotenv";
dotenv.config()
dotenv.config();

import { load } from "@azure/app-configuration-provider";
import { DefaultAzureCredential } from "@azure/identity";
Expand Down
Loading