Changelog 19 min read

Content Hub Changelog

Content Hub v2.4-6

Changed

  • Updated multiple dependencies to their latest versions to improve stability, security, and compatibility.

Removed

  • Disabled the bulk "unarchive" option to prevent restoring archived entries via the API, as it was not used.

Fixed

  • Corrected API access rules to ensure users can only access their own settings and audit logs, enhancing data security and privacy.

Content Hub v2.4-5

Added

  • Introduced a new environment variable for the public PocketBase URL to enhance database connectivity options.
  • Increased the maximum file upload size to 10 MB, allowing users to upload larger images.
  • Enhanced feedback buttons with new styles and hover effects for improved user interaction.
  • Added support for a public PocketBase URL, improving connectivity options for external resources.

Changed

  • Updated middleware to utilize the public PocketBase URL, enhancing resource accessibility for users.
  • Improved file URL handling in the API to use public URLs, increasing accessibility for uploaded images and files.
  • Updated favicon URL construction to utilize a public PocketBase URL, enhancing accessibility for project icons.
  • Enhanced feedback buttons for page helpfulness with improved accessibility labels and styling.

Content Hub v2.4-4

Added

  • Implemented a dynamic entries list with pagination, filtering, and search capabilities for improved data management and user navigation.
  • Added a new API endpoint to retrieve user-specific entries with filtering options for project, status, and search terms.
  • Introduced a new API endpoint for retrieving user-specific entries with filtering options for published, draft, and staged entries.
  • Created new routes for managing entries, enhancing user access to entry-related functionalities.
  • Launched a global entries list page with filtering, searching, and pagination capabilities for improved navigation and management of entries.

Changed

  • Enhanced navigation logic to ensure the 'project-overview' link is displayed correctly on the entries page.
  • Simplified application settings initialization and improved user-specific settings retrieval process.
  • Enhanced the setLocals middleware to retrieve user-specific settings based on the logged-in user's ID, improving personalized experience.
  • Improved settings management by allowing users to retrieve and save their individual settings, enhancing personalization and error handling during updates.
  • Enhanced audit logging to include user ID and IP address when available, improving tracking of user actions in the system.
  • Enhanced project and entry metrics display by making them clickable links, allowing users to navigate directly to detailed views for projects and entries.

Removed

  • Eliminated the requirement to set APP_SETTINGS_RECORD_ID in the .env file, simplifying the setup process for users.

Content Hub v2.4-3

Added

  • Implemented sidebar collapse toggle with state persistence, dynamic logo switching, and hover popovers for sidebar items when collapsed.
  • Added custom styling for popover elements and GitHub links, including dark mode support to improve UI consistency and readability.
  • Included jQuery and WebUI Popover scripts to enable enhanced interactive UI elements in the footer.

Changed

  • Enhanced header performance and usability by preloading additional icons, maintaining persistent sidebar state, and improving sidebar toggle controls for smoother navigation.

Content Hub v2.4-2

Added

  • Support for enabling or disabling project modules such as documentation, changelog, knowledge base, and roadmap through project settings, allowing for tailored project configurations.
  • New boolean fields to toggle the visibility and accessibility of documentation, changelog, and knowledge base features within the system.
  • Access control middleware to manage permissions for archived project documentation routes, ensuring proper access restrictions.
  • Dynamically filtering dashboard entries based on project module enablement, providing users with a more tailored view of project data.
  • Conditional display of documentation and changelog metrics on the project dashboard, showing these metrics only when their features are enabled.

Changed

  • Enhanced access control middleware to restrict creation of entries in disabled project modules, providing clearer user feedback.
  • Improved sidebar filtering to respect project-specific module enablement settings, ensuring only relevant entries are visible.
  • Made project entry form dynamically display available entry types based on enabled features, enhancing user experience.
  • Updated project dashboard to conditionally show documentation and changelog metrics according to feature enablement.

Fixed

  • Added validation to prevent users from accessing content from modules that are disabled for the project, ensuring content visibility aligns with module enablement.

Content Hub v2.4-1

Added

  • Introduced a scheduled version check that runs every 30 minutes to notify users of available software updates.

Changed

  • Refined the calculation of total entries displayed on the dashboard for better accuracy and readability.
  • Updated navigation highlighting to correctly indicate the active page across all sections, including the audit log.
  • Enhanced version comparison logic to accurately parse and compare version strings with optional code numbers, improving update detection.
  • Passed the application version to the cron job initializer to support environment-aware scheduled tasks.

