Skip to content

Releases: jcv8000/Codex

Codex v2.0.4

03 Jan 20:21
5264e1e
Compare
Choose a tag to compare

Important

  • Reworked saving system - #72
    • Now only saves when there are changes made to a page
    • New "Autosave when switching pages / exiting the editor" setting
      • Enabled by default (same behavior as how it used to work)
      • Disabling this setting will show a popup to save/discard unsaved changes when switching pages or exiting the editor

Tech Stack Upgrades

  • Updated to Node.js 18 and Electron 26
  • Upgraded to Vite 5
  • 72 new icons from Tabler Icons

Bug Fixes / Improvements

  • Fixed when deleting the active page, the editor doesn't go back to Home
  • Fixed sidebar width not actually saving when dragging it all the way to the left or right
  • When creating an item inside a folder the folder will open to show the new item
  • Fixed "Toggle Developer Tools" menu item not working
  • Added a tip about alt+clicking folders to recursively close its subfolders

Codex v2.0.3

20 Nov 23:38
56b7f24
Compare
Choose a tag to compare
  • 18 new icons from Tabler Icons 2.41
  • Fixed horizontal rules being difficult to see in dark mode
  • Fixed block quote borders being difficult to see in dark mode
  • Fixed copying and pasting text with a custom font-size not working correctly
  • Added (mostly complete) Simplified Chinese translation thanks to @hghgthifg (#66)

Arch Linux AUR package (unofficial): codex-bin

Codex v2.0.2

08 Nov 17:58
83f7117
Compare
Choose a tag to compare
  • Fixed an issue where the Editor was reloading its content and extensions while typing - ca8d911
  • Switched back to React instead of Preact in builds, the React build doesn't seem to lag while typing as much as Preact did - 078b1e8
  • 18 new icons from Tabler Icons 2.40

This should hopefully fix the issues in #60

Codex v2.0.1

19 Oct 04:59
Compare
Choose a tag to compare

Improvements

  • Added single-line and multi-line indenting and un-indenting (Tab / Shift-Tab) in code blocks
  • Added a Tab Size setting for how many spaces to add/remove when pressing Tab/Shift-Tab in code blocks
  • Added a setting for word-wrap in code blocks (disabled by default)
  • Icon Selector:
    • Now shows the name of the selected icon below the icon in Edit menus
    • The Icon Selector popup highlights the currently-selected icon
    • Improved how icons are searched for, finding them by name should be easier
  • Custom scrollbars for code blocks

Bug Fixes

  • Fixed not being able to tab/shift-tab in code blocks that are inside a table
  • Fixed tab/shift-tab not working to sink/lift list items
  • Localized the "Collapse" tooltip in code blocks

Contribute your own translation/language to Codex

Codex v2.0.0

13 Oct 05:34
Compare
Choose a tag to compare

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⚠️

Codex v2.0.0-beta.0

03 Aug 05:50
a809c06
Compare
Choose a tag to compare

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,000 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⚠️

Codex v1.4.2

12 Feb 22:41
Compare
Choose a tag to compare

Changelog

  • This is a minor release to update packages that had security vulnerabilities.
  • Also added a note on the home screen to let people know that version 2.0 is coming soon and the project isn't dead

Codex v1.4.1

10 Sep 22:50
Compare
Choose a tag to compare

Changelog

  • Fixed a code execution vulnerability (#8) with notebook names/page names. This could only happen if you typed in a malicious name yourself or downloaded a save.json file from someone else and put it in your save directory.
  • Using a code block with the "other" language doesn't freeze the editor anymore and highlights properly (#9)
  • The code language overlay now doesn't show if there's no language/other
  • Added menu options and macros for Nim and OCaml (macros: [nim] and [ocaml])
  • Added a section in the "Basic Editing" doc about how to paste in images

Codex v1.4.0

06 Sep 02:14
Compare
Choose a tag to compare

Changelog

  • Added support for KaTeX equations in notes
  • You can now collapse large code blocks by clicking the arrow icon in the top-right of the code block
  • Added Markdown exporting
  • Added an option to export all of the pages in a notebook to PDF/markdown
  • Included a better default font for Linux users (Fira Mono)
  • Updated Electron to 12.1.0
  • Removed the survey link from the home page, moved it to the Help menu/tab
  • Added a documentation page for equations
  • Added Ctrl-1 through Ctrl-6 keybindings for Headers
  • You can now open the Chromium Dev Tools (Ctrl-Shift-i) to check for errors in the console
  • Added custom horizontal scrollbars for code blocks
  • Added a word wrap option for code blocks in the Settings page
  • Made the custom scrollbars look better
  • Redid the docs/Help pages
  • The first-use tutorial has been removed, instead it asks if you want to see the "Getting started" help page
  • If you are a macos user, code blocks and inline code should use Apple's SF Mono font
  • Added a "Toggle menu bar" menu option on Linux (the menu bar doesn't follow dark/light mode)

Bug Fixes

  • Made the sidebar items in the Help tab responsive to sidebar resizing
  • Fixed a bug where Ctrl-clicking or middle-clicking on link elements would open a new Codex window
  • \n's should now show up correctly in PDF's
  • Fixed where when you make a new table you can't see the cursor inside it
  • Disabled inserting horizontal rules and tables inside of tables/code blocks
  • Fixed a bug where the content wouldn't expand to the full height of the window on Linux

For developers

  • Added electron-builder to the devDependencies so it doesn't have to download every time you run npx electron-builder

Codex v1.3.1

14 Jun 03:41
518f724
Compare
Choose a tag to compare

Changelog

  • Updated a package that had a security vulnerability (Codex doesn't load any external content anyway, except for checking for updates, so it shouldn't have affected Codex users)
  • Updated to Electron 12.0.11
  • Added a link to an optional feedback survey on the home page