Skip to content

Initial V2 Framework Release - #32

Merged
sarus merged 5 commits into
masterfrom
develop
Jun 1, 2026
Merged

Initial V2 Framework Release#32
sarus merged 5 commits into
masterfrom
develop

Conversation

@sarus

@sarus sarus commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Merges the v2 framework migration into master for release.

sarus and others added 5 commits April 27, 2026 09:52
- Convert integration.js to TypeScript (src/integration.ts, src/queries.ts)
- Replace postman-request with polarity-integration-utils
- Create TypeScript type declarations (src/types/scout-prime.ts)
- Convert Ember/Handlebars component to Lit web component (web-components/details.ts)
- Update config.json (runtimeVersion 2, dataTypes, webComponents)
- Add v2 build tooling (tsc, vite, vitest, eslint, prettier)
- Remove v1 files (components/, templates/, styles/, integration.js)
- Remove v1 dependencies (postman-request, lodash, async)
- Bump version to 4.0.0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Fix cvss type to number | null in scout-prime.ts and details.ts
- Fix _lastActivityAt to compute max lastSeen across all associations
- Parallelize getAssociations/getWhois/getOwners with Promise.all
- Replace placeholder tests with proper server (21) and browser (12) tests
- Add resolve alias in vitest.config.ts for polarity-integration-utils

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Move PolarityRequest instantiation to startup() following the v2 pattern
for a module-level, reusable instance. Set request.network = context.network
in doLookup so proxy and TLS settings from the platform context are applied
to all outbound requests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@sarus
sarus merged commit 2029351 into master Jun 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant