[go: up one dir, main page]

Skip to main content

· 2 min read
Dániel Szabó

MicroBin v2.1.2 has been released with new features, bug fixes, and quality improvements.

TL;DR

  • New: Set max expiry duration with MICROBIN_MAX_EXPIRY
  • New: Load secrets from files using file:// prefix for Docker/Kubernetes deployments
  • Fixed: Database lock issues during I/O and cleanup operations
  • Fixed: File upload size limit validation
  • Improved: Multi-file uploads, mobile layout, and logging with real IP addresses

What's Changed

  • Change content handling to use byte buffer instead of parsing chunks directly by @ybalbert in #299
  • Derive version from binary by @nastyagrifon in #306
  • Add missing public_path to some Location redirects by @farfalleflickan in #307
  • Fix vertical layout on smartphones by @underoll in #308
  • Add multi-attachment support by @szabodanika in #309
  • Polish multi-file upload support by @szabodanika in #312
  • Improve logging with real ip by @Sofyan-SU in #311
  • Fix threading issue by deferring lock acquisition during file uploads by @szabodanika in #313
  • Support default privacy setting by @szabodanika in #314
  • Update compose.yaml by @SamuelBanya in #315
  • Fix upload size bug by @szabodanika in #318
  • Prevent DB lock during I/O and cleanup orphans by @szabodanika in #319
  • Support file:// ARG secrets by @szabodanika in #320
  • Add MICROBIN_MAX_EXPIRY arg by @szabodanika in #321

New Contributors

  • @ybalbert made their first contribution in #299
  • @nastyagrifon made their first contribution in #306
  • @farfalleflickan made their first contribution in #307
  • @underoll made their first contribution in #308
  • @Sofyan-SU made their first contribution in #311
  • @SamuelBanya made their first contribution in #315

Try MicroBin v2.1.2

Run our quick docker setup script (DockerHub):

