Changelog

Latest updates and improvements to Mock Studio.

v1.0.6

Bug Fixes

  • Protected local data from browser storage eviction — the extension now requests Chrome's unlimitedStorage permission so IndexedDB data is far less likely to be purged under storage pressure.

Changed

  • Network logs now keep the latest 500 entries — this prevents unbounded growth from stored response bodies while keeping recent debugging history visible, and the UI now labels that limit clearly.

v1.0.5

Bug Fixes

  • Fixed custom status codes (4xx/5xx) always returning 200 — mocks set to error status codes like 400 or 500 were always responding with 200. The service worker's message handler was declared async, which broke the return true pattern and prevented mock data from reaching the page interceptor.
  • Fixed delay not working — same root cause as above. The page interceptor never received mock configurations, so delays were never applied.
  • Improved mock interception reliability — the page interceptor is now injected via Chrome's manifest world: "MAIN" instead of DOM script injection, which was blocked by pages with strict Content Security Policy.

v1.0.4

Bug Fixes

  • Fixed data disappearing when reopening DevTools — mocks and project data would vanish on every open. The panel was redirecting away before data had a chance to load.
  • Fixed database getting stuck after extension restarts — Chrome periodically restarts the background worker, which could leave the database connection blocked. Now handled gracefully.

v1.0.3

Improved

  • Network logs are no longer limited — previously capped at 10 (free) or 100 (Pro), now captures all requests without restriction.
  • AI service is significantly leaner — deduplicated ~200 lines of copy-pasted code across mock generation, scenario creation, and variant generation into shared helpers.
  • Faster extension startup — Analytics, Settings, and Contact pages now load on-demand instead of all at once, reducing initial bundle by ~10%.
  • Data stores are cleaner internally — extracted shared caching and audit logging logic into reusable helpers across all stores.
  • AI is better at recovering from bad responses — if the AI returns slightly malformed JSON, we now try to salvage the data instead of just throwing an error. Fewer "generation failed" messages for you.
  • AI checks happen before generation starts — we now validate your subscription status upfront. No more wasting a request just to find out your config is missing.
  • OpenAPI import validates AI config first — when importing with AI-powered data generation, we check everything is set up correctly before processing endpoints one by one.

Bug Fixes

  • Pro status now refreshes automatically — your subscription status is checked when the extension opens and whenever you switch back to the tab. No more stale "not Pro" state after upgrading.
  • AI provider resets correctly after subscription ends — if your Pro plan expires, the AI provider now switches back to Custom cleanly instead of getting stuck in a broken "Managed" state.
  • Removed stray debug logconsole.log('activeProjectId') was showing up in the console on every page load.
  • Fixed duplicate database type declaration — removed a redundant interface that shadowed the main database class.
  • Minor internal code cleanup — removed duplicate variables and dead code paths in the AI service.

Changed

  • "Upgrade to Pro" now links to your account page at mockstudio.app/account.
  • AI generates more varied mock data — increased creativity in AI responses for richer, more realistic test data.
  • "Save Configuration" button is smarter — it's now disabled until you actually change something, so no accidental no-op saves.
  • Cleaned up noisy logs — removed leftover debug output from AI generation.
  • Removed unused Logs page route — the /logs route pointed to a stub component; it has been removed.

v1.0.2

Bug Fixes

  • Fixed database setup issue that could prevent audit logging from working for some users.
  • Fixed data loss during deletes — deleting a project or folder could leave behind orphaned data if something went wrong mid-operation. All cascade deletes are now atomic (all-or-nothing).
  • Fixed ghost mocks after folder delete — deleted mocks would briefly remain visible in the UI until the cache refreshed. Interacting with them could cause errors.
  • Fixed stale UI after import/sync — after a GitHub sync or full data restore, the UI could show outdated data for a few seconds. Edits made during that window could accidentally revert the import.
  • Fixed race condition when editing scenarios — rapidly adding or updating scenario items could cause one of the changes to be silently lost.
  • Fixed silent failures when updating mocks — if a mock was deleted by another operation at the same time, updates could silently fail and leave the UI out of sync with the database.
  • Fixed unnecessary database reads for empty projects — projects with no mocks were hitting the database on every load instead of using the cache.
  • Added error handling to all data operations — write failures (e.g., storage full) are now properly caught and reported instead of leaving the app in an inconsistent state.

Changed

  • Deleting a project now also properly cleans up its scenarios.
  • Full data restore is now a single atomic operation instead of a separate clear + import.