v1.0.0-beta.23
Pre-release
Pre-release
🚀 Features
- (irpc) [breaking] Implement stream abort support and call closing lifecycle
- (irpc/http) Implement request abort and call cancellation lifecycle
- (ws) Implement stream cancellation and request abort support
- (broadcast) Implement stream cancellation and request abort support
- (irpc) Add optional initContext parameter to router resolve methods
- (irpc) Add default context provider with validation
- (router) [breaking] Add modal support with page and modal route factories
- (router) Add support for custom URL and headless mode
- Add new exports for isolated, lifecycle, and closure utilities
- (irpc) Introduce file transfer mechanisms
- (irpc) Add status setter to IRPCFile class
- (http) [breaking] Enable file transfer support in HTTP transport and router
- (http) Add JSON key constant for irpc library
- (ws) Enable file transfer support in WebSocket transport and router
- (broadcast) Enable file transfer support in broadcast transport and router
- (irpc) Add automatic stream cleanup on component unmount
- (navigate) [breaking] Extend options with redirect state and support typed routes
- (react/router) [breaking] Add document head management components
- (platform) [breaking] Enhance stability and developer experience across core modules
- (core) Introduce hierarchical async stores and enhance promise handling
- (core) Enhance isolated context with floating promises detection
- (core) Enhance context management robustness and observability
- (core) Implement async context management and reactive state system
- (core) Introduce passive mode and standardize async return types
- (react) Add server entry point and re-export router utilities
- (router) Introduce route-level exception handling and reactive URL context
- (storage) Introduce reactive cookie state and SSR hydration utilities
- (core) Introduce async scope accessors and enable global closure warnings
- (irpc) Add server entry point and streamline test context setup
- (solid) Introduce router integration, head management, and server entry point
- (core) Introduce signals and streamline lifecycle cleanup
- (router) Add route inference types and clean up context url updates
- (core) Introduce reactive cookie storage with SSR support
- (core) Introduce state replacement and cookie synchronization
- (core) Introduce
$doalias foruntrackand addREPLACEto batch mutations - (core) Add
encodemethod toCookieJarfor convenient header serialization - (react) Re-export cookie management utilities
- (solid) Add solid export conditions and expose cookie utilities
- (http) Introduce fetch options, custom response builders, and cookie sync
- (templates) Add Vite SSR starter templates for React and Solid
- (irpc) Enhance stream error handling and transport reliability
- (solid-ssr) Add project README and workspace dependencies
- (irpc) Introduce deferred execution and initial data support for streams
- (core) Support replace assignments in history and untrack operations
- (irpc) Introduce spec-level hooks and replace router middlewares
- (core) Introduce replay.any for versatile state change application
- (router) Introduce JSON payload resolution and refactor request handling
- (irpc) Add print method and total call count to IRPCStore
- (solid) Introduce
setupHOC for localized context scoping and update router renderers - (react) Introduce Switch/Slot API and refactor status rendering
- (react) Introduce Show component for conditional rendering
- (react) Pass evaluated condition value to Show component children
- (react) Introduce
Forcomponent for list rendering - (solid) Introduce
Showcomponent for conditional rendering - (solid) Re-export core SolidJS utilities from the main index
- (workflow) Introduce pipeline execution API and state tracking store
- (workflow) Introduce schema validation and extract type definitions
- (workflow) Introduce workflow reader, pipeline abortion, and reactive execution
- (exports) Re-export
planutility from core across multiple packages - (workflow) Introduce
latermethod for deferred manual dispatch - (starter) Add air-react template
- (templates) Add
air-solidstarter template
🐛 Bug Fixes
- (irpc) Allow void return type for stream constructors
- (core) Ensure state operations cleanup properly on errors
- (closure) Handle missing storage case in get method
- (core) Remove unintended return value from setContext
- (core) Safely access observer keys and use scoped cleanup
- (router) Enforce strict conditional typing for NavigateParams
- (router) Improve exception state management and memory cleanup
- (irpc) Add missing super.close() call in reader implementation
- (http) Terminate unresolved calls on stream error and adjust XHR abort
- (router) Properly parse route names containing query strings
- (core) Defer async query execution during Server-Side Rendering
- (http) Prevent premature aborts of shared HTTP requests in batched calls
- (http) Add Content-Type header to JSON responses
- (react) Implement graceful error handling for component renders and lifecycles
- (irpc) Preserve original error object in RemoteState rejection
💼 Other
- Explicitly set NODE_ENV during test execution
- (coverage) Decouple coverage output from docs dist directory
🚜 Refactor
- (irpc) [breaking] Remove unused IRPC_EVENT_TYPE enum and type
- (router) [breaking] Replace microtask with closure for redirect handler
- (core) Move currentClosure variable declaration
- (router) [breaking] Restructure context management with RouterContext
- (router) [breaking] Rename activeContext to context in Router class
- (router) [breaking] Update store key handling and config merging strategies
- (core) Remove unused async context and optimize storage handling
- (core) [breaking] Replace closure-based context with async context API
- (core) Decouple scope and context, finalize async engine
- (observation) Remove deprecated observer functions and simplify tracking
- (core) Decouple scope management into dedicated module
- (router) [breaking] Enhance async reactivity tracking and lifecycle cleanup
- (core) Migrate context management to AsyncScope and enhance router types
- (core) Enhance global scope detection and consolidate context lookups
- (router) Introduce environment-safe state utilities and streamline internal storage
- (react) Enhance HOCs for SSR and improve test coverage
- (react) Optimize HOC lifecycles and streamline route rendering
- (core) Streamline context lookups and clarify scope terminology
- (react) Make context prop required in Finish component
- Enhance routing exception handling and streamline react context
- (irpc) Migrate context management to core APIs and introduce server module
- (broadcast) Simplify test setup with server entry point and anchor configuration
- (router) Overhaul route state storage, simplify registry matching, and introduce signals
- (storage) Introduce global state creation and unify cleanup utilities
- (router) Enhance route registration, async activation, and context management
- (router) Replace RenderContext with ContextReader in renderer types
- (react) Enhance navigation utilities and improve type safety for routes
- (solid) Adopt native control flow for router and strict navigation types
- (irpc) Rename ExtendedASL to AnchorASL
- (core) Optimize broadcast notifications and improve context cleanup
- (core) Remove redundant type check in broadcast subscriber loop
- (core) Rename closure warning, optimize observers, and streamline internal registries
- (core) Migrate dev tools and trackers to a unified plugin architecture
- (core) Streamline reference garbage collection using FinalizationRegistry
- (core) Remove deprecated closure and context utility modules
- (core) Remove cloned mode, string mutations, and silentInit
- (core) Remove read-only state proxy functionality and update stringify types
- (core) Restructure source files into domain-specific modules and remove binding API
- (storage) Remove cookie storage and enhance test lifecycle management
- (core) Remove subscription bypass and standardize untracked execution with $do
- (core) Introduce switchable reactivity observer and clean up store contract
- (irpc) Harden state lifecycle guards and enhance HTTP streaming transport
- (http) Streamline XHR transport and enhance test coverage
- (irpc) Optimize resource management and prevent memory leaks
- (react-ssr) Remove static metadata from HTML template
- (http) Optimize stream packet resolution and improve environment compatibility
- (irpc) Introduce central store and unify router middleware
- (router) Transition to props-based renderers and simplify factory wrappers
- (router) Rename ProviderContext to RouteContext and streamline routing types
- (router) Simplify route type signatures by removing TOptions generic
- (router) Simplify generic type parameters and clean up route types
- (router) Enhance nested route types and context renderers
- (react) Implement render props injection and update route renderer typings
- (router) Remove JSDoc examples and streamline route target typing
- (react) Streamline RouteComponent API and update renderer signatures
- (solid) Align route component rendering and typings with core updates
- (router) Update RouteTarget and InferContext utility types
- (irpc) Introduce reactive stubs and streamline execution model
- (router) Isolate router exports into dedicated subpaths
- (starter) Simplify context provider setup and update router import
- (svelte) Remove deprecated ref wrappers and introduce server context
- (svelte) Disable anchor global scope warning and standardize browser detection
- (svelte) Update client import and persistent storage utility
- (core) Remove error swallowing from untracked observer executions
- (solid) Remove deprecated wrapper references and restructure client bindings
- (templates) Update layout renderers to use unified props object
- (core) Centralize context API to enable replaceability
- (router) Move render mode to router options and streamline activation lifecycle
- (core) Rename AsyncStatus to ASYNC_STATUS for constant naming consistency
- (router) Remove unused
contexttype definition - (router) Restructure JSON request resolution and improve error handling
- (irpc) Centralize error handling and telemetry via IRPCStore
- (irpc) Replace local uuid implementation with anchorlib core utility
- (core) Reorganize context utilities and simplify scope retrieval
- (scope) Extract AsyncStore into a dedicated module
- (editor) Streamline state reads and update serialization method
- (workspace) Remove Vue rawRef utility and update build configurations
- (docs) Integrate test coverage reports into documentation site
📚 Documentation
- (irpc) Refine and expand documentation across transports, comparisons, and guides
- (irpc) Fix parameter destructuring in stream example
- (irpc) Standardize context management in transport documentation
- (irpc) Update transport documentation with context injection details
- (ws) Update README with WebSocket context injection examples
- (router) Refine documentation wording for clarity and conciseness
- Add file upload documentation to getting started and ws transport guides
- (react/router) Update documentation with separated route definitions and view examples
- (anchor) Add comprehensive AIR Stack for React knowledge base
- (router) Add comprehensive documentation for Anchor Router features
- Comprehensively restructure and expand AIR Stack documentation
- Update import paths for router and server modules
- Restructure UI documentation and update framework API examples
- Expand UI guides and introduce webhooks documentation
- (workflow) Introduce documentation for workflow orchestration
- (navigation) Simplify sidebar structure and update getting started links
- (site) Revamp homepage, restructure navigation, and add reactive workflows
- (templates) Update degit paths for starter templates
- (react-classic) Remove obsolete documentation and update project URLs
- (seo) Update site metadata and branding to AI-Native architecture
🧪 Testing
- (irpc) Add tests for stream cancellation, abort handling, and closure behaviors
- (irpc) Add tests for stream cancellation, abort handling, and transport closure
- (irpc/ws) Add tests for stream TTL handling, cancellation, and transport closure
- (irpc/broadcast) Add tests for stream cancellation, TTL handling, and transport closure
- (irpc/broadcast) Refactor test imports and fix type assertion
- (core) Suppress biome lint warning in passive spec
- (irpc) Trigger reader onClose in call close test
- (ws) Streamline context initialization and suppress closure warnings
- (storage) Add cookie storage tests and configure jsdom environment
- (storage) Remove Playwright e2e tests and transition to native storage APIs in Vitest
- (http) Correct stream control reference in transport tests
- (irpc) Add unit tests for router and store, and refine framework documentation
- (irpc) Add tests for browser stub reader methods and observer scheduling
- (react) Add tests for switch and slot components
- (svelte) Disable hot module replacement in vitest config
- (svelte) Mock WebSocket server in vitest configuration
⚙️ Miscellaneous Tasks
- (templates) Use latest tag for irpclib dependencies in bun starter
- (docs) Streamline documentation build and remove excluded references
- Enable SSR in Solid build and clean up React template
- (release) Remove react-classic from prepublish scripts
- (docs) Migrate documentation links to airlib.dev domain
- (scripts) Update prepublish version bump targets
- (publish) Remove react-classic from release script
- (deploy) Update wrangler config to serve VitePress documentation
- (build) Disable test coverage generation and documentation links