Files
Sharpbin/CHANGELOG.md
T
2026-10-18 11:59:59 -04:00

44 KiB

3.1.0 (2026-10-18)

Bug Fixes

  • add docker entrypoint sccript (045a193)
  • add tooltip to comment timestamp for better context (c98e5e5)
  • allow null display name when saving display name (20473da)
  • always underline users in comments (e239bf2)
  • compact paste smaller; better edited display (e8cd93e)
  • disable but show buttons for author or anon users (77f6623)
  • disable styles on comment reactions (23f0c92)
  • disabled:cursor-not-allowed on like buttons (95a5c18)
  • enforce 2fa only on certain update actions (a55268a)
  • enhance user update permissions and authentication checks (6c810b0)
  • handle username conflict during user creation (f5a7aab)
  • improve paste description (60796a8)
  • include '.' before extension on paste download (ee6a6d5)
  • lower vulnerabilities + harden docker setup (d16f1f8)
  • make cursor-not-allowed !important (9916930)
  • multiple vulnerabilities (6a7b865)
  • normalize canonical URL to prevent duplicate content issues (ad693b2)
  • normalize cononical (d45f253)
  • only show report button if logged in (40c6ac6)
  • prevent admins and moderators from being reported (f2c67ae)
  • prevent authors from reacting to their pas6te (3da7f99)
  • remove recipient information from warning log when email settings are incomplete (b65d3f8)
  • remove trailing '.' in filename (b0e9f51)
  • show uncompressed size in stats (61efbf8)
  • sizeStored -> StoredSize in typescript paste type (6c65a52)
  • update robots.txt to specify allowed and disallowed paths for web crawlers (ea634fd)
  • update TypeScript configuration to extend from $app/tsconfig and adjust include/exclude paths (f2559ea)
  • use #lib instead of $lib (8d06020), closes #lib
  • use node env instead of sveltekit env (0e3a6d9)

Features

  • add /@username redirect to /user/username (70e637b)
  • add bot detection to skip recording views for known bots (41d4411)
  • add sub tab to the settings tab (e20a620)
  • allow staff members to see user's unlisted pastes; show dislikes in the paste lists (6ed2974)
  • auth: enhance token management and synchronization with user data (2864c81)
  • comments & paste/comment reactions; renames/refactors (63b77be)
  • comments: implement delete comment functionality with confirmation modal (95ca811)
  • comments: implement recursive comment deletion in HardDeleteComment method (8d3caf5)
  • enhance SEO for home, recent, and paste pages (edffd54)
  • improve rate limit partition keys + less strict limits (6cadc0b)
  • modal: refactor modal types and integrate security action requirements (f82d314)
  • password resets (d4976ac)

3.0.5 (2026-03-31)

Bug Fixes

  • add back CSV syntax support in consts and appsettings (3ba63f6)
  • auth: replace HMAC token generation with SHA256 for email verification (49e73cd)
  • backend:paste: check expiration before returning paste data or recording views; prevent paste authors from adding views to their own paste (ec0635d)
  • cache: ensure pasteExpiresAt is valid before cache deletion (c98aca9)
  • controller: only return paste not found if null or expired (f70328c)
  • controller: update paste expiration check to handle zero expiration case (797747f)
  • correct expiration time for 'Expire in 5 Minutes' option (f786117)
  • docker-compose: add back VITE_API_URL environment variable to frontend (d4e2cf2)
  • docker-compose: add env_file entries for backend and frontend services (c986a73)
  • docker: correct environment variable syntax for backend service (e0c9f1b)
  • dotenv: skip empty lines and comments when loading environment variables (2302ebd)
  • email: ensure all email settings are validated before sending; allow nullable From property (b9cff6a)
  • email: validate settings before sending; use hmac for tokens (2b66cb2)
  • encryption: improve encryption security: adjust salt size and memory parameters for AES encryption (b54c12b)
  • forward headers during requests where needed (3b53cfb)
  • forward the request header when viewing on the /[id] server route (62d8059)
  • frontend:paste: increase paste views only if api returns 'Paste view recorded.' (4c071fc)
  • frontend:user: resolve lint error (2c3f8c9)
  • frontend: use darker version of tooltip on generate random password (eef9803)
  • improve header handling and error checking in paste loading (6d99a06)
  • improve icon consistency (e102c91)
  • make syntax extension comparison case insensitive and remove '.' (801426f)
  • remove rate limiting on {id}/raw and {id} (094c8e5)
  • routes: /raw/{pasteId} no longer returns a body on error (38c8af1)
  • set default value for AuthSettings__First_User_Admin and pass GIT_COMMIT_HASH as build argument (f645846)
  • switch to better sqlite-3 instead of experimental node api (5296efa)
  • types: add missing createdAt field to Paste interface (6047d48)

