Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: serverpod/cli_tools
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ces-dev
Choose a base ref
...
head repository: serverpod/cli_tools
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 19 commits
  • 70 files changed
  • 4 contributors

Commits on May 29, 2026

  1. feat(cli_tools): Added Logger.progressStream method (#108)

    Supports displaying multiple updated status strings during the run of a
    progress spinner.
    
    Also makes progress and progressStream to handle exceptions by ending
    the animation with a failure message and rethrowing.
    
    Also adds cursor rule file for writing tests according to our given -
    when - then convention.
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    ## Summary by CodeRabbit
    
    * **New Features**
    * Streamed progress display with per-event message formatting and
    returns the last event value.
      * Added Dart test naming/convention rule for Given–when–then style.
    
    * **Bug Fixes**
    * More reliable progress handling: proper cleanup, failure signaling,
    and error propagation for streamed progress.
    
    * **Documentation**
      * Clarified progress spinner behavior and options.
    
    * **Tests**
    * New tests covering progress and streamed-progress behaviors,
    success/failure cases, paragraph option, and output suppression.
    
    <!-- review_stack_entry_start -->
    
    [![Review Change
    Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/serverpod/cli_tools/pull/108?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)
    
    <!-- review_stack_entry_end -->
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    christerswahn authored May 29, 2026
    Configuration menu
    Copy the full SHA
    fac111a View commit details
    Browse the repository at this point in the history
  2. chore: Bump min Dart to 3.6; introduced Dart workspace (#109)

    - Minimum Dart SDK version bumped from 3.3 to 3.6
    - Made repository a Dart workspace
    - Support Melos versions 7.x
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    ## Release Notes
    
    * **Chores**
      * Increased minimum Dart SDK version requirement to 3.6
      * Updated CI testing to use Dart 3.6+
      * Removed obsolete code comments from test files
      * Configured workspace for improved package management
    
    <!-- review_stack_entry_start -->
    
    [![Review Change
    Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/serverpod/cli_tools/pull/109?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)
    
    <!-- review_stack_entry_end -->
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    christerswahn authored May 29, 2026
    Configuration menu
    Copy the full SHA
    f42232d View commit details
    Browse the repository at this point in the history
  3. chore(release): Publish cli_tools 0.12.0 and config 0.9.0 (#110)

    - config@0.9.0
     - cli_tools@0.12.0
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    * **New Features**
      * Added Logger.progressStream method to CLI tools
    
    * **Chores**
      * Updated minimum Dart SDK requirement to 3.6 for both packages
      * Updated config dependency to v0.9.0
    
    <!-- review_stack_entry_start -->
    
    [![Review Change
    Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/serverpod/cli_tools/pull/110?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)
    
    <!-- review_stack_entry_end -->
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    christerswahn authored May 29, 2026
    Configuration menu
    Copy the full SHA
    fae5bd1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    87b037e View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2026

  1. fix(cli_tools): Matching behavior in VoidLogger; fixed regression (#112)

    Make VoidLogger.progressStream throw same exception as StdOutLogger does
    on empty stream.
    
    Fixed regression in progress spinner on unsuccessful runner.
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    ## Summary by CodeRabbit
    
    * **New Features**
    * Let callers provide a custom success predicate so progress can be
    marked success or failure based on the final result.
    
    * **Bug Fixes**
    * Better error handling for empty progress streams with a clearer "No
    events in stream" error.
    
    * **Tests**
    * Added/updated tests to verify success/failure markers and output for
    progress flows.
    
    * **Documentation**
      * Clarified progress behavior and the optional success predicate.
    
    <!-- review_stack_entry_start -->
    
    [![Review Change
    Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/serverpod/cli_tools/pull/112?utm_source=github_walkthrough&utm_medium=github&utm_campaign=change_stack)
    
    <!-- review_stack_entry_end -->
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    christerswahn authored Jun 1, 2026
    Configuration menu
    Copy the full SHA
    861fe7f View commit details
    Browse the repository at this point in the history
  2. chore(release): Publish cli_tools 0.13.0 (#111)

    Publish next cli_tools with the improvements on the `Analytics` class.
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    ## Summary by CodeRabbit
    
    * **New Features**
      * Ensures analytics events are reliably sent before the CLI exits.
    
    * **Breaking Changes**
    * Analytics behavior updated; callers may need to adapt to the new
    lifecycle.
    
    * **Bug Fixes**
      * Fixed an exception condition in progress reporting.
      * Restored progress spinner behavior for failed runner executions.
    
    * **Documentation**
      * Updated changelog for the 0.13.0 release.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    marcelomendoncasoares authored Jun 1, 2026
    Configuration menu
    Copy the full SHA
    bfdf983 View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2026

  1. feat(cli_tools): Make progress display more configurable (#113)

    - Added successMessage param to progress()
    - Make ... suffix configurable in progress()
    
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    * **New Features**
    * Progress indicators now support customizable ellipsis strings instead
    of the hardcoded default.
      * Progress operations accept an optional success message parameter.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    christerswahn authored Jun 3, 2026
    Configuration menu
    Copy the full SHA
    8df886e View commit details
    Browse the repository at this point in the history
  2. chore(release): Publish cli_tools 0.13.1 (#114)

    - cli_tools@0.13.1
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    
    ## Summary by CodeRabbit
    
    * **New Features**
    * Progress display is now more configurable, providing enhanced
    flexibility and control over progress reporting options in CLI tools.
    
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    christerswahn authored Jun 3, 2026
    Configuration menu
    Copy the full SHA
    fc83eca View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2026

  1. feat: Adds serverpod logging package (#115)

    This PR adds a `serverpod_logging` package that contains tools for
    bridging logging between Serverpod framework and CLI tooling.
    
    <!-- This is an auto-generated comment: release notes by coderabbit.ai
    -->
    ## Summary by CodeRabbit
    
    * **New Features**
    * Introduced the serverpod_logging package: global logger, severity
    levels, scoped progress tracking, interactive spinners, and text output;
    test helpers for assertions.
    
    * **Documentation**
      * Added package README and initial CHANGELOG (v0.0.1).
    
    * **Tests**
      * Added tests covering scoped progress behavior and error handling.
    
    * **Chores**
    * Added package manifest, analysis config, and .gitignore for the new
    package.
    <!-- end of auto-generated comment: release notes by coderabbit.ai -->
    Crazelu authored Jun 4, 2026
    Configuration menu
    Copy the full SHA
    10816b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03c0c33 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    048465e View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2026

  1. chore(serverpod_logging): Lower sdk constraint to 3.6, enable workspa…

    …ce, tweak ci, stop tracking pubspec.lock, format code (#119)
    
    - lower the SDK floor to ^3.6.0, 
    - pull the packages into the workspace, 
    - stop tracking the root pubspec.lock, 
    - reformat to 3.6 short style, 
    - and tweak the CI matrix.
    nielsenko authored Jun 5, 2026
    Configuration menu
    Copy the full SHA
    c3ce540 View commit details
    Browse the repository at this point in the history
  2. fix: Wire MultiLogWriter.add into the writer chain (#120)

    Tiny, but important.
    Test added to catch regressions.
    nielsenko authored Jun 5, 2026
    Configuration menu
    Copy the full SHA
    3b7a945 View commit details
    Browse the repository at this point in the history
  3. feat: Add isolated_object package (#121)

    New dependency-free `isolated_object` package extracts the
    `IsolatedObject` concurrency primitive (previously duplicated and
    drifted between `serverpod` and `relic`) into one shared home, with a
    merged test suite.
    nielsenko authored Jun 5, 2026
    Configuration menu
    Copy the full SHA
    11a7fcf View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2026

  1. test: Add contract tests for Log/LogWriter (#122)

    Framework-level tests pinning the Log contract 
    
    - progress scoping & no-relabel, 
    - synchronous (FutureOr) runners,
    - core dispatch + scoping
    - level gating, 
    - in-order writes, 
    - best-effort error swallowing, 
    - scope fallback.
    nielsenko authored Jun 6, 2026
    Configuration menu
    Copy the full SHA
    4c8220b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a9cf5b3 View commit details
    Browse the repository at this point in the history

Commits on Jun 8, 2026

  1. feat: Add serverpod_logging_cli bridge package (#124)

    New `serverpod_logging_cli` bridge package.
    
    Includes:
    - `ServerpodCliLogger` (a `cli_tools.Logger` built on `Log`/`LogWriter`)
    - `StdOutLogWriter` (a `LogWriter` build on `cli_Tools.StdOutLogger`), 
    - plus the isolate-backed `IsolatedLogWriter`
    nielsenko authored Jun 8, 2026
    Configuration menu
    Copy the full SHA
    539e21f View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2026

  1. fix(cli_tools): Prevent analytics send failures from crashing the hos…

    …t process (#125)
    
    Make both providers' `sendEvent` properly async so they return reified
    `Future<void>`s, and harden `Analytics.track` to swallow errors with
    try/catch instead of `catchError`, so implementations returning foreign
    futures cannot crash the process.
    nielsenko authored Jun 11, 2026
    Configuration menu
    Copy the full SHA
    2dcce5b View commit details
    Browse the repository at this point in the history
  2. chore(release): Publish cli_tools 0.13.2 (#126)

    - cli_tools@0.13.2
    nielsenko authored Jun 11, 2026
    Configuration menu
    Copy the full SHA
    740e3ac View commit details
    Browse the repository at this point in the history
Loading