bash <(curl -s https://microbin.eu/docker.sh)

Or install it manually from Cargo:

cargo install microbin

Full Changelog: https://github.com/szabodanika/microbin/compare/2.1.1...v2.1.2

· 2 min read
Dániel Szabó

MicroBin v2.1.0 has been released with new features, important fixes, and performance improvements.

What's Changed

  • Json DB Stability: Fix Json db losing already saved pasta's on crash/power failure by @yara-blue in #281
  • Cross-compilation: Adds a feature no-c-deps which makes microbin easy to crosscompile by @yara-blue in #279
  • Dependencies: Upgrade deps by @Timshel in #254 and @yara-blue in #280
  • Docker Compose: MICROBIN_UPLOADER_PASSWORD was missing from compose.yaml by @secondubly in #228
  • Config: Fix default value comments for some environment variables by @isaacasensio in #268
  • Expiry: Fix never expire condition by @runofthemillgeek in #260
  • UI Fixes: Fix privacyDropdown is null issue by @luochen1990 in #267
  • Downloads: Answer Range requests and stream files downloads by @yara-blue in #277
  • Response Headers: Set charset=utf-8 for /raw/{id} response by @luk1337 in #246
  • Attachments: Attachments compatible with absolute path by @Timshel in #255
  • 32-bit Support: fix: division by zero on 32-bit platform (#107, #118) by @jixunmoe in #239
  • Documentation: Update broken documentation link by @fastfailures in #203
  • Bug Fixes:
    • Fix MICROBIN_ETERNAL_PASTA by @SouthFox-D in #215
    • Minor fixups by @luk1337 in #211
  • URL Prefixing: Prefix some URLs with args.public_path_as_str() by @PeterUpfold in #194
  • QR Codes: Make QR code as short as possible by @swwind in #285

New Contributors

  • @Timshel made their first contribution in #254
  • @secondubly made their first contribution in #228
  • @isaacasensio made their first contribution in #268
  • @runofthemillgeek made their first contribution in #260
  • @luochen1990 made their first contribution in #267
  • @luk1337 made their first contribution in #246
  • @jixunmoe made their first contribution in #239
  • @fastfailures made their first contribution in #203
  • @SouthFox-D made their first contribution in #215
  • @PeterUpfold made their first contribution in #194
  • @swwind made their first contribution in #285

Full Changelog: https://github.com/szabodanika/microbin/compare/v2.0.4...v2.1.0

Try MicroBin v2.1.0

Run our quick docker setup script (DockerHub):

bash <(curl -s https://microbin.eu/docker.sh)

Or install it manually from Cargo:

cargo install microbin

· 3 min read
Dániel Szabó

MicroBin v2 is now available 🎉

MicroBin v2 is finally released 8 months after v1.2.1 and 15 months after the initial commit. It implements all of the most requested features requested by the users and elevates MicroBin to a whole new level. With lots of new features come an overwhelming amount of configuration options, so there is a standardised Docker installation method and default .env file available for your convenience.

I am proud that MicroBin now contributes to a world-wide effort towards making privacy accessible and easy, and I hope v2 will help it towards becoming the secure self-hosted file-sharing solution. Development does not stop here though, GitHub issues are already lining up for v2.1, so I invite you try MicroBin if you have not already, and share your wishes with me so I can improve it further.

- Daniel

Main Changes

  • Server-side and client-side encryption for uploads, including file attachments,
  • SQLite database (instead of JSON file) by default,
  • Reworked upload settings: 5 privacy levels,
  • New administrator console (/admin),
  • Automatic syntax highlighting,
  • Image and video embedding,
  • Refreshed styling and QoL features,
  • New user guide page,
  • Enabled HTML embedding for footer,
  • Added file upload size limits,
  • Added uploader password for read-only mode
  • Added sample .env file with description for each environmental variable,
  • Removed Info page (moved to admin page),
  • Telemetry added (only configuration reporting, to help prioritise features, opt out in .env)
  • Update checking added (on admin page, togglable with .env)
  • Upload list now sorted from newer to older,
  • Pasta terminology replaced with Upload(/pasta -> /upload, /pastalist -> /list),
  • Files are now served with a proper service, not just as a public directory,
  • Added option to show up on the MicroBin server list (opt in in .env, list page coming soon),
  • Lots and lots of bugs fixed

Full Changelog: https://github.com/szabodanika/microbin/compare/v1.2.1...v2.0.4

Public Server

I have set up a public MicroBin server at https://pub.microbin.eu. This will be available for as long as my Raspberry Pi 4 can handle the traffic. A public server browser is also coming soon.

Try MicroBin v2.0.4

Run our quick docker setup script (DockerHub):

bash <(curl -s https://microbin.eu/docker.sh)

Or install it manually from Cargo:

cargo install microbin;
curl -L -O https://raw.githubusercontent.com/szabodanika/microbin/master/.env;
source .env;
microbin

Contributors

Thank you to all of the contributors: @hay-kot, @figsoda, @dvdsk, @HeapUnderfl0w, @uniqueNullptr2, @Arizard, @egor-tensin, @frap129, @rissson, @techiall, @foxidokun, @mooons, @7a6163, @DhruvaSambrani, @Tyfui90, @jchia, @alex3305, @albocc, @kwiniarski97, @henri40408, @stavros-k, @frdmn, @arghyadipchak, @amnesiacsardine.

Also massive thank you to MicroBin's first sponsors: Erik, Radovan Blažek, Michael and luxus!

· One min read
Dániel Szabó

MicroBin v1.2.0 is available

Main Changes

  • Improved main screen layout
  • Added pasta deletion by read count
  • Added support for reverse proxies (public path argument)
  • Better file attachment button with drag and drop support over entire form
  • Custom CSS styling support
  • Added display of last read time and read count
  • Copy Text and Copy URL buttons
  • Option to use Hash IDs instead of animal names
  • QR code generation support
  • Added Info page
  • Removed Help page
  • Moved documentation to website from README
  • Added FOSS Community attribution in footer

Full Changelog: https://github.com/szabodanika/microbin/compare/v1.1.1...v1.2.0

Try MicroBin v1.2.0

Install MicroBin from Cargo:

cargo install microbin

Or download from the GitHub release page.

And run with your custom configuration:

microbin --port 8080 --public-path https://myserver.net --highlightsyntax --editable

Or get the Docker image from Dockerhub: danielszabo99/microbin.

Contributors

Thank you to @frdmn, @stavros-k, @hay-kot, @HeapUnderfl0w, @henry40408 who all contributed to v1.2.0.

Also thank you to @luxus for being the very first donator of the project!