Skip to content

v1.9.0

Choose a tag to compare

@imprvhub imprvhub released this 14 Jun 08:03

v1.9.0 acaaa67: Major Architectural Overhaul to Token-Based Usage System

Overview

This release represents a significant architectural shift for Gitset, moving from a request-based usage tracking system to a more flexible and granular token-based model. The primary purpose of this change is to provide users with a clearer understanding of resource consumption, offer more generous free usage, and enable more sophisticated pricing tiers based on the actual complexity of operations performed by the AI tools.

This overhaul includes migrating the database infrastructure from Supabase to Turso, which offers performance benefits, particularly for usage validation. The trial plan has been replaced by a substantial monthly free token allocation, and a new Enterprise tier has been introduced to cater to high-volume users.

The expected impact on users is a more transparent and flexible usage experience. The increased free allocation provides significantly more value for basic use, while the token system allows for more precise tracking and potentially more cost-effective usage for paid plans depending on the mix of tools used. Users should be aware of the breaking changes related to the usage model and plan structure.

Release Details

  • Release Date: 2025-06-14 07:44:44 UTC
  • Commit: acaaa67
  • Author: Iván Luna
  • Branch(es): main

Changes

Breaking Changes

  • Usage Model Migration: The system has transitioned from tracking usage by the number of requests to tracking usage by tokens consumed. This fundamentally changes how usage is measured and limited.
  • Database Infrastructure: The underlying database has been migrated from Supabase to Turso. While this is primarily an internal change, it required significant schema and infrastructure updates.
  • Plan Structure: The trial plan has been removed in favor of generous free token allocation
  • Subscription Tiers: The previous subscription plans have been replaced with new token-based tiers: Basic (300K free tokens/month), Pro (1M tokens/$2.99/month), and Enterprise (10M tokens/$19.99/month).

New Features

  • Token-Based Usage System: Implemented a new system to track user consumption based on tokens, providing more granular and accurate usage measurement across all tools.
  • Custom Templates Support: Added support for users to utilize custom templates within AI tools such as the README, Issue, and Pull Request generators, allowing for greater personalization of output.
  • Real-time Token Usage Monitoring: Introduced capabilities for real-time monitoring and analytics of token consumption, providing users with immediate visibility into their usage.
  • Granular Token Consumption: Token costs are now assigned based on the complexity and output size of each operation, rather than a fixed cost per request.
  • Gitset MCP Infrastructure: Prepared the infrastructure for the Gitset Model Context Protocol (MCP), laying the groundwork for future integration with a local agent.
  • Transparent Usage Tracking: Enhanced visibility into token usage across all 9 available tools.

Improvements

  • Increased Free Allocation: The free usage limit has been significantly increased from 10 requests to 300,000 tokens per month, representing approximately a 30x improvement in potential usage depending on the tools used.
  • Faster Limitation Validation: Migration to the Turso database has resulted in approximately 3x faster validation of user usage limits.
  • Documentation Updates: Updated pricing pages, FAQ, and terms of service to reflect the new token-based system and plan structure.

Added Projects

  • Gitset MCP Infrastructure: Initial implementation and preparation for the Model Context Protocol (MCP) server, designed to support future local agent integrations. (Corresponds to src/pages/mcp.astro)

Modified Files

  • README.md (modified)
    • Changes: 236 total
    • Added: 157 lines
    • Removed: 79 lines
  • package-lock.json (modified)
    • Changes: 4 total
    • Added: 2 lines
    • Removed: 2 lines
  • package.json (modified)
    • Changes: 2 total
    • Added: 1 lines
    • Removed: 1 lines
  • public/styles/global.css (modified)
    • Changes: 27 total
    • Added: 14 lines
    • Removed: 13 lines
  • src/components/layout/Footer.astro (modified)
    • Changes: 21 total
    • Added: 18 lines
    • Removed: 3 lines
  • src/db/schema.ts (modified)
    • Changes: 2 total
    • Added: 1 lines
    • Removed: 1 lines
  • src/env.d.ts (modified)
    • Changes: 2 total
    • Added: 1 lines
    • Removed: 1 lines
  • src/layouts/Sidebar.astro (modified)
    • Changes: 14 total
    • Added: 7 lines
    • Removed: 7 lines
  • src/middleware.ts (modified)
    • Changes: 1 total
    • Added: 0 lines
    • Removed: 1 lines
  • src/pages/activate.astro (removed)
    • Changes: 40 total
    • Added: 0 lines
    • Removed: 40 lines
  • src/pages/changelog.astro (added)
    • Changes: 358 total
    • Added: 358 lines
    • Removed: 0 lines
  • src/pages/cli-assistant.astro (removed)
    • Changes: 160 total
    • Added: 0 lines
    • Removed: 160 lines
  • src/pages/commit-messages.astro (modified)
    • Changes: 557 total
    • Added: 362 lines
    • Removed: 195 lines
  • src/pages/contact.astro (modified)
    • Changes: 24 total
    • Added: 11 lines
    • Removed: 13 lines
  • src/pages/download.astro (modified)
    • Changes: 669 total
    • Added: 197 lines
    • Removed: 472 lines
  • src/pages/faq.astro (modified)
    • Changes: 156 total
    • Added: 114 lines
    • Removed: 42 lines
  • src/pages/mcp.astro (added)
    • Changes: 278 total
    • Added: 278 lines
    • Removed: 0 lines
  • src/pages/pricing.astro (modified)
    • Changes: 135 total
    • Added: 25 lines
    • Removed: 110 lines
  • src/pages/privacy.astro (modified)
    • Changes: 69 total
    • Added: 47 lines
    • Removed: 22 lines
  • src/pages/readme-generator.astro (modified)
    • Changes: 17 total
    • Added: 11 lines
    • Removed: 6 lines
  • src/pages/success.astro (modified)
    • Changes: 2 total
    • Added: 1 lines
    • Removed: 1 lines
  • src/pages/terms.astro (modified)
    • Changes: 168 total
    • Added: 71 lines
    • Removed: 97 lines

Additional Notes

This release includes significant breaking changes related to the usage tracking and subscription model. Users previously on the trial plan will now fall under the Basic (free) tier with 300,000 monthly tokens. Existing paid users will be migrated to the new token-based plans.

Key migration steps involved updating the database schema (src/db/schema.ts), modifying environment variables (src/env.d.ts), and migrating existing user limitation data from the old Supabase infrastructure to the new Turso database.

Token consumption varies by tool complexity. Approximate token ranges per operation are: Dependencies (100-250), Commits (500-2K), Releases (800-2.5K), Issues (1.2K-3.4K), README (1.5K-4K), PRs (1.5K-3.5K), Decommenting (3.9K-5K). These ranges are estimates and actual consumption may vary based on input size and complexity.

For more information please review the changelog section.

Full Changelog: 1.8.0...1.9.0