Fixed

  • Corrected dashboard data calculations to accurately count published entries without staged changes and optimized version info caching to reduce redundant checks.

Content Hub v2.4-0

Added

  • Introduced a comprehensive global headers and footers management system with full CRUD web interfaces, enabling users to create, view, edit, and delete reusable headers and footers across all projects.
  • Implemented authenticated routes for managing global header and footer assets to enhance security and user control.
  • Added new sidebar navigation links for easy access to the Headers and Footers management pages.
  • Added support for displaying a project-specific favicon and enhanced preview banners to clearly distinguish between draft, staged, and regular previews.
  • Added a 'Global Log' button on the settings page for quick access to the audit log.

Changed

  • Simplified and consolidated header and footer schema collections by removing redundant changelog and documentation-specific tables and introducing unified, reusable 'headers' and 'footers' collections with improved customization and archival support.
  • Refined navigation highlighting logic by removing redundant checks for header and footer pages, resulting in improved menu state accuracy.
  • Consolidated multiple custom header and footer fields into unified handling across project entry creation, editing, previewing, archiving, and unarchiving to improve data consistency and simplify content management.
  • Unified header and footer selection fields for documentation and changelog entries into shared controls, enhancing consistency and usability in the entry editing interface.
  • Standardized and globalized asset endpoints for headers and footers, streamlining data fetching and permission checks.
  • Simplified asset management by consolidating multiple project-scoped header and footer types into unified global headers and footers.
  • Expanded preview banner styling to appear for both staged and regular previews, improving user awareness during content review.

Removed

  • Removed project asset management routes and project assets routes, disabling creation, editing, listing, and deletion of documentation and changelog headers and footers within projects.
  • Removed navigation links for documentation and changelog headers and footers from the project header menu to simplify navigation.

Fixed

  • Improved storage usage display to show a clear message when no files are found instead of hiding the information.
  • Enhanced security policy to allow inline script attributes, improving compatibility with certain inline scripts.

Content Hub v2.3-5

Added

  • Introduced a toolbar button to insert expandable Details/Summary blocks, enabling users to create collapsible content sections within the editor.
  • Added a clickable version number in the footer that links directly to the system's changelog documentation.
  • Included a GitHub repository link with an icon in the header for quick access to the project's source code.

Content Hub v2.3-4

Added

  • Pocketbase:
    • Added a boolean field isAdmin to users collection.

Changes

  • Audit Log:
    • Now only users with isAdmin set to true can enter the "Global Log" page.

Fixed

  • Feedback:
    • Fixed not being able to vote if not logged in.
  • Pocketbase:
    • Improved security rules across collections.

Content Hub v2.3-3

Added

  • Projects Icon:
    • Now we can set a custom favicon per project at project settings.

Content Hub v2.3-2

Added

  • Roadmap:
    • Added selection for stages and search bar at the entries table.
    • Added action button for quick stage change.
    • Added the possibility to add a description for an entry.
      • The description will now be displayed at the public page as a modal when clicking at the entry.

Content Hub v2.3-1

Added

  • Export and Import: We can now export and import whole complete projects.
    • Importing the same file multiple times will never overwrite a project.
    • Pocketbase SDK doesn't allow specifying an ID when creating an entry, so we can't merge projects.

Content Hub v2.3-0

Fixes

  • Fixed "Details" for entries at "Global Log" returning "Could not parse details".

Added

  • Docs/Changelogs Header and Footer:
    • Now we can set a custom CSS and custom JS for that specific header/footer.
  • Docs/Changelogs Header:
    • New option "Apply Full Width", if enabled, will span the full page width instead of content area only. Default: disabled
    • New option "Make Header Sticky", if enabled, will stick at the top of the viewport when scrolling. Default: disabled
  • Docs/Changelogs Footer:
    • New option "Apply Full Width", if enabled, will span the full page width instead of content area only. Default: disabled
  • Now we also show the "Last Updated" date along with "Published" date at the public view page.

Content Hub v2.2-4

Fixes

  • Tables now show the actual "Last Updated" date.
    • Pocketbase records have a "updated" field, this field updates whenever there's a change in the record, and we were using it to display "Last Updated", the problem is that the view count is stored at the same record so when the view count updated so did the "updated" field.
  • Updated "build_pb.js" to work with the latest Pocketbase schema.

