network/CHANGELOG.md
anonpenguin23 1bc6292db3
chore: streamline GoReleaser configuration to build only network-cli binary
- Updated `.goreleaser.yaml` to focus solely on building the `network-cli` binary, removing configurations for other binaries (node, gateway, identity).
- Adjusted archive settings to reflect changes in the build process, resulting in cleaner and smaller release packages.
- Updated version in `Makefile` to 0.52.3-beta and documented changes in `CHANGELOG.md`.
2025-10-26 06:47:17 +02:00

7.8 KiB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and adheres to Semantic Versioning.

[Unreleased]

Added

Changed

  • GoReleaser: Updated to build only network-cli binary (v0.52.2+)
    • Other binaries (node, gateway, identity) now installed via network-cli setup
    • Cleaner, smaller release packages
    • Resolves archive mismatch errors
  • GitHub Actions: Updated artifact actions from v3 to v4 (deprecated versions)

Deprecated

Fixed

  • Fixed install script to be more clear and bug fixing

[0.52.1] - 2025-10-26

Added

  • CLI Refactor: Modularized monolithic CLI into pkg/cli/ package structure for better maintainability
    • New environment.go: Multi-environment management system (local, devnet, testnet)
    • New env_commands.go: Environment switching commands (env list, env switch, devnet enable, testnet enable)
    • New setup.go: Interactive VPS installation command (network-cli setup) that replaces bash install script
    • New service.go: Systemd service management commands (service start|stop|restart|status|logs)
    • New auth_commands.go, config_commands.go, basic_commands.go: Refactored commands into modular pkg/cli
  • Release Pipeline: Complete automated release infrastructure via .goreleaser.yaml and GitHub Actions
    • Multi-platform binary builds (Linux/macOS, amd64/arm64)
    • Automatic GitHub Release creation with changelog and artifacts
    • Semantic versioning support with pre-release handling
  • Environment Configuration: Multi-environment switching system
  • Comprehensive Documentation
    • .cursor/RELEASES.md: Overview and quick start
    • .cursor/goreleaser-guide.md: Detailed distribution guide
    • .cursor/release-checklist.md: Quick reference

Changed

  • CLI Refactoring: cmd/cli/main.go reduced from 1340 → 180 lines (thin router pattern)
    • All business logic moved to modular pkg/cli/ functions
    • Easier to test, maintain, and extend individual commands
  • Installation: scripts/install-debros-network.sh now APT-ready with fallback to source build
  • Setup Process: Consolidated all installation logic into network-cli setup command
    • Single unified installation regardless of installation method
    • Interactive user experience with clear progress indicators

Removed

[0.51.9] - 2025-10-25

Added

  • One-command make dev target to start full development stack (bootstrap + node2 + node3 + gateway in background)
  • New network-cli config init (no --type) generates complete development stack with all configs and identities
  • Full stack initialization with auto-generated peer identities for bootstrap and all nodes
  • Explicit control over LibP2P listen addresses for better localhost/development support
  • Production/development mode detection for NAT services (disabled for localhost, enabled for production)
  • Process management with .dev/pids directory for background process tracking
  • Centralized logging to ~/.debros/logs/ for all network services

Changed

  • Simplified Makefile: removed legacy dev commands, replaced with unified make dev target
  • Updated README with clearer getting started instructions (single make dev command)
  • Simplified network-cli config init behavior: defaults to generating full stack instead of single node
  • network-cli config init now handles bootstrap peer discovery and join addresses automatically
  • LibP2P configuration: removed always-on NAT services for development environments
  • Code formatting in pkg/node/node.go (indentation fixes in bootstrapPeerSource)

Deprecated

Removed

  • Removed legacy Makefile targets: run-example, show-bootstrap, run-cli, cli-health, cli-peers, cli-status, cli-storage-test, cli-pubsub-test
  • Removed verbose dev-setup, dev-cluster, and old dev workflow targets

Fixed

  • Fixed indentation in bootstrapPeerSource function for consistency
  • Fixed gateway.yaml generation with correct YAML indentation for bootstrap_peers
  • Fixed script for running and added gateway running as well

Security

[0.51.6] - 2025-10-24

Added

  • LibP2P added support over NAT

Changed

Deprecated

Removed

Fixed

[0.51.5] - 2025-10-24

Added

  • Added validation for yaml files
  • Added authenticaiton command on cli

Changed

  • Updated readme
  • Where we read .yaml files from and where data is saved to ~/.debros

Deprecated

Removed

Fixed

  • Regular nodes rqlite not starting

[0.51.2] - 2025-09-26

Added

Changed

  • Enhance gateway configuration by adding RQLiteDSN support and updating default connection settings. Updated config parsing to include RQLiteDSN from YAML and environment variables. Changed default RQLite connection URL from port 4001 to 5001.
  • Update CHANGELOG.md for version 0.51.2, enhance API key extraction to support query parameters, and implement internal auth context in status and storage handlers.

[0.51.1] - 2025-09-26

Added

Changed

  • Changed the configuration file for run-node3 to use node3.yaml.
  • Modified select_data_dir function to require a hasConfigFile parameter and added error handling for missing configuration.
  • Updated main function to pass the config path to select_data_dir.
  • Introduced a peer exchange protocol in the discovery package, allowing nodes to request and exchange peer information.
  • Refactored peer discovery logic in the node package to utilize the new discovery manager for active peer exchange.
  • Cleaned up unused code related to previous peer discovery methods.

Deprecated

Removed

Fixed

[0.50.0] - 2025-09-23

Added

Changed

Deprecated

Removed

Fixed

  • Fixed wrong URL /v1/db to /v1/rqlite

Security

[0.50.0] - 2025-09-23

Added

  • Created new rqlite folder
  • Created rqlite adapter, client, gateway, migrations and rqlite init
  • Created namespace_helpers on gateway
  • Created new rqlite implementation

Changed

  • Updated node.go to support new rqlite architecture
  • Updated readme

Deprecated

Removed

  • Removed old storage folder
  • Removed old pkg/gatway storage and migrated to new rqlite

Fixed

Security

[0.44.0] - 2025-09-22

Added

  • Added gateway.yaml file for gateway default configurations

Changed

  • Updated readme to include all options for .yaml files

Deprecated

Removed

  • Removed unused command setup-production-security.sh
  • Removed anyone proxy from libp2p proxy

Fixed

Security

[0.43.6] - 2025-09-20

Added

  • Added Gateway port on install-debros-network.sh
  • Added default bootstrap peers on config.go

Changed

  • Updated Gateway port from 8080/8005 to 6001

Deprecated

Removed

Fixed

Security

[0.43.4] - 2025-09-18

Added

  • Added extra comments on main.go
  • Remove backoff_test.go and associated backoff tests
  • Created node_test, write tests for CalculateNextBackoff, AddJitter, GetPeerId, LoadOrCreateIdentity, hasBootstrapConnections

Changed

  • replaced git.debros.io with github.com

Deprecated

Removed

Fixed

Security

[0.43.3] - 2025-09-15

Added

  • User authentication module with OAuth2 support.

Changed

  • Make file version to 0.43.2

Deprecated

Removed

  • Removed cli, network-cli binaries from project
  • Removed AI_CONTEXT.md
  • Removed Network.md
  • Removed unused log from monitoring.go

Fixed

  • Resolved race condition when saving settings.

Security

Initial release.