2020-06-21 17:53:56 -04:00
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog ](https://keepachangelog.com/en/1.0.0/ ),
and this project adheres to [Semantic Versioning ](https://semver.org/spec/v2.0.0.html ).
2021-02-20 15:24:09 -05:00
## [Unreleased]
2021-04-18 12:20:43 -04:00
### Added
- Support for version 1.1 JSON feeds
2021-04-20 17:02:59 -04:00
- Copy current URL or selected URL to clipboard (#220, #225 )
- Uses < kbd > C</ kbd > and < kbd > c</ kbd > by default
2021-04-21 22:02:51 -04:00
- Configurable keybindings for scrolling on pages (#211, #222 )
2021-05-13 16:40:50 -04:00
- Ability to save `about:` pages (#210, #236 )
2021-05-14 18:18:03 -04:00
- `bind_beginning` and `bind_end` keybindings
2021-06-25 00:01:58 -04:00
- Display gemtext from stdin (#205, #242 )
2021-08-10 15:07:47 -04:00
- Specifying `default` in the theme config uses the terminal's default background color, including transparency (#244, #245 )
2021-12-03 10:01:14 -05:00
- Redirects occur automatically if it only adds a trailing slash (#271)
2021-12-03 11:45:36 -05:00
- Non-gemini links are underlined by default to help color blind users (#189)
2021-12-07 20:29:44 -05:00
- Text and element colors of default theme change to be black on terminals with light backgrounds (#181)
2021-12-07 15:56:12 -05:00
- Support paths with spaces in `[url-handlers]` config settings (#214)
- Display info modal when opening URL with custom application
2021-12-07 19:35:12 -05:00
- Files can be opened by relative path on the commandline (#231, #257 )
2021-12-07 21:27:31 -05:00
- Support keybindings that use < kbd > Shift</ kbd > (#269)
2021-04-18 12:20:43 -04:00
2021-02-22 17:41:48 -05:00
### Changed
2021-02-27 00:13:11 -05:00
- Bookmarks are stored using XML in the XBEL format, old bookmarks are transferred (#68)
2021-12-03 11:45:36 -05:00
- Text no longer disappears under the left margin when scrolling (regression in v1.8.0) (#197)
2021-03-08 14:23:49 -05:00
- Default search engine changed to geminispace.info from gus.guru
2021-12-03 14:58:02 -05:00
- The user's terminal theme colors are used by default (#181)
2021-12-07 15:28:34 -05:00
- By default, non-gemini URI schemes are opened in the default application. This requires a config change for previous users, see the [wiki ](https://github.com/makeworld-the-better-one/amfora/wiki/Handling-Other-URL-Schemes ) (#207)
2021-12-07 17:40:50 -05:00
- Windows uses paths set by `XDG` variables over `APPDATA` if they are set (#255)
2021-12-07 19:07:20 -05:00
- Treat status codes like 22 as equivalent to 20 as per the latest spec (#266)
2021-12-07 19:57:11 -05:00
- Show minimal loading page instead of `about:newtab` when loading a URL in a new tab (#272)
2021-02-22 17:41:48 -05:00
2021-12-03 11:45:36 -05:00
## Removed
2021-12-03 17:58:16 -05:00
- Favicon support (#199)
2021-12-03 14:58:02 -05:00
- The default Amfora theme, get it back [here ](https://github.com/makeworld-the-better-one/amfora/blob/master/contrib/themes/amfora.toml )
2021-12-03 11:45:36 -05:00
2021-02-20 15:24:09 -05:00
### Fixed
- Help text is now the same color as `regular_text` in the theme config
2021-02-21 10:39:40 -05:00
- Non-ASCII (multibyte) characters can now be used as keybindings (#198, #200 )
2021-02-27 00:13:11 -05:00
- Possible subscription update race condition on startup
2021-12-03 11:45:36 -05:00
- Plaintext documents are escaped properly (regression in v1.8.0)
2021-03-02 22:13:56 -05:00
- Help page scrollbar color matches what's in the theme config
2021-05-06 22:28:21 -04:00
- Regression where lists would not appear if `bullets = false` (#234, #235 )
2021-05-14 18:45:41 -04:00
- Support multiple bookmarks with the same name
2021-12-06 19:08:38 -05:00
- Cert change message grammar: "an security" -> "a security" (#274)
2021-12-07 19:07:20 -05:00
- Display an error modal for status codes that can't be handled
2021-12-07 20:20:08 -05:00
- Prevent user from getting trapped in the help menu when keybindings are pressed (#241, #261 )
2021-02-20 15:24:09 -05:00
2021-02-17 15:31:06 -05:00
## [1.8.0] - 2021-02-17
2020-12-24 16:15:19 -05:00
### Added
2020-12-25 16:26:03 -05:00
- **Media type handlers** - open non-text files in another application (#121, #134 )
2020-12-24 16:15:19 -05:00
- Ability to set custom keybindings in config (#135)
2021-02-17 14:17:13 -05:00
- Added scrollbar, by default only appears on pages that go off-screen (#89, #107 )
2021-02-17 15:37:36 -05:00
- More internal about pages, see `about:about` (#160, #187 )
2020-12-24 16:15:19 -05:00
2021-02-17 14:17:13 -05:00
### Changed
- Update cview to `d776e728ef6d2a9990a5cd86a70b31f0678613e2` for large performance and feature updates (#107)
- Update to tcell v2 (dependency of cview)
2021-02-17 14:58:55 -05:00
- Display page even if mediatype params are malformed (#141)
- Sensitive input fields (status code 11) display with asterisks over the text (#106)
2021-02-17 14:17:13 -05:00
2020-12-24 16:25:39 -05:00
### Fixed
- Don't use cache when URL is typed in bottom bar (#159)
2020-12-24 23:40:55 -05:00
- Fix downloading of pages that are too large or timed out
2021-01-11 10:06:21 -05:00
- `about:` URLs can be typed into the bottom bar (#167)
2021-02-04 17:33:49 -05:00
- Bookmarks modal closes on ESC like the others (#173)
2021-02-04 18:06:56 -05:00
- Handle empty META string (#176)
2021-02-07 21:55:30 -05:00
- Whitespace around the URL entered in the bottom bar is stripped (#184)
2021-02-17 09:25:02 -05:00
- Don't break visiting IPv6 hosts when port 1965 is specified (#195)
2021-02-17 14:17:13 -05:00
- More reliable start, no more flash of unindented text, or text that stays unindented (#107)
- Pages with ANSI resets don't use the terminal's default text and background colors (#107)
- ANSI documents don't leak color into the left margin (#107)
- Rendering very long documents is now ~96% faster, excluding gemtext parsing (#26, #107 )
- Due to that same change, less memory is used per-page (#26, #107 )
2020-12-24 23:40:55 -05:00
2020-12-24 16:15:19 -05:00
2020-12-23 23:57:18 -05:00
## [1.7.2] - 2020-12-21
### Fixed
- Viewing subscriptions after subscribing to a certain user page won't crash Amfora (#157)
2020-12-21 12:42:43 -05:00
## [1.7.1] - 2020-12-21
### Fixed
- Fixed bug that caused Amfora to crash when subscribing to a page (#151)
2020-12-20 17:26:39 -05:00
## [1.7.0] - 2020-12-20
2020-11-22 16:27:34 -05:00
### Added
2020-12-07 15:18:47 -05:00
- **Subscriptions** to feeds and page changes (#61)
2020-11-22 16:27:34 -05:00
- Opening local files with `file://` URIs (#103, #117 )
2020-12-01 14:01:59 -05:00
- `show_link` option added in config to optionally see the URL (#133)
2020-12-19 19:41:25 -05:00
- Support for Unicode in domain names (IDNs)
- Unnecessarily encoded characters in URLs will be decoded (#138)
- URLs are NFC-normalized before any processing (#138)
2020-12-20 00:31:14 -05:00
- Links to the wiki in the new tab
2020-12-20 15:54:47 -05:00
- Cache times out after 30 minutes by default (#110)
2020-12-20 16:39:33 -05:00
- `about:version` page (#126)
2020-11-22 16:27:34 -05:00
2020-11-10 14:53:54 -05:00
### Changed
2020-12-19 19:41:25 -05:00
- Updated [go-gemini ](https://github.com/makeworld-the-better-one/go-gemini ) to v0.11.0
2020-11-23 21:09:48 -05:00
- Supports CN-only wildcard certs
- Time out when header takes too long
2020-11-19 00:07:56 -05:00
- Preformatted text is now light yellow by default
2020-12-17 11:29:03 -05:00
- Downloading a file no longer uses a second request
2020-12-19 20:19:47 -05:00
- You can go back to the new tab page in history (#96)
2020-11-10 14:53:54 -05:00
2020-11-19 20:49:16 -05:00
### Fixed
- Single quotes are used in the default config for commands and paths so that Windows paths with backslashes will be parsed correctly
2020-11-23 21:09:48 -05:00
- Downloading now uses proxies when appropriate
2020-12-19 19:41:25 -05:00
- User-entered URLs with invalid characters will be percent-encoded (#138)
2020-12-20 15:23:00 -05:00
- Custom downloads dir is actually used (#148)
2020-12-20 17:52:06 -05:00
- Empty quote lines no longer disappear
2020-11-19 20:49:16 -05:00
2020-11-10 14:53:54 -05:00
2020-11-06 00:00:07 -05:00
## [1.6.0] - 2020-11-04
2020-09-04 20:42:29 -04:00
### Added
2020-11-04 18:38:08 -05:00
- **Support client certificates** through config (#112)
2020-09-04 20:42:29 -04:00
- `ansi` config setting, to disable ANSI colors in pages (#79, #86 )
2020-09-05 15:41:58 -04:00
- Edit current URL with < kbd > e</ kbd > (#87)
2020-09-18 17:47:02 -04:00
- If `emoji_favicons` is enabled, new bookmarks will have the domain's favicon prepended (#69, #90 )
2020-10-08 20:56:28 -04:00
- The `BROWSER` env var is now also checked when opening web links on Unix (#93)
2020-11-04 20:55:34 -05:00
- More accurate error messages based on server response code
2020-09-04 20:42:29 -04:00
### Changed
- Disabling the `color` config setting also disables ANSI colors in pages (#79, #86 )
2020-09-30 18:04:59 -04:00
- Updated [go-isemoji ](https://github.com/makeworld-the-better-one/go-isemoji ) to v1.1.0 to support Emoji 13.1 for favicons
2020-10-01 17:10:14 -04:00
- The web browser code doesn't check for Xorg anymore, just display variables (#93)
2020-10-01 17:28:31 -04:00
- Bookmarks can be made to non-gemini URLs (#94)
2020-10-12 14:49:21 -04:00
- Remove pointless directory fallbacks (#101)
2020-11-04 21:11:33 -05:00
- Don't load page from cache when redirected to it (#114)
2020-09-01 19:55:06 -04:00
2020-10-08 20:56:28 -04:00
### Fixed
- XDG user dir file is parsed instead of looking for XDG env vars (#97, #100 )
2020-11-04 18:38:08 -05:00
- Support paths with spaces in HTTP browser config setting (#77)
2020-11-04 19:54:58 -05:00
- Clicking "Change" on an existing bookmark without changing the text no longer removes it (#91)
2020-11-04 20:01:11 -05:00
- Display HTTP Error if "Open In Portal" fails (#81)
2020-11-04 20:31:04 -05:00
- Support ANSI color codes again, but only in preformatted blocks (#59)
2020-11-04 20:41:09 -05:00
- Make the `..` command work lke it used to in v1.4.0
2020-10-08 20:56:28 -04:00
2020-09-01 19:55:06 -04:00
2020-11-06 00:00:07 -05:00
## [1.5.0] - 2020-09-01
2020-08-04 20:44:43 -04:00
### Added
2020-09-01 14:55:52 -04:00
- **Proxy support** - see the `[proxies]` section in the config (#66, #80 )
2020-08-29 12:08:26 -04:00
- **Emoji favicons** can now be seen if `emoji_favicons` is enabled in the config (#62)
2020-09-01 19:55:06 -04:00
- `shift_numbers` key in the config was added, so that non US keyboard users can navigate tabs (#64)
2020-08-06 15:08:19 -04:00
- < kbd > F1</ kbd > and < kbd > F2</ kbd > keys for navigating to the previous and next tabs (#64)
2020-09-01 19:55:06 -04:00
- Resolving any relative path (starts with a `.` ) in the bottom bar is supported, not just `..` (#71)
- You can now set external programs in the config to open other schemes, like `gopher://` or `magnet:` (#74)
2020-08-27 19:02:12 -04:00
- Auto-redirecting can be enabled - redirect within Gemini up to 5 times automatically (#75)
2020-09-01 19:55:06 -04:00
- Help page now documents paging keys (#78)
2020-09-01 14:17:45 -04:00
- The new tab page can be customized by creating a gemtext file called `newtab.gmi` in the config directory (#67, #83 )
2020-08-04 20:44:43 -04:00
### Changed
2020-08-21 14:59:51 -04:00
- Update to [go-gemini ](https://github.com/makeworld-the-better-one/go-gemini ) v0.8.4
2020-08-04 20:44:43 -04:00
### Fixed
- Two digit (and higher) link texts are now in line with one digit ones (#60)
2020-09-01 19:55:06 -04:00
- Race condition when reloading pages that could have caused the cache to still be used
2020-08-22 11:19:09 -04:00
- Prevent panic (crash) when the server sends an error with an empty meta string (#73)
2020-08-27 19:57:06 -04:00
- URLs with with colon-only schemes (like `mailto:` ) are properly recognized
2020-09-01 14:17:45 -04:00
- You can no longer navigate through the history when the help page is open (#55, #78 )
2020-08-04 20:44:43 -04:00
2020-07-28 19:33:00 -04:00
## [1.4.0] - 2020-07-28
2020-07-19 11:09:33 -04:00
### Added
2020-07-28 20:18:38 -04:00
- **Theming** - check out [default-config.toml ](./default-config.toml ) for details (#46)
2020-07-19 11:09:33 -04:00
- < kbd > Tab</ kbd > now also enters link selecting mode, like < kbd > Enter</ kbd > (#48)
2020-07-19 11:27:39 -04:00
- Number keys can be pressed to navigate to links 1 through 10 (#47)
2020-07-25 20:26:40 -04:00
- Permanent redirects are cached for the session (#22)
2020-07-28 16:58:32 -04:00
- `.ansi` is also supported for `text/x-ansi` files, as well as the already supported `.ans`
2020-07-19 11:09:33 -04:00
2020-07-26 16:25:37 -04:00
### Changed
2020-07-28 19:33:00 -04:00
- Documented < kbd > Ctrl-C</ kbd > as "Hard quit"
2020-07-28 16:58:32 -04:00
- Updated [cview ](https://gitlab.com/tslocum/cview/ ) to latest commit: `cc7796c4ca44e3908f80d93e92e73694562d936a`
- The bottom bar label now uses the same color as the tabs at the top
- Tab and blue link colors were changed very slightly to be part of the 256 Xterm colors, for better terminal support
2020-07-26 16:25:37 -04:00
2020-07-10 19:49:17 -04:00
### Fixed
- You can't change link selection while the page is loading
2020-07-26 11:31:13 -04:00
- Only one request is made for each URL - `v1.3.0` accidentally made two requests each time (#50)
2020-07-26 11:33:59 -04:00
- Using the `..` command doesn't keep the query string (#49)
2020-07-28 16:58:32 -04:00
- Any error that occurs when downloading a file will be displayed, and the partially downloaded file will be deleted
2020-07-28 17:16:57 -04:00
- Allow for opening a new tab while the current one is loading
2020-07-28 19:06:00 -04:00
- Pressing Escape after typing in the bottom bar no longer jumps you back to the top of the page
2020-07-28 19:17:15 -04:00
- Repeated redirects where the last one is cancelled by the user doesn't leave the `Loading...` text in the bottom bar (#53)
2020-07-10 19:49:17 -04:00
2020-07-10 19:16:13 -04:00
## [1.3.0] - 2020-07-10
2020-07-03 14:02:33 -04:00
### Added
2020-07-10 19:16:13 -04:00
- **Downloading content** (#38)
2020-07-10 15:55:35 -04:00
- Configurable page size limit - `page_max_size` in config (#30)
- Configurable page timeout - `page_max_time` in config
2020-07-03 14:02:33 -04:00
- Link and heading lines are wrapped just like regular text lines
- Wrapped list items are indented to stay behind the bullet (#35)
2020-07-03 20:32:37 -04:00
- Certificate expiry date is stored when the cert IDs match (#39)
2020-07-07 21:13:45 -04:00
- What link was selected is remembered as you browse through history
2020-07-10 19:16:13 -04:00
- Render ANSI codes in `text/x-ansi` pages, or text pages that end with `.ans` (#45)
2020-07-03 14:02:33 -04:00
2020-07-02 23:55:24 -04:00
### Changed
- Pages are rewrapped dynamically, whenever the terminal size changes (#33)
2020-07-10 18:59:51 -04:00
- TOFU warning message mentions how long the previous cert was still valid for (#34)
2020-07-02 23:55:24 -04:00
2020-07-07 21:13:45 -04:00
### Fixed
- Many potential network and display race conditions eliminated
- Whether a tab is loading stays indicated when you switch away from it and go back
- Plain text documents are displayed faithfully (there were some edge conditions)
2020-07-07 21:51:20 -04:00
- Opening files in portal.mozz.us uses the `http` setting in the config (#42)
2020-07-07 21:13:45 -04:00
2020-07-28 19:06:00 -04:00
2020-07-02 14:54:18 -04:00
## [1.2.0] - 2020-07-02
2020-06-28 21:06:58 -04:00
### Added
- Alt-Left and Alt-Right for history navigation (#23)
2020-06-29 13:56:27 -04:00
- You can type `..` in the bottom bar to go up a directory in the URL (#21)
2020-06-29 14:25:25 -04:00
- Error popup for when input string would result in a too long out-of-spec URL (#25)
2020-06-29 15:01:41 -04:00
- Paging, using < kbd > d</ kbd > and < kbd > u</ kbd > , as well as < kbd > Page Up</ kbd > and < kbd > Page Down</ kbd > (#19)
2020-06-29 15:20:24 -04:00
- < kbd > Esc</ kbd > can exit link highlighting mode (#24)
- Selected link URL is displayed in the bottom bar (#24)
2020-07-01 13:39:13 -04:00
- Pressing < kbd > Ctrl-T</ kbd > with a link selected opens it in a new tab (#27)
- Writing `new:N` in the bottom bar will open link number N in a new tab (#27)
2020-07-02 14:36:41 -04:00
- Quote lines are now in italics (#28)
2020-06-28 21:06:58 -04:00
2020-06-29 13:39:47 -04:00
### Changed
- Bottom bar now says `URL/Num./Search: ` when space is pressed
2020-06-29 14:35:09 -04:00
- Update to [go-gemini ](https://github.com/makeworld-the-better-one/go-gemini ) v0.6.0
2020-07-01 20:08:07 -04:00
- Help layout doesn't have borders anymore
2020-07-02 11:55:41 -04:00
- Pages with query strings are still cached (#29)
- URLs or searches typed in the bottom bar are not loaded from the cache (#29)
2020-06-29 13:39:47 -04:00
2020-06-28 18:09:52 -04:00
### Fixed
- Actual unicode bullet symbol is used for lists: U+2022
- Performance when loading very long cached pages improved (#26)
2020-06-29 12:54:36 -04:00
- Doesn't crash when wrapping certain complex lines (#20)
2020-06-29 13:30:20 -04:00
- Input fields are always in focus when they appear (#5)
2020-07-01 13:39:13 -04:00
- Reloading the new tab page doesn't cause an error popup
2020-07-01 20:08:07 -04:00
- Help table cells are hardwrapped so the text can still be read entirely on an 80-column terminal
2020-07-01 20:38:53 -04:00
- New tab text is wrapped to terminal width like other pages (#31)
2020-07-02 14:36:41 -04:00
- TOFU "continue anyway" popup has a question mark at the end
2020-06-27 11:22:45 -04:00
2020-07-28 19:06:00 -04:00
2020-06-24 13:52:44 -04:00
## [1.1.0] - 2020-06-24
2020-06-21 17:53:56 -04:00
### Added
2020-06-23 20:07:25 -04:00
- **Bookmarks** (#10)
- **Support over 55 charsets** (#3)
- **Search using the bottom bar**
- Add titles to all modals
2020-06-21 17:53:56 -04:00
- Store ports in TOFU database (#7)
- Search from bottom bar
- Wrapping based on terminal width (#1)
2020-06-23 20:07:25 -04:00
- `left_margin` config option (#1)
2020-06-21 17:53:56 -04:00
- Right margin for text (#1)
2020-06-21 19:16:05 -04:00
- Desktop entry file
2020-06-21 20:37:27 -04:00
- Option to continue anyway when cert doesn't match TOFU database
2020-06-21 23:49:43 -04:00
- Display all `text/*` documents, not just gemini and plain (#12)
2020-06-22 11:56:55 -04:00
- Prefer XDG environment variables if they're set, to specify config dir, etc (#11)
2020-06-23 20:23:28 -04:00
- Version and help commands - `-v` , `--version` , `--help` , `-h` (#14)
2020-06-21 17:53:56 -04:00
2020-06-21 19:51:19 -04:00
### Changed
2020-06-21 17:53:56 -04:00
- Connection timeout is 15 seconds (was 5s)
- Hash `SubjectPublicKeyInfo` for TOFU instead (#7)
2020-06-23 20:07:25 -04:00
- `wrap_width` config option became `max_width` (#1)
- Make the help table look better
2020-06-21 17:53:56 -04:00
2020-06-21 23:39:33 -04:00
### Removed
2020-06-24 13:18:23 -04:00
- Opening multiple URLs from the command line
2020-06-21 23:39:33 -04:00
2020-06-21 17:53:56 -04:00
### Fixed
- Reset bottom bar on error / invalid URL
- Side scrolling doesn't cut off text on the left side (#1)
2020-06-21 23:39:33 -04:00
- Mark status code 21 as invalid
2020-06-23 20:07:25 -04:00
- Bottom bar is not in focus after clicking Enter
- Badly formed links on pages can no longer crash the browser
2020-06-24 11:37:32 -04:00
- Disabling color in config affects UI elements (#16)
2020-06-24 12:01:09 -04:00
- Keep bold for headings even with color disabled
- Don't make whole link text bold when color is disabled
2020-06-24 13:31:01 -04:00
- Get domain from URL for TOFU, not from certificate
2020-06-21 17:53:56 -04:00
## [1.0.0] - 2020-06-18
Initial release.
2020-06-21 19:51:19 -04:00
### Added
2020-06-21 17:53:56 -04:00
- Tabbed browsing
- TOFU
- Styled content
- Basic history for each tab
- Input