Added

  • Added a new page so we can see the staged version of an entry as the public released version.

Changes

  • Moved project settings button to the sidebar instead of only at the dashboard.

Removed

  • Removed bulk actions to set status and publish staged changes.
    • We had a few problems with these options, if really requested I'll bring them back.

Content Hub v2.2-3

Fixes

  • Now all entries pages and settings pages can be saved with Ctrl+S.

Added

  • Added a new page so we can see the difference between published and staged content.

Content Hub v2.2-2

Fixes

  • Fixed not being able to create/edit/delete headers and footers for "Documentation" and "Changelog".

Added

  • New global setting "Bot User Agents", now we can filter user agents to prevent view count for potential bots.

Content Hub v2.2-1

Fixes

  • Fixed not being able to upload multiple images to Pocketbase.

Added

  • New global admin page "Files", making it easier to see and delete images across all entries.

Content Hub v2.2-0

Fixes

  • Fixed case where sometimes user could get error "Developer tools detected! Please close them to continue." on public pages.
  • Fixed "Knowledge Base" and "Project Roadmap" not showing at the same time at the public page.
  • Fixed "Roadmap" not being affected by the "Use Full Width Content Area".
  • Added missing security rules at "pb_schema.json".

Added

  • Added the possibility for voting on if the public page was helpful or not.
  • Added a "Download as Markdown" button at the "Content (Markdown)" EasyMDE header.
  • We can now copy an anchor link by clicking at a header in the public page.
    • For example, try clicking at the "Added" above.

Changes

  • Update notification is now a simple alert instead of a toast message.
  • We can no longer redirect to the admin page from the public page.

Content Hub v2.1-7

Added

  • Now we can choose to use the full width of the content area at the public page.
    • Needs to be enabled per project at project "Settings" or set at the global settings.
  • Now we can add a "Header" at "Sidebar Order".
    • This adds the possibility to better organize the public sidebar.

Content Hub v2.1-6

Fixes

  • Fixed case where sometimes user could get error "Developer tools detected! Please close them to continue." on public pages.

Added

  • Added a "Settings" page where we can make some global changes throughout the system.
  • Added a "Documentation" link at the sidebar for more information on how everything works.

Content Hub v2.1-5

Fixes

  • Fixed not showing the average time at the table when refreshing with the button.
  • Now we won't track time for public entries that contain "?from_admin=1" in the URL.

Added

  • Now the system will automatically detect if a new version has been released and display a modal.

Content Hub v2.1-4

Added

  • Now we can enable or disable the view tracking at project settings. Default: disabled
    • Needs to be enabled the first time at project settings.
  • Now we also track the average view time at the public pages. Default: disabled
    • Needs to be enabled the first time at project settings.

Content Hub v2.1-3

Added

  • New command npm run format for better organized code.
  • New ".env.example" file for... well it's pretty self-explanatory, isn't it?
  • We can now set what image should show in what theme for public view.

Content Hub v2.1-2

Fixes

  • Fixed public pages returning 404 after the first cron job.

Added

  • Added more logging with different levels.
    • Here's the log levels: NONE, ERROR, WARN, INFO, DEBUG, TRACE

Content Hub v2.1-1

Fixes

  • Different entries types now show their correct input fields when creating or editing an entry.
  • Fixed cancelling an entry change from "Knowledge Base" returning a 404 page.

Added

  • Global Search: Added a new search bar at the header of the admin panel to search across all entries for all projects.
  • Check Grammar: Added a shortcut Ctrl + Shift + G and a button at the "Content (Markdown)" header to execute grammar and style check.

Content Hub v2.1-0

Fixes

  • Now the server will check if the custom Entry ID is available and can be used.

Added

  • Knowledge Base: Added this new category, create entries normally and select "Knowledge Base" type, a public page (/kb/:id) will be created for all "KB" entries.

Changes

  • Moved main sidebar categories to the header of the admin dashboard.
  • Some changes to make the styling at the admin dashboard better.

Content Hub v2.0-0

This major release introduces Projects as the core organizational structure, enhancing multi-tenant capabilities and content separation.

