Skip to main content

@acromedia/gesso-gemini-middleware

0.5.0

Minor Changes

  • 64bf0ec: feat: Migrate to ESM with dual ESM/CJS output

    Build System:

    • Migrated from Jest to Vitest for modern ESM test support
    • Replaced tsc build with tsup for dual ESM/CJS bundling
    • Added post-build script to inject CJS deprecation warnings

    ESM Migration:

    • Added "type": "module" to package.json
    • Configured proper exports field with ESM (.js) and CJS (.cjs) support
    • Added .js extensions to all import statements (ESM requirement)
    • Updated TypeScript config: module: "NodeNext", moduleResolution: "NodeNext"

    Configuration Updates:

    • Renamed .prettierrc.js.prettierrc.cjs
    • Updated .eslintrc.cjs to ignore test files and mocks
    • Added vitest.config.ts for test configuration

    Dependencies:

    • Removed: jest, ts-jest, @types/jest, eslint-plugin-jest
    • Added: vitest, tsup, jsdom
    • Updated: ESLint plugins to v8, Prettier to v3

    Tests:

    • Converted all test files from Jest to Vitest syntax
    • Updated mock implementation for @google/generative-ai

Patch Changes

  • Updated dependencies [64bf0ec]
  • Updated dependencies [64bf0ec]
    • @acromedia/gesso-logger@7.2.0
    • @acromedia/gesso-api-middleware@7.3.0

0.4.1

Patch Changes

  • 54443d4: migrate vertex and gemini plugins to @google/genai

0.4.0

Minor Changes

  • 41e4884: Bump next.js to v15

Patch Changes

  • 31a0bde: Fix typechecks in plugin packages
  • Updated dependencies [236a6d0]
  • Updated dependencies [41e4884]
    • @acromedia/gesso-api-middleware@7.2.0

0.3.0

Minor Changes

  • 2f8dce7: add server-side logging library, gesso-logger, and implement it for gesso middleware packages
  • aaad2a6: Upgrade to typescript v5 and nodenext

Patch Changes

  • Updated dependencies [2f8dce7]
  • Updated dependencies [aaad2a6]
  • Updated dependencies [07a504c]
    • @acromedia/gesso-logger@7.1.0
    • @acromedia/gesso-api-middleware@7.1.0

0.2.1

Patch Changes

  • Updated dependencies [b4a97ff]
    • @acromedia/gesso-api-middleware@7.0.0

0.2.0

Minor Changes

  • 28950d7: fix: gesso-gemini-middleware failed to fall back to default value fix: Prompt Bar input field adjustable width performance issue, remove edit button after selecting a prompt, and fix skeleton button width feat: starter-kit template with GESSO AI page feat: Gesso Ai layout component feat: grid, grid_item, divider, spacer plugin for Gesso AI

0.1.0

Minor Changes

  • 49c3cf1: feat: add Gemini customization
    • customize the Gemini model, safety settings, and system instruction through the environment variables

0.0.3

Patch Changes

  • d8721b7: axios update

0.0.2

Patch Changes

  • 20549bb: Fix: don't use hardcoded system instructions and pass schema based off the chosen content structure.

0.0.1

Patch Changes

  • 8d50859: Initial release for @acromedia/gesso-gemini-middleware