Skip to content

1.1.0

Compare
Choose a tag to compare
@retrixe retrixe released this 01 Apr 10:29
· 39 commits to main since this release
010c569

🎉 1.1.0 is a massive release with new features and a plethora of bug fixes and improvements! 🎊

The main highlights are listed below under Minor Changes.

Minor Changes

  • Increase upload limit to 5 GB, fix auth response: 7160c2f
  • Write native CopyDir implementation: 9934157
  • Print logs to stdout and stderr appropriately: 1f83d01
  • Add account management: #9
  • Add config reload API: #8
  • Require Go 1.18+, use Go 1.19 in CI, drop ioutil: 117f2a7
  • Made root endpoint return octyne version: c3ba8ab
  • Improve Octyne README: e8ea2be
  • Support JSON req body for moving/copying files: c2d5d1b
  • Add cookie authentication support (closes #10): 6018854
  • Add improved console v2 API, console timeouts: 47a8283
  • Support gracefully stopping processes through API: 9eac136
  • Add action logging: #13
  • Support compressing folders in ZIP files: d6599c6
  • Add GET /accounts, atomically save users.json: 06bc891
  • Add GET and POST /config endpoints: a9e1c39

Patches

  • Replace "server" with "process" in most code: 75121df
  • Fix deepsource errors, more "server" -> "process": 6aba18d
  • Improve error logs, revert console process->server: 3f316c4
  • Pass config as pointer, work on more docs: 7827608
  • Make authenticator replaceable, add more API docs: 7436b56
  • Clean some comments/variables, fix log message: c35dc6e
  • Add Close() to Authenticator, fix Redis close: ea1e7ea
  • Use fmt.Fprintln for HTTP responses, move code: ac48e84
  • Log reloads, fix logout, stats endpoint error: 3cff3da
  • Fix errors pointed out by deepsource. Fix file permissions. Silence warning for ZIP file DoS. Silence SendConsoleOutput warning. Add 5s timeout for HTTP requests. Remove unnecessary reference from MemoryAuthenticator function: 242f7c2
  • Update GitHub Actions, add Quick Start to README: c32bac6
  • Refactor authentication to its own package: 14e7c17
  • Split endpoints into more files, httpError util: 234e9e1
  • Improve file endpoint sanitation, fix panic: 7ac6704
  • Fix endpoint path validation on Windows: 7d302cd
  • Don't put token in body when using cookie auth: f78f891
  • Return username from authenticator.Validate: 142b114
  • Use xsync.MapOf + Go 1.18 generics: e6ce011
  • Fix zip compression API, enable caching in CI: 21316b9
  • Return errors from authenticator directly: a265b21
  • Fix console read timeout, write synchronisation: 76286f6
  • Add ARMv6/ARMv8 builds to CI, fix caching: d45cdc7
  • Fix console v1 API being broken by last commit: 90879cc
  • Fix SIGTERM incorrectly marking process offline: 0e710f6

Credits

Huge thanks to @Sanguineous1 for helping!

x86_64 and 64-bit ARMv8 binaries can be downloaded below for Windows, macOS and Linux (built on Ubuntu 20.04), as well as a 32-bit ARMv6 Linux build. Octyne can also be compiled for other architectures like s390x, PowerPC and i386, and other Unix-like OSes supported by Golang (untested, but if you run into issues, let me know!).