Skip to content

Latest commit

 

History

History
226 lines (174 loc) · 16.3 KB

CHANGELOG.md

File metadata and controls

226 lines (174 loc) · 16.3 KB

0.1.0-develop.3 (2023-09-09)

0.3.2

Patch Changes

  • fd503f1: dont pass nil as a second argument

0.3.1

Patch Changes

  • 499b46a: call AddPluginWithBuild if we have Version set

0.3.0

Minor Changes

  • 1347612: ---

    Release Notes

    Major Features

    • Host Scanner Integration 🔍
      • Implemented host scanner with hostscore.info API integration
      • Added advanced host scanning and price optimization capabilities
      • Introduced retry support on host scanning operations

    Renter System Improvements

    • Host Management
      • Added new Hosts method for direct usable host querying
      • Improved host scanning and autopilot testing

    System Enhancements

    • Authentication

      • Enhanced JWT token validation with ED25519
    • Build System

      • Added build information system
      • Restructured build info implementation
      • Externalized platform detection
      • Removed build host
    • Cron Jobs

      • Added support for one-off jobs without interfering with primary jobs
      • Improved one-off job handling and cleanup mechanism

    Dependencies Updates

    • Upgraded various dependencies:
      • github.com/gabriel-vasile/mimetype to 1.4.6
      • github.com/casbin/gorm-adapter/v3 to 3.29.0
      • go.uber.org/zap/exp to 0.3.0

0.2.1

Patch Changes

  • 3f63e61: ---
    • Update release workflow concurrency and triggers
    • Fix pointer dereferencing issue
    • Fix incorrect index name in TUS implementation

0.2.0

Minor Changes

  • 6b3aa17: Major Features & Improvements:

    Architecture & Core:

    • Implemented unified request-based architecture for better request handling and processing
    • Added support for cluster-aware configuration management with etcd
    • Introduced new configuration structure with improved validation and management
    • Implemented access control service and middleware with role-based permissions
    • Added comprehensive event system

    Storage & Upload Management:

    • Revamped upload process with improved multi-part upload handling
    • Added temporary upload functionality with S3 integration
    • Implemented TUS protocol support

    Database & Performance:

    • Improved database operations with retry mechanisms
    • Enhanced cron job reliability and error handling
    • Optimized price tracking and database compatibility

    Security & User Management:

    • Added account verification system
    • Implemented account deletion functionality
    • Enhanced cookie handling and session management
    • Improved password reset and email verification processes

0.1.1

Patch Changes

  • 4322c17: - CI/CD changes related to changesets and release workflow
    • Added functionality for handling custom events and storage object uploads in the core module
    • Fixed issues with array manipulation and cron service in the portal module
    • Added helper functions for configuration and protocol handling
    • Refactored HTTP startup logic into a dedicated init method

0.1.0

Minor Changes

  • 7d66329: New minimal, modular portal architecture. Portal should now always be built using xportal. No modules are included by default

Bug Fixes

  • handle failure on verifying token (a06b79a)

0.1.0-develop.2 (2023-08-15)

Bug Fixes

  • need to change dnslink route registration to use a path param based route (ae071a3)
  • need to string off forward slash at beginning to match manifest file paths (2f64f18)

0.1.0-develop.1 (2023-08-15)