Added

  • Project Organization: Introduced Projects as the primary organizational unit. Entries, Templates, Headers, and Footers are now managed within specific projects.
  • Project Dashboards: Added a dedicated dashboard for each project (/projects/:id) displaying project-specific metrics and activity.
  • Roadmap Feature:
    • Added a new 'Roadmap' entry type.
    • Added a public Kanban-style Roadmap board view (/roadmap/:projectId).
    • Added project setting to enable/disable the public roadmap.
  • Project Settings: Added project-level settings accessible via /projects/:id/edit, including:
    • Public/Private visibility control.
    • Optional password protection for public projects.
    • Roadmap feature toggle.
  • Per-Project, Per-Type Headers & Footers: Headers and Footers are now managed per-project and are specific to entry types (Documentation or Changelog).
  • Per-Project Templates: Templates are now created and managed within individual projects.
  • Per-Project Sidebar Ordering: Added the ability to reorder sidebar entries on a per-project basis via a drag-and-drop interface.
  • Theme Toggle: Re-introduced the Light/Dark theme toggle for the admin interface.

Changes

  • Scope Shift: Most features (Entries, Templates, Headers, Footers, Archiving, Sidebar Order) now operate within the context of a selected project.
  • Dashboard Structure: The main dashboard (/) provides a global overview across projects, while project-specific dashboards (/projects/:id) show detailed project metrics.
  • Sidebar Logic: The public view sidebar now displays entries specifically marked 'Show in Sidebar' for that project. Roadmap entries are excluded from the standard sidebar.
  • API & Routes: Backend routes and API endpoints have been significantly restructured around projects (e.g., /projects/:projectId/...).
  • Entry Creation/Editing: Forms now include project context and type-specific fields (like Roadmap Stage, type-specific Headers/Footers).

Fixes

  • Various internal improvements and code refactoring for stability and maintainability related to the project structure. (Assumed)

Removed

  • Removed globally managed Templates, Headers, and Footers. These are now managed per-project and per-type where applicable.
  • Removed the global 'Collection' filter from the main dashboard entry list (searching still available within project views).

Content Hub v1.3-0

Added

  • Now we can create "Projects" and serve entries from it.
  • The public "view" page for an entry will now show other entries from the same project.
  • A new field "Show in Project Sidebar?", as the name implies, if set to "Yes" will display that entry at the sidebar of other entries from that same project.

Changes

  • "Dashboard" page now will show metrics instead of the created entries.
  • The button for "Share Preview" will now only appear if the status is set as "Draft".

Removed

  • Theme switch for the admin panel has been removed for now.
  • Removed "Collection" select filter at "Entries".

Content Hub v1.2-2

Added

  • Added an automated script to create Pocketbase collections.
    • If it's the first time running, execute node build_pb.js at the root directory of Content Hub.

Content Hub v1.2-1

Fixes

  • Wrong icons for "Headers" and "Footers".
  • Now admin redirecting to an entry from dashboard won't update the view count.

Added

  • We can now create diagrams using "Mermaid".
    • A few "Mermaid" templates were also introduced.
  • Added cron job for deleting expired or orphan preview entries every hour.

Content Hub v1.2-0

Fixes

  • "Search entries..." search box is now working as expected with correct pagination.

Added

  • Now you can create and set a custom header and footer for the entries.
    • The new header and footer have their own page and are created using Markdown format.
  • Added the missing pagination logic for the "templates" page.
  • At the "Content (Markdown)", you can now execute "Check Grammar and Style" at the whole content or at only selected content.

Changes

  • The table at "Dashboard" now defaults to sorting "Title" instead of "Last Updated".

Content Hub v1.1-6

Fixes

  • The "URL (Optional ID)" now correctly shows the baseUrl at the "edit" page.

Added

  • When you click at the placeholder for the "URL (Optional ID)" it now copies everything to the clipboard.

Content Hub v1.1-5

Fixes

  • The "Content (Markdown)" now correctly uses a monospace font.
  • Improved responsiveness across all devices.

Added

  • Added a "Search entries..." search bar for "Dashboard" table.

Removed

  • Removed "Domain" from entries.
    • At the start I had big plans for this field, but as it turned out it's no longer necessary. (For now...)
  • Removed being able to sort by "Draft" or "Published".
    • With the new "Search entries..." search bar, this option is not needed anymore.

Content Hub v1.1-4

Fixes

  • Fixed admin login requiring collection instead of "admins" as from Pocketbase v0.23.0.

Added

  • Now we can set a custom entry ID.
    • This must be 15 characters long, as required from Pocketbase.
  • New option to check grammar at "Content (Markdown)" using LanguageTool API.
    • Please consider the default limitations.
    • The free public API comes with no guarantees regarding uptime, availability, or performance.
    • Currently pre-defined for using "en-US", modify at "editor.js" ~ 330.
    • If you hit the default limits, please consider using their browser extension.