Features

  • /user/{uuid} redirects to /user/{username} based off uuid (059d32e)
  • add GIT_COMMIT_HASH support for versioning in Dockerfile and footer (5eebea3)
  • add HatGlasses icon for anonymous users in Paste component (b7ce54d)
  • auth: add JWT user parsing from token (d78baae)
  • auth: improve token refreshing (75ecfbe)
  • backend: add DotEnv class for loading environment variables from .env file (0023328)
  • email verification via smtp (95da3f9)
  • email: add email verification html templates (0564d55)
  • email: implement email queue management (5420d94)
  • guest param in user page (8eede40)
  • markdown: add dont warn again feature (e7cd372)
  • open graph embed image generation (9486840)
  • roles, visibility: refactor user roles to use flags and introduce visibility enum (44d7ae8)

3.0.4 (2026-02-14)

Bug Fixes

  • backend: use GenerateSecureRandomString for api-keys, paste ids, and refresh tokens (5017e73)
  • frontend:api-keys: add flag to track successful API key fetch (78f4ae1)
  • frontend:user: resolve lint errors (7d09870)

Features

  • add dotnet-ef tool configuration to dotnet-tools.json (db363f0)
  • backend:authentication: implement API key authentication scheme and update authorization policies (3374ead)
  • backend:utilities: implement GenerateSecureRandomString function that uses RandomNumberGenerator (809b513)
  • backend: implement api keys; rename token -> verificationToken in paste creation api (53d0f33)
  • frontend:api-keys: display the count of API keys in the header and adjust empty state condition (3dc8070)
  • frontend:api-keys: implement API key management features including creation, deletion, and fetching (ee45deb)
  • frontend:modal: decrease modal background opacity and blur (3b2801a)
  • frontend:stats: enhance tooltip for total storage used to show uncompressed size (cac3442)
  • frontend:user: improve UX; move user settings to settings tab (5052bbd)
  • frontend: improve user page UX (ff706d8)

3.0.3 (2026-02-10)

Bug Fixes

  • correct spelling of 'Verification' in PasteSettings and PasteController (697ec38)
  • do not generate open api documents on build (e901849)
  • ensure length > 0 and that arrays have value before validating (f95b347)
  • initialize multiselect state in modal component (908441d)
  • prevent internal server endpoint leakage in openapi (4917180)
  • resolve lint issues (b56a848)
  • simplify height adjustment logic for text area and markdown container (f37e647)
  • update display name validation to allow spaces and improve error message (755b356)
  • update stats tooltip to display correct pluralization for paste counts (54ca2ee)

Features

  • add statistics link to footer component (cbbed2d)
  • add statistics page (22317a2)
  • allow spaces in display names (abcf79c)
  • backend: allow spaces in display name during registration (71363fa)
  • cache for 6 hours instead of 24 hours (d04e296)
  • enhance API stats endpoint to include daily paste counts for the past week (23e7973)
  • implement web worker for syntax highlighting using highlight.js (1cd6d16)
  • proxy openapi url (698db0a)
  • true total paste size; always map the openapi route (6b32994)
  • update tooltip function to accept parameters for styling (c9591a4)

