Skip to content

Latest commit

 

History

History
183 lines (112 loc) · 5.17 KB

CHANGELOG.md

File metadata and controls

183 lines (112 loc) · 5.17 KB

Changelog

All notable changes to HackMD-CLI will be documented in this file.

2.6.0

Added

  • api operations, api describe, and api call commands for calling any HackMD v1 API operation, including JSON bodies, multipart image uploads, and --include for status and headers (#119)
  • config command that shows the config file path and current settings without printing the access token; --path prints only the path (#117)
  • --description flag for notes create, notes update, team-notes create, and team-notes update (#119)
  • --root flag to move notes and folders to the root folder, and --clear to clear a note description or a folder description, icon, or color (#119)
  • --noteId flag on team-notes to show a single team note, and --limit flag on history (#119)
  • --title flag for notes update and team-notes update (#115)
  • Piped stdin content for notes update and team-notes update (#112)

Changed

  • Faster global npm installation: build tools moved to development dependencies and oclif upgraded (#121)
  • Commands now fail with a clear error instead of prompting when no access token is configured and stdin is not a terminal (#121)
  • Update commands reject conflicting flags (such as --root with --parentFolderId, or stdin with --content) and empty updates before sending a request (#112, #119)
  • @hackmd/api upgraded to 2.8.0 (#119)

Fixed

  • export prints note content exactly, without adding a trailing newline (#113)

2.5.1

Added

  • --tags flag for notes create, notes update, team-notes create, and team-notes update
  • Tags column on notes and team-notes list output
  • --readPermission, --writePermission, and --permalink flags for notes update and team-notes update
  • Automated npm prereleases and GitHub pre-releases from the develop branch

Changed

  • Agent skill now includes workflow verification steps and an error-handling table
  • CodiMD compatibility notice now points to the standalone codimd-cli

Fixed

  • readPermission and writePermission flags no longer overwrite each other when both are set

2.5.0

Added

  • Personal folder commands: folders, folders create, folders update, folders delete, and folders order
  • Team folder commands: team-folders, team-folders create, team-folders update, team-folders delete, and team-folders order
  • Agent skill (hackmd-cli/SKILL.md) with auto-packaging scripts for Cursor and other AI tooling

Changed

  • Upgraded @hackmd/api to v2.6.0

Fixed

  • Folder update command now returns silently on success
  • Folder command examples use hex color codes

2.4.0

Added

  • Smoke tests for built CLI binary verification
  • Integration tests for login, notes, and whoami commands
  • GitHub Actions workflow for automated unit and smoke test execution
  • GitHub Actions workflow for automated package publishing to npm
  • pnpm as the package manager

Changed

  • Migrated from Yarn to pnpm for dependency management
  • Upgraded Node.js requirement from >=12.0.0 to >=24.0.0
  • Modernized ESLint configuration (migrated from .eslintrc to eslint.config.mjs)
  • Upgraded ESLint dependencies and fixed linting issues
  • Updated test infrastructure and configuration
  • Improved CI/CD workflows

Fixed

  • Various linting issues across the codebase
  • Build process to run before smoke tests
  • Config test workflow configuration

2.3.2

Changed

  • Replaced oclif-completion with custom fork for autocomplete functionality

2.3.1

Added

  • Added autocomplete plugin support

2.3.0

Changed

  • Updated README documentation
  • Added /lib to package files

2.2.0

Added

  • Support --editor option for team note creation

Changed

  • Migrated from npm to Yarn as package manager
  • Upgraded oclif dependencies
  • Upgraded various dependencies

Fixed

  • Removed dev-cli references
  • Fixed lint errors and typing issues
  • Added test helper improvements

2.1.0

Added

  • Support $EDITOR environment variable for creating notes with content

Changed

  • Upgraded Node.js requirement from >=10.0.0 to >=12.0.0
  • Upgraded oclif to version 18
  • Updated CI workflow to use Node.js 18

Fixed

  • Fixed config file creation to ensure it's present with proper initialization
  • Fixed tslint issues

2.0.2

Fixed

  • Fixed stdin unavailable read when accessing stdin.fd

2.0.1

Added

  • Added export command to export note content

Changed

  • Upgraded Node.js requirement to >=17.0.0
  • Replaced lodash with lodash.defaults package for smaller bundle size

Fixed

  • Fixed stdin stream not being consumed and being paused
  • Removed teamPath from notes create command documentation

Removed

  • Removed unused inquirer dependency

2.0.0

Added

  • Rewrite old and add new commands supported by v2 @hackmd/api
  • Github Action CI for config testing

Changed

  • Migrate oclif to v2.5.0
  • Change to use hackmd api end point URL and and access token for authentication

Removed

  • Remove commands based on deprecated v1 @hackmd/api, including import, export
  • CodiMD has not been supported