Skip to content

v0.1.0

Choose a tag to compare

@joao-jlcm joao-jlcm released this 06 Aug 15:01
· 6 commits to main since this release

EasySQL WP Plugin — v0.1.0

First public release of the EasySQL WordPress plugin.

Features

  • REST API endpoints: query, queries history, test-connection and connector
  • Core services: QueryService and ConnectorService
  • Admin pages: Settings, Ask and History
  • Admin assets: CSS, shared JS, ask and history JS
  • Markdown rendering in the Ask answer
  • Local execution of generated SQL and result submission
  • Schema-only connector creation using local wpdb instead of sending DB credentials to the API
  • Fall back to the EASYSQL_API_KEY constant when no stored API key

Changes

  • Validates cached connectors against the backend
  • Passes connector_id from the server to ask.js (instead of AJAX fetch)
  • Fixes ask.js sending the connector name instead of the UUID
  • Copies the easysql/sdk dependency instead of symlinking (symlink: false)
  • Enables Apache rewrites in wp-env and adds an install-wp target

Testing & CI

  • QueryService unit tests covering 9 scenarios
  • Update SDK workflow triggered via repository_dispatch after each SDK release