Bug Fixes

  • abort if we don't have a password for the account, assume its pubkey only (c20dec0)
  • add a check for a 500 error (df08fc9)
  • add missing request connection close (dff3ca4)
  • add shutdown signal and flag for renterd (fb65690)
  • auth: eager load the account relation to return it (a23d165)
  • change jwtKey to ed25519.PrivateKey (bf576df)
  • close db on shutdown (78ee15c)
  • Ctx must be public (a0d747f)
  • ctx needs to be public in AuthService (a3cfeba)
  • db: need to set charset, parseTime and loc in connection for mysql (5d15ca3)
  • disable client warnings (9b8cb38)
  • dont try to stream if we have an error (b21a425)
  • encode size as uint64 to the end of the cid (5aca66d)
  • ensure all models auto increment the id field (934f8e6)
  • ensure we store the pubkey in lowercase (def1b50)
  • handle duplicate tus uploads by hash (f3172b0)
  • hasher needs the size set to 32 (294370d)
  • if upload status code isn't 200, make it an err based on the body (039a4a3)
  • if uploading returns a 500 and its a slab error, treat as a 404 (6ddef03)
  • if we have an existing upload, just return it as if successful (90170e5)
  • iris context.User needs to be embedded in our User struct for type checking to properly work (1cfc222)
  • just use the any route (e100429)
  • load awsConfig before db (58165e0)
  • make an attempt to look for the token before adding to db (f11b285)
  • missing setting SetTusComposer (80561f8)
  • newer gorm version causes db rebuilds every boot (72255eb)
  • only panic if the error is other than a missing awsConfig file (6e0ec8a)
  • output error info (cfa7ceb)
  • PostPubkeyChallenge should be lowercasing the pubkey for consistency (d680f06)
  • PostPubkeyChallenge should be using ChallengeRequest (36745bb)
  • PostPubkeyChallenge should not be checking email, but pubkey (db3ba1f)
  • PostPubkeyLogin should be lowercasing the pubkey and signature (09d53ff)
  • PostPubkeyLogin should not preload any model (27e7ea7)
  • properly handle missing size bytes (c0df04d)
  • public_key should be pubkey (09b9f19)
  • register LoginSession model (48164ec)
  • register request validation (c197b14)
  • remove PrivateKey, rename PublicKey in Key model (00f2b96)
  • rewrite gorm query logic for tus uploads (f8aaeff)
  • rewrite sql logic (ce1b5e3)
  • rewrite streaming logic and centralize in a helper function (bb26cfc)
  • save upload info after every chunk (038d2c4)
  • temp workaround on race condition (e2db880)
  • tus: switch to normal clone package, not generic (faaec64)
  • update default flag values (241db4d)
  • update model relationships (628f1b4)
  • upload: add account to upload record (e018a4b)
  • uploading of main file (7aea462)
  • upstream renterd updates (5ad91ad)
  • use AccountID not Account (f5e4377)
  • use bufio reader (90e4ce6)
  • use challengeObj (9b82fa7)
  • use database.path over database.name (25c7d6d)
  • use getWorkerObjectUrl (4ff1334)
  • Use gorm save, and return nil if successful (26042b6)
  • we can't use AddHandler inside BeginRequest (f941ee4)
  • wrap Register api in an atomic transaction to avoid dead locks (e09e51b)
  • wrong algo (86380c7)

Features

  • add a status endpoint and move cid validation to a utility method (38b7615)
  • add a Status method for uploads (1f195cf)
  • add auth status endpoint (1dd4fa2)
  • add bao package and rust bao wasm library (4c649bf)
  • add cid package (706f7a0)
  • add ComputeFile bao RPC method (687f26c)
  • add debug mode logging support (99d7b83)
  • add download endpoint (79fd550)
  • add EncodeString function (488f873)
  • add files service with upload endpoint (b16beeb)
  • add files/upload/limit endpoint (b77bebe)
  • add getCurrentUserId helper function (29d6db2)
  • add global cors (1f5a3d1)
  • add jwt package (ea99108)
  • add more validation, and put account creation, with optional pubkey in a transaction (699e424)
  • add new user service object that implements iris context User interface (a14dad4)
  • add newrelic support (06b3ab8)
  • add pin model (aaa2c17)
  • add pin service method (8692a02)
  • add PostPinBy controller endpoint for pinning a file (be03a6c)
  • add pprof support (ee17409)
  • add proof download (3b1e860)
  • add StringHash (118c679)
  • add swagger support (49c3844)
  • add upload model (f73a04b)
  • add Valid, and Decode methods, and create CID struct (4e6c29f)
  • add validation to account register (7257b5d)
  • generate and/or load an ed25519 private key for jwt token generation (85a0295)
  • initial dnslink support (cd2f63e)
  • pin file after basic upload (892f093)
  • pin file after tus upload (5579ab8)
  • tus support (3005be6)
  • wip version (9a4c3d5)