3.0.2 (2026-01-31)

Bug Fixes

  • add IValidateableObject interface to required DTO's ensuring model validation (270360a)
  • adjust input margin for title field in paste creation (d2486b9)
  • enable AllowMissingPrunePackageData in project configuration (c52ad8b)
  • improve error handling and update user display name modal (a6ffa98)
  • update version to 3.0.1 in package-lock.json (15f0be5)

Features

  • add conventional-changelog and conventional-changelog-angular dependencies (e4cf98a)
  • add inputMaxLength property to Modal component for better input control (005cb5d)
  • add output caching and stats endpoint to track pastes and users (ca210c5)
  • createdAt paste property (9d0cc54)
  • enhance PasteService with caching and cache invalidation methods (5375e1c)
  • include createdAt in user responses (854e50f)
  • include paste createdAt in responses (8aa1543)
  • user createdAt property (500f457)

3.0.1 (2026-01-27)

Bug Fixes

  • adjust dropdown max height dynamically and improve search input positioning (2d01e72)
  • adjust height properties for paste creation info (01efa39)
  • adjust tooltip formatting for decrypted size display (a7481b5)
  • allow flexible display on cf turnstile (3681f58)
  • disable pointer events on menu icons (590f0c3)
  • enhance password validation and add show/hide functionality (ec62e3b)
  • enhance Paste component layout and user information display (4db9867)
  • include author data in recent paste data (c9aa0d9)
  • render all turnstiles as flexible and interaction-only (75010d3)
  • resize markdown preview as well (51449ab)
  • resolve lint issue svelte/no-at-html-tags (71fb5b1)
  • update Open Graph description to use syntax name from consts (a06021f)
  • update resize function call to use previewMode ensuring resize when switched to code (16f5bff)
  • update Turnstile configuration and improve layout for verification (9c49c21)
  • update visibility icons in Paste component (6c8cdcc)

Features

  • add CSV rendering functionality with PapaParse (bfad18b)
  • add CSV to syntax lists (147e43c)
  • add papaparse and its type definitions (95316f5)
  • add tailwind-scrollbar npm package (43f9a25)
  • close hamburger menu when clicked outside (1937307)
  • enhance CSV rendering with header support and improved styling (c940fc5)
  • include decrypted size in paste size tooltip (7082fc4)
  • style dropdown scrollbar (091c6d8)

3.0.0 (2026-01-24)

