Changelog 8 min read

PB Manager Changelog

PocketBase Manager v0.5-3

Changed

  • Enhanced logging control for PM2 and Nginx operations, allowing detailed output only when complete logging is enabled. Updated most logs to display correctly depending on if 'completeLogging' is true or not.

PocketBase Manager v0.5-2

Added

  • Added functionality to automatically check and update the Nginx global configuration to include the client_max_body_size setting, enhancing support for larger request bodies. This includes a new code block to add max body size to http, ensuring compatibility with certain Nginx versions.

PocketBase Manager v0.5-1

Added

  • Updated NGINX configuration to include clientMaxBody settings for server and location, enhancing compatibility based on NGINX version.

Fixed

  • Corrected the package update command for Arch Linux to ensure successful system updates.

PocketBase Manager v0.5-0

Added

  • Enhanced the installation script to log detailed installation processes, ensuring better troubleshooting and user guidance during the setup of the pb-manager CLI and its dependencies.

PocketBase Manager v0.5-0 rc2

Changed

  • Updated CLI configuration options for improved logging.

Removed

  • The setup process for the optional pb-manager API server has been removed, streamlining the installation script for users.
  • The pb-manager API server file, which handled instance management and system status, has been removed.

Fixed

  • Updated installation instructions to clarify that the API server is no longer included as part of the pb-manager installation process.

PocketBase Manager v0.5-0 rc1

Added

  • Enhanced the PocketBase Manager with improved command execution handling and added support for version caching.
  • The installation script now supports automatic configuration of systemd for WSL2.

Changed

  • Updated the Node.js installation requirement to version 20.x or newer for better compatibility and performance.
  • Enhanced API with structured request validation and improved command execution for managing instances, including adding, cloning, resetting, and removing instances.

PocketBase Manager v0.4-0

Fixed

  • Improved logging and error reporting for API commands by including action context and raw output data to enhance troubleshooting.
  • Corrected internal API request error messages and logging details, and updated the CLI version display to reflect the current version number.

PocketBase Manager v0.4-0 rc3

Added

  • New API endpoints have been introduced for system management, including updating the ecosystem, setting the default Certbot email, and retrieving system status information.
  • Commands to update the PM2 ecosystem configuration, reload the process manager, and set the default Certbot email have been added to improve automation and certificate management.

PocketBase Manager v0.4-0 rc2

Added

  • New API endpoints have been introduced to retrieve system statistics, fetch instance logs, clone instances, reset instances and admin passwords, renew SSL certificates, and update the PocketBase executable, expanding system management options.
  • The CLI now includes comprehensive internal functions for managing system stats, logs, cloning, resetting, updating instances, renewing certificates, and updating the executable, enabling more robust automation and lifecycle management.

PocketBase Manager v0.4-0 rc1

Added

  • Introduced a new API server for managing pb-manager instances, enabling programmatic control over starting, stopping, restarting, adding, and removing instances, as well as retrieving configuration details.
  • Enhanced the installation process to include setup and management of the pb-manager API server, allowing users to download, configure, and run an optional API backend for extended functionality.
  • Added detailed documentation about the optional pb-manager API server, including its features, setup instructions, security considerations, and integration with the main CLI tool, to improve programmatic management capabilities.

PocketBase Manager v0.3-0

Added

  • User prompts have been added for downloading binaries, reloading services, and deleting data to enhance safety and user control.
  • The setup process now includes interactive prompts for installing Node.js, npm, PM2, Nginx, and Certbot, making the installation more user-friendly.
  • Support for detecting Linux distribution types has been improved, allowing the platform to automatically adapt Nginx configuration paths, reload commands, and Certbot options based on Debian, RHEL, or Arch systems.
  • The pb-manager.js script has been enhanced to dynamically detect Linux distributions and adjust system management commands accordingly.

Changed

  • The installation script has been improved to better detect and install dependencies across various Linux distributions and WSL2 environments, providing a more robust setup process.

PocketBase Manager v0.2-5

Added

  • Introduced commands to clone PocketBase instances with full data and configuration.
  • Added functionality to renew SSL certificates, improving certificate maintenance.

Changed

  • Enhanced audit logging for CLI commands to provide better tracking and transparency.
  • Removed redundant root user checks to streamline command execution.

PocketBase Manager v0.2-4

Added

  • Introduced a new command in the pb-manager CLI to update the tool directly from GitHub, with an option to reinstall dependencies.
  • Added command aliases and improved command naming for enhanced usability.

PocketBase Manager v0.2-3

