Граф коммитов

38 Коммитов

Автор SHA1 Сообщение Дата
siyuniu-ms 3f8434ac85
[main] (type change!) enhance exception telemetry with customer log Information (#2391) 2024-08-19 17:36:20 -07:00
siyuniu-ms f39a8151d5
[main] enhance exception telemetry with optional script Information (#2388) 2024-08-05 16:44:19 -07:00
Karlie-777 c7bb1c4d26
[Main][Task]27079894: Add a max retry count for Sender (#2324)
* update

* update

* update

* update

* udpate

* update
2024-04-12 09:22:13 -07:00
Nev 276c123a40
[BUG] Excessive memory usage for SPA where unload hooks keep accumulating #2311 (#2312)
- Rework Asynchronous notification handling
2024-03-20 16:44:58 -07:00
nev21 ed653fa9db
Update Tests to support upcoming change in nevware21/tsutils dumpObj to better support JSON stringify and handle __PURE__ mcomments (#2253) 2024-01-28 01:58:56 -08:00
siyuniu-ms d2816b77dd
[main] assign LoadEventStart time to Time (#2104) 2023-07-27 14:47:13 -07:00
Nev 2fd511802c
[Main] Add npm-pack and npm-publish tasks (#2033)
- Fix publishing content of npm packages
- Fix issues related to dependencies for tests
- Update Release Packaging location
- Update NPM publish scripts
2023-04-06 13:57:43 -07:00
Nev f90f593127
[BUG] The documentation for enableDebug is incorrect, it should reference enableDebugExceptions #2014 (#2021) 2023-03-20 09:27:19 -07:00
Nev Wylie d8abe518ac Merge remote-tracking branch 'upstream/master' into MSNev/beta 2023-02-01 18:17:30 -08:00
Nev c920fb782a
Add the Aborted flag to the dependency initializer / listeners #1970 (#1982)
- Remove SimpleSyncPromise as it's no longer needed
2023-02-01 16:58:24 -08:00
Nev 9141ebf151
[BUG] Application Insights reports 'not_specified' to Azure when tracking unhandled browser exception #1940 (#1980) 2023-02-01 12:19:11 -08:00
Nev 389b73aef1
Update QUnit and tests (#1964)
* Update QUnit and tests

* Update minify script to use PC newline for imports and header banners
2023-01-09 08:25:39 -08:00
Nev Wylie 02f1a4d887 [Beta] Plugin does not wire itself into the Channel Configuration when both channels and channel extensions are supplied 2022-11-17 11:22:05 -08:00
Nev 6f169ae7e7
[Beta] Fix issue with replacing a value (object) on the config which was clearing (setting to undefined) previous properties of the replaced instance. (#1933) 2022-10-21 15:14:57 -07:00
Nev b8fe1cbf70
Task 14170501: [Beta] [AI/1DS] Support dynamic Configuration changes (after the SDK has been initialized) (#1897)
- Add updateCfg to Shared/Core
- Update AISku
- Add Dynamic Config so plugins and components don't need to implement _doUpdate() or update()
- Fixup a bunch of typedoc definitions
- Address config merge issues with arrays, objects and updateCfg()
2022-10-07 10:12:08 -07:00
Nev Wylie 605fdf9aea Task 13359653: [Beta][Application Insights][1DS] Start IE8 deprecation process
Task 13988566: [Beta] Remove Legacy code from V2 SDK
- Remove Exported namespace globals
2022-08-25 09:21:48 -07:00
Nev d855703354
Merge master to beta @ 200e0f1d5d (#1867)
* [BUG] Snippet initialization with IE8/9 fails with minified code (works with un-minified code) #1852 (#1854)

* [BUG] CDN Packaging is not exposing the internal tools (CoreUtils / Telemetry / etc) #1857 (#1858)

* fix stopTrackEvents (#1859)

Co-authored-by: Nev <54870357+MSNev@users.noreply.github.com>

* Refactor code to provide better tree shaking and minification of generated code #1076 (#1811)

- Add Automatic Name replacing / Crunching

* Address Component Governance issues (#1860)

- Update npm to 8.13.2
- Update rush to 5.75.0

* [Release] Increase version to 2.8.5 (#1861)

- Updates React Plugin to v3.3.5 (with v2.8.5 as dependency) -- using React 17
- Updates React Native Plugin to 2.5.5 (with v2.8.5 as dependency)
- Updates Chrome Debug Extension to 0.3.5

* Update and add legal compliance notices and license terms (#1865)

* Remove React-JS and React-Native code from this repo (#1866)

* Merge master to beta @ 200e0f1d5d
- Update shrinkwrap and npm version for rush.json

Co-authored-by: Karlie-777 <79606506+Karlie-777@users.noreply.github.com>
2022-07-28 07:53:29 -07:00
Karlie-777 30e4518760
fix stopTrackEvents (#1859)
Co-authored-by: Nev <54870357+MSNev@users.noreply.github.com>
2022-06-29 16:06:20 -07:00
Nev 93ce65e6b7
Merge remote-tracking branch 'upstream/beta' into MSNev/MergeBetaToMaster (#1791)
* Update version update script to support default "next" release version (major/minor) not just patch (#1756) (#1757)

* Merge [master] branch to [beta] and Enable GitHub Actions on [beta] branch (#1762)

* Update version update script to support default "next" release version (major/minor) not just patch (#1756)

* Additional Performance enhancements to use provided functions rather than internal polyfill's (#1758)

* [BUG] 2.7.4-nightly.2202-03 builds have a bug where objKeys() is not returning the keys #1763 (#1764)

* Enable GitHub Actions on [beta] branch

* Beta Part 1: Part of Mega Dynamic Load/Unload support (#1766)

- Refactor TelemetryPluginChain ready to start supporting load/unload
- Move TelemetryInitializer to BaseCore
- add getPlugin (will be used for remove)
- Address Channel flush issue

* Merge remote-tracking branch 'upstream/master' into beta (#1772)

* Additional Performance enhancements to use provided functions rather than internal polyfill's (#1758)

* [BUG] 2.7.4-nightly.2202-03 builds have a bug where objKeys() is not returning the keys #1763 (#1764)

* Update version.json (#1767)

* [Release] Increase version to 2.7.4 (#1770)

- Updates React Plugin to v3.2.4 (with v2.7.4 as dependency)
- Updates React Native Plugin to 2.4.4 (with v2.7.4 as dependency)
- Updates Chrome Debug Extension to 0.2.4

This release is primarily a performance improvement release where we will now use any built in (or provided polyfill) function
over the internal polyfills for

- String trim()
- String endsWith()
- String startsWith()
- Additional Date toISOString()
- Array isArray()
- Array indexOf()
- Array map()
- Array reduce()
- Object freeze()
- Object seal()

* [Beta] Keep version.json next as minor and resync shrinkwrap
- Fix merge issue

* Beta Part 2: Part of Mega Dynamic Load/Unload support (#1768)

- Add Event Namespace support
- Minification of constant values
- Add part of the unload functionality (required for unified `teardown()` functionality)

* Beta Part 3: Part of Mega Dynamic Load/Unload support (#1780)

* Beta Part 3: Part of Mega Dynamic Load/Unload support
- Add Core SDK Unload support

* Fix telemetry chain for null and undefined

* Beta Part 4: Part of Mega Dynamic Load/Unload support (#1781)

* Beta Part 4: Part of Mega Dynamic Load/Unload support
- Fix function typing issues
- Update Analytics Extension to start supporting teardown / unload (more tests required)
- Adds namespace option to instrumentation hooks (for debugging teardown issues)
- Update AITest Class to log and optionally assert events and hooks that have not been removed
- Add Update callback when plugins are added / removed (will be extended for config updates)
- Some minor minification improvements

* Update comments

* Add missing enum definition

* Update Sender tests

* Beta Part 5: Part of Mega Dynamic Load/Unload support (#1782)

- Add Missing Exports
- AnalyticsPlugin: Implement teardown and initial test validation
- Dependencies Plugin: Implement teardown and initial test validation
- Add flush() to IAppInsightsCore

* AI Beta: Minor bug fixes and additional debug info (#1787)

* Lint fixes: Enable Automatic formatting fixes (#1788)

* Beta Part 6: Part of Mega Dynamic Load/Unload support (#1782) (#1789)

- Add basic minimal unload / teardown support to all remaining components
- Update rollup cleanup dependencies

* Beta: Component Governance Updates to address known dependency issues (#1790)
2022-03-31 15:14:29 -07:00
Nev f2d1625a1e
Beta Part 5: Part of Mega Dynamic Load/Unload support (#1782)
- Add Missing Exports
- AnalyticsPlugin: Implement teardown and initial test validation
- Dependencies Plugin: Implement teardown and initial test validation
- Add flush() to IAppInsightsCore
2022-03-15 12:47:35 -07:00
Nev 4936a52cee
Beta Part 4: Part of Mega Dynamic Load/Unload support (#1781)
* Beta Part 4: Part of Mega Dynamic Load/Unload support
- Fix function typing issues
- Update Analytics Extension to start supporting teardown / unload (more tests required)
- Adds namespace option to instrumentation hooks (for debugging teardown issues)
- Update AITest Class to log and optionally assert events and hooks that have not been removed
- Add Update callback when plugins are added / removed (will be extended for config updates)
- Some minor minification improvements

* Update comments

* Add missing enum definition

* Update Sender tests
2022-03-14 14:03:26 -07:00
Karlie-777 5e9ebfe12d
addTrackEventIkeyConfig (#1654)
* addTrackEventIkeyConfig

* fix iKey replacement

* add comments

* resolve comments
2021-09-07 15:55:27 -07:00
Nev f3f1a806c5
Update to TypeScript 4.x #1071 (#1130)
* Update to TypeScript 4.x #1071
- Enable ESLint-Fix during compilation
- Fold react and React Native projects back into main build

* Update new PerfMarkMeasure to TypeScript 4.x build

* Missed updates from previous PR -- remove unused variables
2021-08-16 16:53:28 -07:00
Nev 73c619127e
Update Dependencies and convert missed test framework changes (#1613) 2021-07-22 12:11:47 -07:00
Nev fd67558c3f
Split Tests into Unit / Perf and update all active tests to use common test project (#1606) 2021-07-09 12:14:18 -07:00
Karlie-777 c729655f21
addSizeFileCheck (#1588)
* addSizeFileCheck

* addProdFileSizeCheck
2021-06-18 13:40:52 -07:00
Nev 56fc74f236
Script error: Browser exception message not providing information type and method #363 (#1562) 2021-05-24 13:33:25 -07:00
Xiao Li ababc00b43
[BUG] address issues #1517 add unload listener and #1524 config from snippet (#1532)
* bug fix - add unload listener and initialize missing config items

* remove unnecessary initializations and pass in config to getDefault method

* add correlationHeaderExcludePatterns default value

* fix test
2021-04-16 14:19:13 -07:00
Nev 3d4a6fa42a
Additional TreeShaking and minification for Properties, Common and Analytics (#1488) 2021-03-01 14:50:12 -08:00
Nev 7dcc2e653a
CoreUtils - Tree-Shaking ennhancements (#1469)
- extract and export each CoreUtils function as first class
- stop using CoreUtils class within core, using the new direct functions
- create TestFramework and change core to use it (so it restores the navigator / user agent properly)
2021-02-19 15:44:26 -08:00
Nev 430caa1f9e
- AppInsightsCore: Enable setting NotificationManager during initialization (#1331)
- Refactor code to provide better tree shaking and minification of generated code #1076
2020-08-03 11:08:16 -07:00
Nev ec7a4e6d32
[BUG] Custom properties added with addTelemetryInitializer are ignored for exceptions #1262 (#1308) 2020-07-02 10:15:24 -07:00
Nev 712f13e38c
tslib v1.13.0 has breaking change #1269 (#1277)
- Removed Dependency on tslib
2020-06-01 12:00:58 -07:00
Nev 7afceba8a2
XHR/Fetch enhancement for office - add additional telemetry from window.performance #1194 (#1195) 2020-03-02 15:14:41 -08:00
xiao-lix 9636de60e1 add tests 2020-02-14 10:17:56 -08:00
Xiao Li 60da0f7506 fix lint error for analytics and dependencies plugin 2019-09-06 12:00:13 -07:00
Xiao Li 3f13a5e515 Merge branch 'master' into reorg-folders 2019-09-04 17:08:09 -07:00
Xiao Li 507670e47f reorganize repo folders 2019-09-04 16:03:43 -07:00