Content Hub v1.1-3

Added

  • Now we show a "read time" for public entries.

Content Hub v1.1-2

Fixes

  • Fixed not being able to open the sidebar on mobile.

Added

  • Now we can insert buttons for "Previous" and "Next" pages at entries.
    • Click at the new button "Insert Previous/Next Buttons Block" at the EasyMDE toolbar to insert the buttons code block.
    • Just edit the texts and links, the view page will do the rest.
  • Now if the user doesn't have any templates registered we'll serve a few default ones.

Content Hub v1.1-1

Added

  • Now we can set a "Collection" for entries; these can then be filtered at the "Dashboard".
  • New "Audit Log" page; now every action from admin is recorded.
  • Now we can upload images to entries.
    • You can paste an image wherever you want it to be seen at your entry.
    • The image pasted will automatically be sent to Pocketbase and a link will be created at that point.
    • You can also use the "Insert Image" from the EasyMDE toolbar to set a link from an image from the internet.
    • Stored images from Pocketbase will remove their correlation when an entry is archived.

Changes

  • Removed background-color transition so page refresh doesn't get too ugly.

Content Hub v1.1-0

Added

  • Now we can create a preview link for "Draft" entries.
    • The preview entry must not be archived and must be a "Draft".
    • You can choose to set a password for the preview or leave it open.
    • The preview link expires in 6 hours by default.
  • Now when saving an entry, the default behavior is to set it as "Staged".
    • The entry can be published at the "Dashboard" after being "Staged".

Changes

  • Server is now in modules for better organization.

Content Hub v1.0-6

Fixes

  • Added "pb.autoCancellation(false)" to avoid Pocketbase cancel requests.

Added

  • Added possibility to archive and restore entries.

Content Hub v1.0-5

Fixes

  • Fixed not being able to bulk delete entries.
  • Better responsiveness across more devices.

Added

  • New pagination controls for tables at "Dashboard" and "Templates".

Changes

  • Markdown editor now fixes toolbar at the top when scrolled.

Content Hub v1.0-4

Added

  • Now we can sort entries on the "Dashboard" and "Templates" tables.
  • New option to filter entries between "Draft," "Published," or both.

Changes

  • Now we set and serve the theme from the server.
  • New set of colors for the dark theme.

Content Hub v1.0-3

Added

  • Added "Templates".
    • You can create your own template at the "Templates" at the sidebar.
    • You can choose the template you made when creating a new entry.
  • Added the possibility to select multiple entries and change status or delete them.

Content Hub v1.0-2

Fixes

  • Fixed not being able to start the server in 'production' mode.

Added

  • Now we can choose between "Draft" or "Published" for each entry.
    • "Draft" status won't be able to be viewed by your users.
  • Now we can add multiple "Tags" to each entry.

Content Hub v1.0-1

Fixes

  • Fixed server not running due to missing '"type": "module"'.
  • Fixed entries not having relation to owner.

Added

  • New popup window when trying to delete an entry.

Changes

  • Server now requires Pocketbase admin login.

Content Hub v1.0-0

We're thrilled to launch the first official version of Content Hub! Our mission is to provide the simplest way for teams and individuals to create, manage, and publish elegant changelog notes and documentation using the power of Markdown.

This release lays the foundation with the following key features:

  • Effortless Content Management: A clean, intuitive dashboard allows you to easily Create, Read, Update, and Delete (CRUD) all your entries.
  • Markdown-First Workflow: Write your content naturally using standard Markdown syntax. We've integrated the user-friendly EasyMDE editor to provide syntax highlighting and a helpful formatting toolbar.
  • Real-time Dashboard Sync: Powered by Pocketbase's real-time features, your dashboard reflects the latest changes instantly without needing manual refreshes. See updates as they happen!
  • Comfortable Viewing: Switch between Light and Dark themes in the admin dashboard for optimal viewing comfort, day or night.
  • Basic View Insights: Get a sense of engagement with simple view counts tracked automatically for every public entry.
  • Secure Admin Area: Your content management dashboard is protected via Pocketbase's reliable authentication system.
  • Fast & Reliable Backend: Content Hub utilizes Pocketbase, ensuring a fast, secure, and easy-to-manage database for your content.

This is just the beginning for Content Hub. We hope you find it useful!