Added

  • Introduced new CLI commands to reset PocketBase instances by clearing all data and optionally creating a new admin user, as well as commands to reset admin passwords, improving instance management capabilities.

PocketBase Manager v0.2-2

Added

  • Introduced a certificate expiration check for HTTPS-enabled instances in the management dashboard, allowing users to monitor SSL certificate validity.
  • Added a new --json flag to display the result as formatted JSON when using command pb-manager list.

Changed

  • Reduced verbosity of installation logs by suppressing command output during setup.

PocketBase Manager v0.2-1

Added

  • Added a new command to regenerate and reload the PM2 ecosystem configuration.
  • Now each project will have a specific "pb_migrations" directory instead of a shared one.

Fixed

  • Fixed all Pocketbase instances using the same "pb_migrations" directory.

PocketBase Manager v0.2-0

Added

  • DNS validation for domain setup has been implemented to ensure proper configuration.
  • Audit logging of CLI commands has been enhanced for better operational transparency.
  • Automatic update notifications for new PocketBase releases have been integrated to keep users informed.
  • Explanations for new user-facing features, including audit logging, DNS validation, and PocketBase version notifications, have been added to the documentation to improve user awareness.

Changed

  • PocketBase version caching has been improved for better performance.
  • The repository name in the installation script has been corrected to ensure users download the latest version from the correct GitHub repository.

PocketBase Manager v0.1-7

Changed

  • Streamlined the deployment process by enhancing the installation script to automatically verify the Linux distribution, ensure proper privileges, and set up dependencies such as Node.js, PM2, Nginx, Certbot, and firewall rules.

PocketBase Manager v0.1-6

Added

  • A Prettier configuration file has been introduced with customized formatting settings to promote consistent code style.
  • A .gitignore file has been added to exclude the node_modules directory from version control.
  • A .prettierignore file has been included to prevent specific files and directories, such as node_modules, JSON, and Markdown files, from being formatted by Prettier.
  • The project now includes a package lock file to ensure consistent dependency management, along with Prettier added as a development dependency.
  • Configuration for the alpha-system-pbmanager tool has been set up, including scripts for starting the CLI and formatting code, facilitating easier development and usage.

Changed

  • Improvements have been made to version fetching mechanisms with fallback options, enhancing robustness.
  • Configuration validation processes have been refined for better reliability.
  • User prompts have been clarified and improved for enhanced safety and user experience.

PocketBase Manager v0.1-5

Added

  • Implemented internal functions to generate Diffie-Hellman parameters, enhancing SSL security and ensuring necessary files are created automatically for more reliable HTTPS setup.

PocketBase Manager v0.1-4

Added

  • Introduced an interactive dashboard for real-time monitoring and management of PocketBase instances, providing status overviews, resource usage insights, and control options.

Changed

  • Enhanced user instructions by including 'sudo' in commands to clarify the need for elevated privileges during configuration, setup, and dashboard management.
  • Updated the README to detail the purpose, usage, and key functionalities of the new interactive dashboard feature.

PocketBase Manager v0.1-3

Added

  • Introduced a new configurable full logging mode to enhance transparency of internal operations and facilitate debugging during setup and management tasks.
  • Updated the documentation to include information about the new option to enable or disable complete logging for more or less verbose output during command execution.

PocketBase Manager v0.1-2

Added

  • Support for HTTP/2 and customizable maximum upload size has been added to the Nginx configuration generation.
  • The setup process now enforces root privileges to ensure proper permissions and security.
  • The system now dynamically retrieves the latest PocketBase version from GitHub by default, ensuring users access the most recent stable release.

Changed

  • The user guide has been updated to clarify that all pb-manager commands must be run with sudo or as root, improving user awareness of required permissions.
  • Configuration and download logic have been enhanced to utilize the latest PocketBase version automatically.
  • Nginx configuration generation now includes support for HTTP/2 and allows customization of maximum body size, improving flexibility and security.

PocketBase Manager v0.1-1

Added

  • A comprehensive README has been added to detail the purpose, features, setup instructions, and usage of the pb-manager CLI tool for managing multiple PocketBase instances on Linux.
  • An option to create an admin (superuser) account via CLI during instance initialization has been introduced, simplifying the setup process.

Changed

  • The installation script has been improved to automatically download, set up, and configure the pb-manager CLI tool, including dependency installation, symlink creation, and firewall adjustments, making setup easier and more streamlined.
  • User guidance messages for accessing and managing the PocketBase instance have been enhanced for better clarity.