Skip to content

Release 3.15.0#4

Merged
StanislavMayorov merged 50 commits intomasterfrom
dev
Feb 27, 2026
Merged

Release 3.15.0#4
StanislavMayorov merged 50 commits intomasterfrom
dev

Conversation

@StanislavMayorov
Copy link
Collaborator

No description provided.

Configure husky for git hooks and lint-staged to automatically run ESLint and Prettier on staged TypeScript files before commit.
Add automated PR validation workflow with:
- Setup job for dependency caching (yarn 1.22.19 via corepack)
- Validate job running tsc, prettier, eslint, tests, and build
- Auto-assign reviewers from CODEOWNERS on PR open
- Optimized for ubuntu-slim with pre-installed Node.js 24
- Concurrency control to cancel stale workflow runs

Add CODEOWNERS file for automatic reviewer assignment
Remove fail-on-cache-miss to handle cache absence gracefully.
Add fallback yarn install step that runs when cache is not found.

This fixes the issue where workflow fails on first run or after cache expiration.
…-detection and OIDC

- Auto-detect release type based on git event (dev branch vs tag)
- Extract auto-assign reviewers into separate workflow for reusability
Allows RN SDK to re-export AdaptyError from @adapty/core instead of
maintaining its own copy, ensuring single class identity for instanceof checks.
…rom core

These types depend on EmitterSubscription which is platform-specific.
Each downstream SDK (RN, Capacitor) defines its own listener types
with different event sets and subscription mechanisms.
…adapty/core

- Clean up logger/index.ts: remove duplicate noop classes, keep real implementation re-exports
- Create src/version.ts, fix VERSION import path in log.ts
- Update ILogScope/ILogContext interfaces to use lazy LogArgs type
- Move NoopLoggerAdapter to adapters/defaults.ts (now DefaultLoggerAdapter)
- Export Log, LogContext, LogScope, LogSink, LoggerConfig, LogEvent, consoleLogSink from main index
- Update coders/parse.ts call sites to use lazy args
- Add static _version field with setVersion() for SDK version injection
- Update formatMessage() and LogEvent to use _version instead of hardcoded VERSION
- Export LogArgs type from logger/index.ts
version.ts was dead code — not imported anywhere in core.
adapty-handler.ts is a JSDoc-only placeholder, comment updated to reflect that.
Replace VERSION import (from deleted version.ts) with 'unknown' default.
SDK overrides this via Log.setVersion() anyway.
- Add static _version field with setVersion() (@internal) for SDK version injection
- Update formatMessage() and LogEvent to use _version instead of hardcoded VERSION
- Export LogArgs type from logger/index.ts
- Add static _version field with setVersion() (@internal) for SDK version injection
- Update formatMessage() and LogEvent to use _version instead of hardcoded VERSION
- Export LogArgs type from logger/index.ts
Copy paywall and onboarding event mapping constants and
extractCallbackArgs functions from react-native-adapty into
@adapty/core as platform-agnostic shared code.

Files are verbatim copies with only import paths adapted.
No downstream SDK imports version from @adapty/core — each SDK
maintains its own version file. The dev placeholder was never
consumed and only added noise.
…rect instantiation

Fixes bug where coders were created without IPlatformAdapter.
@StanislavMayorov StanislavMayorov merged commit 3ce1355 into master Feb 27, 2026
6 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