Skip to content

Codex v2.0.0

Compare
Choose a tag to compare
@jcv8000 jcv8000 released this 13 Oct 05:34
· 78 commits to master since this release

Changes since 2.0.0-beta.0

Features

  • Updated to Electron 22.3.27
  • Hundreds of new icons from Tabler Icons (2.30 -> 2.39)
  • Added custom Codex icon to icon list
  • Clickable links in editor (Ctrl-click or Cmd-click)
    • Prompts before opening to make sure you trust the link, you can also trust specific domains
    • Visible border between links right next to each other that have different URLs
    • Hovering over links shows the URL
    • New editor toolbar button for creating/editing links
  • Added back the shortcut for inline code (Ctrl-/ or Cmd-/)
  • Added image resizing
  • The code block menu on the editor toolbar now remembers your "Recent Languages"

Bug fixes / Improvements

  • Fixed an error popping up when an update check failed - be955e1
  • Fixed scrollbars appearing in code blocks in exported PDFs - e8395ee
  • Fixed code blocks inside of tables stretching the table past the width of the editor - cd7540c
  • Code blocks inside of tables now display correctly when exporting to Markdown - bd5498e
  • Fixed PDFs having dark-mode styles if Codex is set to dark mode - 6fc8fb9
  • Adjusted the sizing of the editor toolbar so that it fits on a regular 1920 x 1080 screen without wrapping

Codex 2.0.0

This is a complete rewrite of the project using better technologies like TypeScript and React.

⚠️Back up the save.json and notes folder for all of your saves before updating to 2.0.0⚠️

The new version has to convert your old save file and each individual page's file to a new format, you should back everything up in case something gets corrupted.

Code Signing

Windows code signing certificates have skyrocketed in price recently (from $80 per year to $300-500 per year) so Codex 2.0 and onward will be self-signed (meaning Windows will probably warn you when running the installer) unless I can find a cheaper CA in the future.

Official macOS builds (x64 and arm64) are now being included and are code-signed & notarized with an Apple Developer account.

New Features

  • New UI library & redesign
  • Notebooks/Folders can be nested inside of other notebooks/folders for better organization
  • Pages can now also be top-level by dragging it above/below a top-level Notebook
  • Switched to the Tabler Icon library that has over 4,800 icons, and a lot more programming/CS-related icons
  • You can now change icons for Pages
  • New Icon Picker popup for changing an item's icon
  • The sidebar now has a Search bar that lets you search for pages by name and by their contents
  • Completely new editor using TipTap
    • More stable and easier to work with
    • Custom popup for adding/replacing images in the document
    • Custom popup for editing math expressions, with a new visual math editor
    • You can now change font family, font color, and font size, and highlight text
    • Checklists
    • Code blocks are now easier to escape, if you have a code block at the beginning of the document you can now press the Up arrow key and the cursor will move above the code block, and you can press Enter to insert a new line
    • Editor has a customizable appearance, such as the editor width, and you can toggle the border around the page too
    • Table of Contents menu that lets you skip through the Headings of your document
    • New "Recently Used" section in the Code Block dropdown
    • Justified alignment
    • Fixed an annoying code highlighting bug, code should highlight correctly now
  • The entire app has been localized, so users can contribute new languages/translations for the app (see CONTRIBUTING)
  • You can now Alt-Click on a folder to collapse all of the folders inside
  • The home page will now show tips about the app
  • Codex will remember the window size/position and which screen it was last closed on
  • And more that I'm forgetting

Windows 7/8/8.1 Support

Electron 23 ended support for Windows 7/8/8.1. Codex 2.0 is running on Electron 22 LTS, which will be supported until October 2023. After that I'll probably have to update to a newer version of Electron, and Codex will not run on those unsupported versions of Windows

Next Steps

If you find any issues/bugs with this beta release of 2.0, or if you have any suggestions or feedback, please make an Issue here.

A new website and docs will be coming out soon.

Might look into releasing Codex on the Microsoft Store and the Mac App Store

The new UI library Codex is using, Mantine, might be slow/laggy on lower-end hardware. Mantine v7 is coming soon which will switch to pure CSS instead of CSS-in-JS and should be a lot faster, I plan on migrating to that when it comes out.

Planned Features for later (2.1.0?)

  • Canvas element, which will let you draw in the editor
  • In-editor search (like Ctrl+F in a browser)
  • Create links to other pages in your notes
  • Embedding YouTube videos

⚠️Back up the save.json and notes folder for all of your saves before updating to 2.0.0⚠️