Bug Fixes

  • add ASPNETCORE_URLS environment variable for backend service in docker-compose.yml (c4f606e)
  • add cursor pointer to the submit button for better UX (f5de211)
  • add validation for display name length in user creation and update requests (9bb620a)
  • adjust password hint display logic in registration form (361cf76)
  • center-align text in login and registration links in navbar (4dafde7)
  • change to non-reactive statements (55bee20)
  • correct conditional logic for user role checks in component rendering (7298982)
  • correct environment variable key for Turnstile Site Key in docker-compose (2773813)
  • correct property name for TOTP enabled flag in parseTotpEnabled function (9e56c4e)
  • correct syntax selection logic for file drag and drop handling (62b5dce)
  • display 2FA status only for the account owner (4de6a6a)
  • dont disabled login button when registrations are disabled (bbfa9ff)
  • enhance paste size validation logic (f467a2a)
  • enhance textarea styling and display content metrics (fabef95)
  • enhance tooltip functionality and update last login display (d3c2efd)
  • ensure JSDOM is only loaded in server-side environments (7789ab6)
  • improve error handling and display for login failures (ce66fe1)
  • improve error handling and response messages in EditPaste method (284c5e9)
  • improve error handling for registration response (d514e45)
  • improve error handling in paste fetching and add error page (5e4afaf)
  • improve error logging for view count increment failure (8b84a2d)
  • improve formatBytes function and display byte size in textarea (2a9a4b9)
  • include url queries in resolve (7857c32)
  • increase max height (7650fd7)
  • inline is expired calculation (2b60ee8)
  • lint issues resolved (21b6f95)
  • load turnstile script in layout and explicitly render (2c24af5)
  • null user/paste fk in reports on delete (f8a1490)
  • prevent moderators from modifiying higher roles(admin) (3711885)
  • properly set limiter (6f99036)
  • refresh token (19f439a)
  • remove dependency condition for backend service health check in docker-compose.yml (095df2f)
  • remove quotes from DATA_PROTECTION_KEY_PATH in docker-compose (f96396b)
  • remove quotes from default connection string in docker-compose (d5565f9)
  • remove unused nuget package (4bd6a18)
  • reset Turnstile on login and registration error handling (5a630d2)
  • reset turnstile on login error handling (1da88db)
  • resolve lint issues (1f4fda1)
  • ssr request to user; navbar positioning (bffc4e2)
  • style: update Navbar styling for improved layout and consistency (6c3caaf)
  • styling: add table styling for markdown elements (825d384)
  • styling: adjust margin and padding for first child in markdown elements (8f5499a)
  • styling: enforce max width on recent pastes titles (8accfa2)
  • token refreshing using wrong object path (e45785e)
  • update API fetch calls to use dynamic apiUrl (6072f7f)
  • update API routes for fetching raw paste content and deleting pastes (48543c7)
  • update database connection string configuration in Program.cs and docker-compose.yml (011b523)
  • update docker-compose to reflect correct backend directory structure (113ad49)
  • update environment variables in docker-compose for backend and frontend services (5e8d7be)
  • update Navbar and layout server to improve structure and data handling (a912d04)
  • update paste view count display in metadata (f9b63ed)
  • update profile link to direct to user page instead of dashboard (ff52498)
  • update SQLite connection string retrieval in Program.cs (6178888)
  • update TOTP API request payload to use 'code' instead of 'totpcode' (6bcc62a)
  • update version number to 3.0.0 and remove beta check from footer (8252d58)
  • use $app/state (b44f0bc)
  • use margin-bottom instead of margin-top for elements (bd7d115)

