Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@starjustice starjustice released this 11 Feb 09:35
1bdeb3a

What's Changed

  • [Frontend][Version][Update] lexicon version v3.0.0 by @starjustice in #76

Lexicon V3.0.0 – Major Updates and Improvements

Architectural Overhaul and Key Changes

Lexicon V3.0.0 introduces significant changes to its core architecture. In this release, we have fully transitioned away from the prose backend implementation, shifting all API communication to the frontend via Apollo Link Rest. This change streamlines data fetching, reduces backend dependencies, and enhances performance by leveraging Apollo’s efficient caching mechanisms.

Authentication Revamp

We have completely reworked the authentication system, replacing cookie-based authentication with the Discourse User API Keys Specification. This new approach enhances security and simplifies user login by integrating directly with Discourse’s authentication flow. As part of this update:

  • The Lexicon login scene has been removed in favor of Discourse’s web-based login.
  • Due to this authentication change, some features previously supported via the Discourse Lexicon Plugin are now unavailable, including:
    • Login with Apple
    • Login with Link
    • Account Activation via Link

These changes were made to ensure better compatibility with Discourse’s authentication model and to provide a more seamless login experience across platforms.

New Features and Enhancements

Beyond the architectural changes, this release includes several exciting new features and enhancements:

Tablet Mode Support

Lexicon now offers an optimized tablet mode, significantly improving the user interface (UI) and user experience (UX) on larger screens. This update enhances layout responsiveness, making interactions smoother and more intuitive on tablets.

Expo 51 Upgrade

We've upgraded the project to Expo SDK 51, ensuring compatibility with the latest React Native features, security patches, and performance improvements.

Major Poll Feature Improvements

We've made significant improvements to the Poll feature, refining its functionality and enhancing its usability across different discussion threads.

Bug Fixes and Stability Improvements

This release also includes numerous bug fixes and refinements aimed at improving overall stability and performance:

  • [Frontend][User Status] Fixed an issue where users were unable to complete status edits after the last modification.
  • [Frontend][Message] Resolved a bug where message seen indicators were not rendering correctly.
  • [Frontend] Addressed a problem where participants disappeared from a message thread after leaving.
  • [Frontend][Backend][Navigation] Fixed navigation inconsistencies between private and public Discourse instances.
  • [Frontend] Improved handling of scrollToIndex errors, fixed notification pagination issues, and resolved plugin settings problems.
  • [Frontend] Introduced Type support for Fragment Polls in the message detail query.
  • [Frontend] Fixed caching issues with notification reads and message detail refreshes.
  • [Frontend] Resolved an issue where the first post was missing when refetching topic details after replying.
  • [Frontend] Ensured that post details are properly refetched after a user submits a reply.

Full Changelog: v2.2.0...v3.0.0