Releases: codemeasandwich/api-ape
Releases · codemeasandwich/api-ape
v4.1.1
v4.1.0
Features
- add version argument to release script
- add chained syntax for client.send
- add chained subscription syntax for pub/sub (issue #7)
Bug Fixes
- use Node WebSocket adapter when running Deno with node:http
- add global timeout and debug logging for Deno tests
- properly close HTTP server and exit in Deno tests
- use createRequire for CommonJS imports in Deno
- resolve Node 18 and Deno integration test failures
Refactoring
- rename client.sendTo to client.send
- remove broadcast in favor of pub/sub and clients (issue #8)
v4.0.0
Features
- add enterprise auth adapters and 2-of-3 key recovery
- Authentication Support
- hot-reload controllers on file add/change
- expose publish function in public API
- add JSS plugin system for custom type handlers
- add test infrastructure for singleton reset and runtime mocking
- implement queryId correlation for request/response matching
- restrict pre-commit hooks to run only on main branch - Hooks will now skip execution and exit gracefully on any branch other than main
- implement pre-commit validation hooks for documentation and JSDoc checks
Bug Fixes
- remove coverage threshold from publish workflow
- use npm install instead of npm ci (no package-lock.json)
- remove npm cache from workflow (no package-lock.json)
- skip test coverage
- resolve bugs in hooks, scripts, and CI workflow
- resolve merge conflict keeping eslint-config-next 15.0.0
- improve ping timestamp error with diagnostic details
- enhance JSDoc parser for nested type annotations
- message consistency, case-sensitive endpoints, inline binary
- improve ccTLD domain extraction and add coverage annotations
- improve JSS RegExp flags and Error type handling
- example/NextJs/package.json to reduce vulnerabilities
- upgrade eslint-config-next from 13.0.6 to 13.5.11
- add security hardening to example servers
Refactoring
- extract controller context to dedicated module
- modularize broadcast into directory structure
- modularize test scenarios with action/story architecture
- implement comprehensive testing harness infrastructure
- update client module documentation and add main entry point
- source files now have a max 200 line limit
Documentation
- moved around cover images
- update image refs to jpg and refresh readme content
- removed completed todos
- add comprehensive pub/sub documentation
- add todo documentation, assets, and fix authentication diagram
- add comprehensive/full docs for client and server modules
- enhance JSDoc across client and server files for improved clarity
- add comprehensive JSDoc to client and utils files
- add JSDoc to all server files
- add links to Key Concepts section
- rename JJS to JSS (JSON SuperSet)
- reorganize README for better flow
Tests
- add MFA integration tests achieving 100% line coverage
- add cross-runtime integration test suite
- add comprehensive user agent parsing test suite
- implement comprehensive testing harness for api-ape
Chores
- expand pipeline with multi-runtime testing and coverage enforcement
- remove all package-lock files
- remove build validation from pre-commit hook
- remove dist from repo, build only during release
- add conventional commit linting and update semver rules
- upgrade Next.js example dependencies
Other Changes
v3.0.2
Bug Fixes
- broadcastOthers now correctly excludes sender (hostId→clientId)
- use V3 named export in Next & Vite example
- Remove validation build files (CI builds its own)
v3.0.1
Bug Fixes
- the hardcoded port 9010 issue
v3.0.0
Features
- introduce server-side client
Bug Fixes
- Dynamically read package name in publish script.
Documentation
- Introduce
strip_prefixfunction to remove conventional commit type prefixes from categorized messages.
Other Changes
- examples: Add scribbles logging library and replace console.log with scribbles.log.
v2.3.0
Features
- feat: Implement semantic version bumping based on conventional commits and generate detailed release changelogs.
- feat: Add client-to-client file streaming support via
<!F>tags, enhancingFileTransferManagerwith streaming capabilities and dedicated tests. - feat: introduce Forest distributed mesh feature with multiple database adapters and updated documentation.
- feat: Enhance publish script to handle existing tags and releases and add a curl fallback for GitHub release creation.
Bug Fixes
- fix: Correct typo in
onConnenttoonConnect,onDisconnenttoonDisconnect, andsetOnRecivertosetOnReceiveracross
Refactoring
- refactor: reimplement client management with
ape.clientsMap, addingsessionIdandsendToper client.
v2.2.3
Full Changelog: https://github.com/codemeasandwich/api-ape/commits/v2.2.3