Releases: nnolan-oss/b24-cli
v1.2.0
What's New
CLI Commands
Full set of non-interactive commands — use b24 directly from terminal without opening the interactive menu.
b24 tasks # List your tasks
b24 task <id> # Task details (--json supported)
b24 comment <id> # Add a comment
b24 time <id> # Log time with optional comment
b24 edit <id> # Edit title, description, priority, deadline, responsible
b24 create # Create a new task
b24 delete <id> # Delete a task
b24 status <id> # Change task status
b24 users # List active users
b24 projects # List projects
b24 profile # View and edit your profile
Interactive Menu
- Added Profile screen — view and edit user details
- Added Day Start screen with localization support
v1.1.2
Bug Fixes
-
View Comments — fixed comments not loading on Bitrix24 v25.700.0+. Switched from deprecated task.commentitem.getlist to the new im.dialog.messages.get API. System and bot messages are automatically filtered out.
-
Package size — reduced unpacked size from 126 kB to 92.8 kB by removing .d.ts type declaration files (not needed for a CLI tool).
New
-
Tests — set up Vitest testing framework with 46 tests covering config, i18n, api/client, and api/tasks.
-
Husky — added Git hooks:
-
commit-msg — enforces commit message prefix format (feat:, fix:, chore:, etc.)
-
pre-push — runs the full test suite before every push
v1.1.1
Bug Fixes
- View Comments — fixed comments not loading on Bitrix24 instances running v25.700.0+. The old task.commentitem.getlist API was deprecated in newer versions; now uses im.dialog.messages.get via the task's chat dialog.
Improvements
- Smaller package size — removed TypeScript declaration files (.d.ts) from the published package. Unpacked size reduced from 126 kB to 92.8 kB.
v1.1.0: New Features & Major Kanban Fixes
This release introduces several new, highly requested features and includes critical bug fixes, particularly for users working with Scrum/Sprint projects.
New Features
- Create & Edit Tasks: You can now create and edit tasks directly from the CLI.
- To create: Navigate to
Main Menu > Create new task. The CLI will guide you to select a project and then enter the task details. New tasks are automatically added to the active sprint if one exists. - To edit: Select a task and choose
Edit taskfrom the actions menu to update its title and description.
- To create: Navigate to
- Delete Tasks: A
Delete taskoption has been added to the task actions menu, including a confirmation step to prevent accidental deletions. - View Task History: A new
View historyaction allows you to see the full audit trail for a task, showing all changes in reverse chronological order. - View Task Description: The task detail screen now displays the full task description.
- View & Manage Checklists:
- Checklists are now visible on the task detail screen.
- Press
Cto enter interactive mode, use arrow keys to navigate, andEnterto toggle checklist items between complete and incomplete.
- Display Kanban Stage in Task List: The main task list now shows the specific Kanban stage of a task (e.g., "In Progress", "Code Review") instead of the generic status, providing a more informative overview.
Bug Fixes & Improvements
- Fixed Scrum/Sprint Stage Loading: The "Move to stage" screen now correctly identifies and displays Kanban stages for Scrum/Sprint projects instead of showing the default user stages. This was a major bug that has now been resolved.
- Fixed Task Movement in Sprints: While moving tasks within a sprint via the API is not fully supported by Bitrix24, the CLI now correctly handles the process and provides clearer feedback if an error occurs.
- Fixed List Scrolling: Long lists (e.g., "My Tasks", "Select Project") are now paginated with a
limitof 10 items, preventing the terminal from overflowing and making navigation much smoother. - Improved UI Stability: Fixed several bugs related to component rendering and state management that caused crashes or hangs, including:
- Resolved an
Inkerror when rendering numeric values. - Prevented keyboard input conflicts between the checklist and a background menu.
- Fixed application hangs after a task was successfully moved.
- Resolved an
- Localization: Added and corrected translations for all new features across English, Uzbek, and Russian.
v1.0.1 - fix
This is a patch release that fixes build and installation issues for Nix users.
Fixes
- Nix: Corrected the
npmDepsHashinflake.nixto resolve the "hash mismatch" error. - Nix: Added
flake.lockto the repository to ensure reproducible builds.
v1.0.0 - Initial Release
This is the first stable release of b24-cli, a command-line interface tool designed to help you manage your Bitrix24 projects directly from the terminal.
Core Features
- View, filter, and search for tasks.
- Read detailed task information, view comments, and add new ones.
- Track time spent on tasks.
- Delegate tasks and update their statuses.
- Supports multiple languages (EN, RU, UZ).