Skip to content

v1.2.0

Choose a tag to compare

@myxiaoao myxiaoao released this 26 Mar 08:45
· 36 commits to master since this release

What's Changed

Bug Fixes

  • Fix edit-connection creating duplicates — editing a connection now calls update_connection instead of always inserting a new record

Security

  • SSH known_hosts verification — implement TOFU (Trust On First Use) host key checking against ~/.ssh/known_hosts, reject connections on key mismatch (MITM protection)
  • SSL verify_server enforcement — verify_server flag now correctly switches between VerifyCa and Required/Require SSL modes for MySQL and PostgreSQL

Performance

  • Batch metadata queries — get_tables reduced from 5N+1 to 6 fixed queries per schema read

Refactoring

  • Split ConnectionForm into sub-components (formMapper, useConnectionForm, BasicTab/SshTab/SslTab)
  • Split main.rs into commands.rs + driver.rs modules
  • Split mysql.rs and postgres.rs into reader/generator sub-modules
  • Extract generic compare_named_items for diff comparator
  • Extract SqlGenerator delegation macro
  • Extract shared validate_fk_action
  • Extract load_connection / create_driver command helpers
  • Extract SQL header/footer generation to src/lib/sql/
  • Extract ConnectionSelector component from SyncPage
  • Split config.rs unit tests to config_tests.rs

Maintenance

  • Sync APP_VERSION with package.json via Vite define
  • i18n for all toast messages in mutations
  • Fix isSaving to include both save and update mutation states
  • Remove duplicate #[test] attribute
  • Add staleTime/gcTime to database list query cache
  • Add DialogDescription for a11y compliance
  • Remove empty react-vendor build chunk