Releases: rhysd/Shiba
Releases · rhysd/Shiba
v2.0.0-alpha.4
- Support multiple windows so that multiple documents can be previewed at the same time. Now a single Shiba process can open multiple windows. When the last window is closed, or 'Quit' menu item or key action is selected, the process exits.
- Implement the following ways to open new windows in several situations.
- Clicking a link to local markdown file with pressing Shift key opens the file in a new window.
- Clicking a hash link (e.g.
[link](#hash)) with pressing Shift key opens the current document in a new window and automatically scrolling to the linked element. - 'New Window' menu item or
NewWindowkey action opens a new empty window. - 'Duplicate Window' menu item or
DuplicateWindowkey action duplicates the current window.- This key action is assigned to Ctrl+N by default.
- 'Open in New Window' menu item or
OpenFileInNewWindowkey action picks files in a file dialog and opens them in respective new windows. - In the history palette, hit Enter or click a history item with pressing Shift to open the selected item in a new window.
- In the outline palette, hit Enter or click a section with pressing Shift to open the current document in a new window and automatically scroll to the selected section.
- Click a section in the side bar to open the current document in a new window and automatically scroll to the selected section.
--open(or-o) option in the command line arguments opens a given path with a new window. See--helpoutput for more details.
- Add the following menu items and key actions related to multiple windows.
- 'Close Window' menu item and
CloseWindowkey action to close the current window.- This key action is assigned to Ctrl+W by default.
- 'Close All Other Windows' menu item and
CloseAllOtherWindowskey action to close all windows except the current one. - 'Bring all to front' window menu item on macOS.
- 'Close Window' menu item and
- Implement the following ways to open new windows in several situations.
- Return non-zero exit status when at least one unexpected error was caused.
- Fix notifications are included in a printed pages.
- Update wry to 0.55 and tao to 0.35.
- Don't set 'pre-release' on GitHub release page so that the latest alpha release is linked from the repository page.
v2.0.0-alpha.3
- Breaking change: Rename key actions
ForwardandBackto more clear namesGoForwardandGoBack. - Breaking chagne: There were two key shortcut systems in Shiba; (1) our own key shortcut system configurable in
config.ymland (2) platform-specific menu items. However two systems existing in one app was confusing and the behavior of menu item key shortcuts depended on the platforms. This release removes platform-specific key shortcuts in menu items and unifies all key actions into our own key shortcut system which is configurable at thekeymapssection of the configuration file. The following key actions are newly introduced for this change.MaximizeWindowMinimizeWindowToggleAlwaysOnTopToggleMenuBarShowMenuEditConfig
- Breaking change: Following the above change, the default key mappings are overhauled. The new mappings are as follows. If you want to update your existing configuration to the new mappings, overwrite it by
--generate-config-filecommand line option.Keys Action jScrollDownkScrollUphScrollLeftlScrollRightgScrollTopGScrollBottomdScrollPageDownuScrollPageUpspaceScrollPageDowndownScrollDownupScrollUpleftScrollLeftrightScrollRightpagedownScrollPageDownpageupScrollPageUpctrl+downScrollPageDownctrl+upScrollPageUpctrl+shift+downScrollBottomctrl+shift+upScrollTopctrl+jScrollNextSectionctrl+kScrollPrevSectionctrl+bGoBackctrl+fGoForwardctrl+oOpenFilectrl+shift+oOpenDirctrl+hHistoryctrl+rReloadoOutlinesSearchplusZoomIn-ZoomOutctrl+mMaximizeWindowmod+qQuit?Help - Apply the Mica material to the window background on Windows 11 or later, which is the modern dynamic material based on your desktop wallpaper.
- Support
maxkeyword at the width and hight of window size in thewindow.default_sizeconfiguration. For example the following configration creates a window with fixed 800 pixels width and maximized height.window: default_size: width: 800 height: max
- Add new
window.vibrantconfiguration. When this is set totrue, Shiba applies platform-specific vibrant effects to the window;NSVisualEffectViewon macOS and Mica material on Windows, no effect on Linux. Settingfalsedisables the dynamic effects by using solid colors. It may slightly improve the performance of the application rendering and launch. The default value of this configuration istrue.window: vibrant: true # Apply vibrant effect to the window
- Set the default window size to 600x800.
- Add 'Delete History' menu item in the 'History' menu to delete the history.
- Add
GoTopkey action and a new menu item to go to the top of the history. It quickly opens the most recent document in the history. - Add
no-debug-logcargo feature to disable the debug log statically. It can slightly reduce the binary size and application performance. - Fix 'Print' menu item only prints the current window. Now it prints all pages and doesn't include the side bar.
- Fix applying the system's theme setting to the webview on Windows.
- Implement platform-agnostic window maximization/minimization so that 'Maximize Window' and 'Minimize Window' menu items are available on all platforms.
- Efficiently receive menu item events instead of polling them at every window events.
- Update npm dependencies including some security fixes.
v2.0.0-alpha.2
- BREAKING CHANGE: Rename
preview.recent_filessetting topreview.history_size. This needs fix in the configuration file. Please fix it manually or re-generate it by the--generate-config-filecommand line option.preview: - recent_files: 100 + history_size: 100
- Move the reopened history item to the top of the history so that it can be easily accessed later.
- Set the application icon in dock when Shiba is run from terminal on macOS.
- Avoid a white screen flicker when opening the application with a large Markdown file in dark mode.
- Remove file paths which don't exist while navigating the history with
Forward/Back. - Set the parent window to the dialogs.
- Let OS determine the default current directory of file dialogs unless
dialog.default_dirsetting is specified. Note that Shiba launched from terminal still prioritizes the terminal's current working directory on macOS. - Shiba is now released on crates.io. Shiba can be installed via
cargocommand.cargo install shiba-preview@2.0.0-alpha.2
- Add categories and keywords to Cargo.toml.
- Fix webview is not rendered on Linux because the webview panel is inserted to an incorrect box.
- Avoid app crash when creating two Shiba processes on Linux by removing the application ID.
- Fix the latest history item is skipped when navigating with
Backfrom the welcome page. - Fix titles of file dialogs.
- Update cargo dependencies including wry v0.54 and the security fix for
timecrate. - Update npm dependencies including mermaid security fix.
v2.0.0-alpha.1
- Compress the bundled JavaScript source with Zstandard algorithm for release builds. This made the binary size 1.45x smaller.
- Allow selecting multiple files and directories at once via dialogs.
- Upgrade MathJax to v4, which is the culmination of several years of work.
- Support physics notations in math expressions.
- History implementation was refactored with index map data structure.
- Migrate from commonjs to ESM. This made the bundle size about 6% smaller.
- Change the environment variables for debug logs
RUST_LOG→SHIBA_LOGRUST_LOG_STYLE→SHIBA_LOG_STYLE
- Fix the saved history items can be truncated.
- Fix file paths passed via command line arguments are not registered to the history
- Fix watching the same path multiple times.
- Fix error messages output to a terminal are discarded in release builds on Windows.
- Fix app crashes when the document contains U+0000 inside math expressions due to MathJax parser.
- Update cargo dependencies including rfd v0.17
- Update npm dependencies
v2.0.0-alpha.0
This is the first experimental release of Shiba v2. Shiba v2 is the complete rewrite of v1 using Rust and platform-specific WebView. Please read the README.md file for more details.
Warning
Shiba v2 is a work in progress
For v1, please go to the v1 branch.
Version 1.2.1
- Update dependencies
- Use the latest Electron v2.0.2
- Build with the newest TypeScript compiler
- Some other packages are updated
Version 1.2.0
- Improved sanitizatioin
- All HTML elements were banned in v1.1.1, but it was too strict
- As of GitHub, now Shiba allows some non-harmful HTML elements in documents (e.g.
<a name="..."></a> - Please see the full list to know the details
- Update dependencies (Electron v1.8.4)
Version 1.1.2
- Update dependencies
- Including security bugfix for Electron CVE-2018-1000006
Version 1.1.1
- Add new 367 emojis 👯
- Enable to choose rules in remark-lint config
- Fix sanitize issue of marked parser
- Update dependencies
Version 1.1.0
- Large dependencies updates. All packages are up to date
- Electron v1.7.9
- Polymer v1.11
- ...
- Also accept
config.yamlas well asconfig.yml - Improve CLI options and handling arguments
- Stop following symlinks by default because it may cause performance issue on a directly containing so many files and directories
follow_symlinksanddefault_pathconfig option are added- Show window after app contents are loaded in order to avoid whole white screen
- Now markdown linter checks only consistency by default
- Fix links on Windows (#37)
- Fix links which contain images (#38)
- Fix watching path is broken when unsupported kind of file is D&Ded