Features

  • /raw/{id} endpoint (ca87b1a)
  • account deletion; auto incremental uids; display name renaming UI + account deletion UI; enhanced username validation (fe54ff1)
  • add application version definition to Vite config (eca6867)
  • add delete functionality for pastes with authorization check (3015f97)
  • add Dockerfile and docker-compose for backend and frontend services (31142e0)
  • add editedAt field to Paste interface and enhance paste editing functionality (86b74a1)
  • add Footer component to layout for improved user navigation (e093550)
  • add health check endpoint returning status ok (dfdce51)
  • add health checks for backend and frontend services in docker-compose.yml (08c4be4)
  • add health checks for backend and frontend services in docker-compose.yml (57dad56)
  • add health checks for database connectivity (cab1b17)
  • add isBinaryData utility function and integrate it into paste handling; add drag and drop functionality when creating a paste (bf0eac9)
  • add markdown parsing and rendering support (406381f)
  • add Pagination interface and integrate it into User type (a9e1e82)
  • add pagination to user retrieval endpoints; enhance BuildUserResponse to include pagination details (93df14e)
  • add PasteCleanUpService as a hosted service (f578b58)
  • add PasteSettings environment variables for internal API key and HMAC secret (a6fa65c)
  • add recent pastes page with data fetching and display logic (8a6ab29)
  • add registration status check and disable form elements when registration is disabled (b1d2d3f)
  • add variant support for dropdown component styling (1950dc4)
  • admins can change user's roles (99feb27)
  • auth, compression, jwt, paste wip, roles, ratelimiting (6ec1a7f)
  • auto detect syntax from file extension on drag and drop; syntax from extension function (9e05600)
  • bypass user confirmation when loading external assets in markdown for trusted domains (35d891b)
  • create Paste component for displaying paste details (753d28f)
  • declare application version constant in app.d.ts (72206e9)
  • enable registration toggle and update Navbar to reflect registration status (159fcc2)
  • enhance AuthService to support admin role assignment for the first user (c934c85)
  • enhance code highlighting for plaintext in syntax highlighter (5cb30a9)
  • enhance decryption process with status updates and improved user feedback (7b3af77)
  • enhance paste creation with dynamic textarea resizing and improved password handling; generate random password button in paste creation; show password in paste creation; (5410a89)
  • enhance tooltip functionality and improve date formatting (8ab66f5)
  • enhance tooltip functionality; prevent empty tooltips for paste titles (7eb0204)
  • enhance user experience with tooltips; implement return URL handling on login and registration; add user roles; improve paste visibility checks (5fca207)
  • implement decryptAes function; moved to encryption.ts (f61f31d)
  • implement mobile support for navbar (63f55d2)
  • implement modal component for password input and confirmation actions (b6e020f)
  • implement pagination for user pastes; enhance fetchPage function and update display logic (49b9673)
  • implement paste decryption (3a54951)
  • implement rate limiting policy for site info endpoints in Auth and Paste controllers (3895bd9)
  • implement registration page with Turnstile verification and loading state (24b25c2)
  • implement server-side user data fetching; enhance user controller for detailed responses; update token handling to use cookies (4151c62)
  • implement Turnstile verification for enhanced security during login and registration (848b859)
  • implement user update functionality by UUID and add validation to UpdateUserRequest (f40d4ab)
  • improve file download naming by using syntax extension conditionally (fed0663)
  • improve paste creation validation; add content size check and remove unnecessary logging (dd6ce5c)
  • improve recent page; improve SEO for pages (3a5738b)
  • initial commit (050f0bc)
  • integrate hash-wasm for enhanced AES encryption and decryption (7e1fb3a)
  • login & registration; enhanced paste view; custom dropdown + search; navbar; global user access via store; auto token refresh; paste creation as user; /api/user/me, returns info on yourself including pastes; (db1d870)
  • paste cleanup service; sveltekit frontend; paste editing; paste metadata modifying (adad139)
  • paste compression & verification enforcement settings; enforce 2fa on admins setting; increase paste validation; anonymous uploads (9f55aa1)
  • paste creation, utilities, revert to gzip, grammar fixes etc (93daa2e)
  • paste creation; paste viewing; more langs supported; jwt settings class; paste settings class; data validation on paste metadata modification (b9b14a3)
  • paste views; configuration validation; hmacsha256 method; enhance paste clean up serivce; paste view clean up service; (3048af3)
  • preview markdown in paste creation; prevent external option in parseMarkdown (3f27a3a)
  • refactor drag and drop file handling to update syntax selection conditionally (ca9fa81)
  • refactor refresh token handling; update schema and logic for improved security and functionality (ae91108)
  • reporting apis; better rate limiting (14bbd9c)
  • reports; improved+simplifed modals; extractError funcction; (67447d5)
  • seo optimizations + opengraph embeds (3bbd646)
  • totp 2fa; httpcontext extension for jwtuser; asp.net data protection; prevent banned users from certain actions; account deletion requires 2fa if enabled; making users admins requires 2fa if enabled; httpcontext extension to get ip; enhance user store (20ceb91)
  • update API routes for paste options and recent pastes (1f2761f)
  • update button styles for active state in paste creation (6981836)
  • update favicon and improve tooltip for paste size display (1ed2178)
  • update minimum height for main sections across multiple pages for consistent layout (c565c57)
  • view raw button; paste header follows when scrolling; scroll to top button appears after scrolling far enough (28a0ccb)

Reverts

  • Revert "chore: format via csharpier" (6bea6c4)