Skip to content

Releases: codemeasandwich/api-ape

v4.1.1

21 Jan 11:02

Choose a tag to compare

Changes

  • build: consolidate Snyk dependency upgrades (#14)
    • eslint-config-next: 15.0.0 → 15.5.9 (security fix)
    • react: 18.2.0 → 18.3.1
    • react-dom: 18.2.0 → 18.3.1
    • @types/node: 18.11.13 → 18.19.130
    • @types/react: 18.0.26 → 18.3.27
  • ci: remove npm cache since no lock file exists

v4.1.0

17 Jan 07:14

Choose a tag to compare

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

16 Jan 12:32

Choose a tag to compare

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

  • Merge pull request #5 from codemeasandwich/snyk-upgrade-b7224594f9599e34a668e73164d59b4d
  • Merge pull request #6 from codemeasandwich/snyk-fix-d37766e8bdf4769d83665b7102a00913
  • feat!: simplify connect API and update Forest namespace default

v3.0.2

08 Jan 15:59

Choose a tag to compare

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

08 Jan 07:03

Choose a tag to compare

Bug Fixes

  • the hardcoded port 9010 issue

v3.0.0

07 Jan 21:27

Choose a tag to compare

Features

  • introduce server-side client

Bug Fixes

  • Dynamically read package name in publish script.

Documentation

  • Introduce strip_prefix function 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

05 Jan 23:47

Choose a tag to compare

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, enhancing FileTransferManager with 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 onConnent to onConnect, onDisconnent to onDisconnect, and setOnReciver to setOnReceiver across

Refactoring

  • refactor: reimplement client management with ape.clients Map, adding sessionId and sendTo per client.

v2.2.3

05 Jan 05:38

Choose a tag to compare