Skip to content

Latest commit

 

History

History
1103 lines (631 loc) · 22.4 KB

CHANGELOG.md

File metadata and controls

1103 lines (631 loc) · 22.4 KB

Changelog

3.8

WIP

  • Bump Go to 1.23

3.7

28.08.24

  • Interacting with stories in any way (open link in browser, open in reader mode etc.) now marks the submission as read (Thanks, @antznin!)

3.6

01.04.24

  • Update header styles in reader mode
  • Bump Go to 1.22
  • Bump most dependencies

3.5

17.10.23

  • Responses from the official HN API are now properly sanitized
  • Improved the spacing in the descriptions when using Nerdfonts
  • Fixed a bug where the domain was not shown

3.4

12.10.23

  • circumflex now uses the official HN API to fetch submissions instead of Algolia
  • Fixed a bug where less --version would not properly be parsed

3.3.1

01.10.23

  • Fixed a bug where content wouldn't properly be sanitized for malicious ansi escape codes

3.3

01.10.23

  • Bump to Go 1.21
  • All content (headlines, comment section and articles from web) are now sanitized for malicious ansi escape codes
  • Added subcommand: url [URL] to open a URL directly in Reader Mode
  • Renamed clx read ID to clx comments ID and clx view ID to clx article ID
  • Added support for NERDFONTS env variable

3.2

08.07.23

Changes

  • Default categories are now: top, best, ask, show (replaced new with best)

New features

  • Set the CLX_BROWSER env variable to override opening links in the default browser.

3.1.3

25.06.23

Bugfixes

  • Fixed a bug where circumflex would panic if go-readability failed to parse the URL of an article to be read in Reader Mode

3.1.2

24.06.23

Bugfixes

  • Fixed a bug where the submission rankings would disappear during a refresh

3.1.1

17.06.23

Bugfixes

  • Fixed a bug where the wrong default string would be set in the categories flag

3.1

17.06.23

New features

  • Added new optional category: best
  • Dynamically set the categories with the --categories flag

Bugfixes

  • Fixed a bug where the urls would not be correctly parsed and highlighted

3.0

11.06.23

Cosmetic

  • Changed the Nerd Font Icon for comments

Bugfixes

  • Fixed a bug where the first dot in the "fetching..." spinner was highlighted in faint

2.9.1

06.05.23

Core

  • Set minimum less version to latest stable release (633)

Bugfixes

  • Fixed a bug where less would open the comment section on the second line
  • Fixed a bug where less would not properly render Nerd Fonts
  • Updated Nerd Font icons to version 3
  • Fixed a bug where the help screen would not render properly after resizing

2.9

05.05.23

Cosmetic

  • Simplified coloring of items to only use terminal colors from 0-16. This will make circumflex look better across different color schemes.

2.8.2

11.03.23

Dependencies

  • Bump Go from 1.19 to 1.20
  • Bump lipgloss from 0.6.0 to 0.7.1
  • Bump html-to-markdown from 1.3.6 to 1.3.7
  • Bump termenv from 0.14.0 to 0.15.1
  • Bump go-pretty from 6.4.4 to 6.4.6
  • Bump testify from 1.8.1 to 1.8.2
  • Bump goquery from 1.8.0 to 1.8.1

2.8.1

08.02.23

Dependencies

  • Bump go-pretty 6.4.3 to 6.4.4
  • Bump bubbles from 0.14.0 to 0.15.0
  • Bump termenv from 0.13.0 to 0.14.0

2.8

25.11.22

Bugfixes

  • Fixed a bug where circumflex would crash if the less version contained decimals in the version number (Thanks @PrayagS! #40)

Cosmetic

  • Rearranged and rephrased the info screen items
  • Re-stylized headers in Reader Mode

Other

  • Increased timeout for fetching submissions
  • Added Dockerfile for running circumflex inside a container (Thanks @stefins! #42)

2.7

23.10.22

New features

  • Check less version on startup
  • Network errors are now displayed to the user

Bugfixes

  • Headlines are now properly highlighted in the comment section
  • Headlines are now somewhat sanitized to avoid breaking formatting
  • Pressing r while page is already reloading no longer leads to a panic

Cosmetic

  • Re-aligned the information under the submission title for the --nerdfonts flag

2.6

09.10.22

New features

  • Comments are now collapsed by default and can be expanded with l

Changes

  • --auto-collapse flag changed to --auto-expand
  • Changed disable emoji shorthand flag from -s to -e

Cosmetic

  • Add new comment indicator to the legend menu
  • Made the separator between parent replies slightly thicker
  • Aligned the information under the submission title (score, user, time and number of comments) when using the --nerdfonts flag

2.5

02.10.22

New features

  • Comments can now be auto-collapsed with the -a or --auto-collapse flag

Cosmetic

  • Cleaned up the man pages
  • Immediately change category indicator on Tab/Shift + Tab
  • Help screen (open with i or ?) is now rendered inside clx via the viewport Bubble

2.4

12.09.22

New features

  • Added a new command: clx read [ID] to directly read the article associated with the given ID in Reader Mode

Cosmetic

  • Use normal and best looking indentation block by default
  • Improved word wrapping in Reader Mode
  • Increased contrast between categories and header background

2.3

13.08.22

Core

  • Bump Go to 1.19

New features

  • Collapse / uncollapse all replies with h / l

Cosmetic

  • Left-aligned help screen to better accomodate for screen resizes (Fixes #6)

Bugfixes

  • Refreshing submissions no longer jumps to the first page just before fetching
  • Fixed a bug where submissions marked as read would not properly italicize after a refresh
  • Fixed a bug where " was not being showed correctly (Thanks @FnControlOption, #5!)

2.2

02.07.22

New features

  • Added flags for explicitly setting dark or light color scheme
  • Number of replies now also indicate how many of the replies are new since last visit
  • clx add now fetches metadata (before: user had to manually enter comment section to update)

Cosmetic

  • Added Nerd Fonts to the comment section and submissions list
  • Fixed a bug where labels weren't hidden properly on Refresh or change of category
  • Added legend to help screen

Bugfixes

  • Fixed a bug where the number of submissions from the front page was off by one

2.1

25.06.22

New features

  • Added support for Nerd Fonts
  • Better fallback colors for terminals that do not support True Color

Bugfix

  • Re-added keybinding for entering the help screen with ?
  • Fixed a bug where Refresh was not working properly

2.0

12.06.22

New TUI

New features

  • Show a fetching indicator in the status line when fetching list of submissions
  • Dark Theme / Light Theme is automatically applied based on the terminal color scheme
  • Better styling for Add to favorites?/Remove from favorites? prompts
  • Hide selected item bar on refresh or change of category to better show that application is fetching submissions
  • Added spacing between submissions for better readability

1.33

05.02.22

New features

  • New comment indicator: Highlight new comments since your last visit

1.32

09.01.2022

New features

  • Added clx man pages

Backend

  • Bump cobra to 1.3.0

1.31

08.01.22

Bugfix

  • YC-startups and year of publication in headlines are now properly formatted

Backend

  • Do not re-fetch submissions on terminal screen resize events when screen height remains the same
  • Add debug mode for offline testing and development

Cosmetic

  • Reworked the info section
  • Updated filter list for macrumors.com

Meta

  • Changed changelog date format from YYYY-MM-DD to DD.MM.YY

1.30

2021-12-24

Cosmetic

  • Stylized less prompt
  • Renamed headers in the keymaps view
  • Year is now highlighted in submission titles

1.29

2021-12-14

Bugfix

  • Re-enable view and add commands

1.28

2021-12-13

Backend

  • clx now uses Algolia + the official Hacker News firebase API to fetch submissions

Bugfix

  • Fixed a bug where tables would be improperly formatted

1.27

2021-11-10

Bugfix

  • Fixed a bug where parsing of the comment section with 0 comments would cause a panic

1.26

2021-11-06

Cosmetic

  • Top-level comments are now more clearly separated from other top-level comments

1.25

2021-10-31

Cosmetic

  • Changed the default header and added options to choose between different options

1.24

2021-10-30

Cosmetic

  • Fixed a bug where some terminals would have the indentation symbol appear as a disconnected line

1.23

2021-10-21

Cosmetic

  • Slightly reformatted the comment section

Backend

  • Refactored the rendering logic for the comment section

1.22.1

2021-10-04

Bugfixes

  • Fix correct indentation for headers in Reader Mode

1.22

2021-10-03

Cosmetic

  • Slightly redesigned headers in headlines and comment section
  • Comment section now has a left margin

Backend

  • Bump cview to 1.5.7

Bugfixes

  • Fixed a bug where headers would occasionally be improperly formatted

1.21

2021-09-12

Bugfixes

  • Invisible anchors are now longer properly hidden on all terminals
  • The filtering logic now works with zero width spaces
  • Fixed a bug where the root comment headline was one character longer than the comment width

Cosmetic

  • Viewing articles in Reader Mode now updates 'mark as read' indicator

1.20

2021-09-04

New features

  • New keybinding: press n/N to jump to the next top-level comment or headline
    • (No longer required to search for the string ::)
  • Added an option to set the header to the orange and classic Hacker News header

Cosmetic

  • Added custom filtering rules for the following sites:
    • nytimes.com
    • economist.com
    • tomshardware.com
    • cnn.com
    • arstechnica.com
    • macrumors.com
    • wired.com
    • wired.co.uk
    • theguardian.com
    • axios.com
    • 9to5mac.com

1.19

2021-08-28

This release replaces lynx for rendering HTML in favour of handling the rendering logic directly in circumflex.

Backend

  • Bump Go to 1.17
  • Reader Mode: Removed lynx as a dependency
    • Added support for code blocks and in-line code highlighting
    • Added support for prettier tables
    • Added support for rendering different headers (h1 - h6)
    • Added support for well-formatted lists and sub-lists

1.18

2021-08-03

New features

  • Added an option to remove indentation symbols from the comment section

Cosmetic

  • Better handling of stray newlines
  • Monthly Who is hiring posts now have normal syntax highlighting

Backend

  • Bump goreadability
  • Bump cobra

1.17

2021-07-28

This release marks the one year anniversary since the first commit of circumflex 🎉

Cosmetic

  • Included syntax highlighting for YC-funded startups in the comment section
  • Code snippets are now in italics and magenta (was: just magenta)
  • Monthly 'Who is Hiring' posts now honor the 'highlight headlines' setting
  • Remove FAANG highlighting (it was a bit too colorful)
  • Better handling of fractions
  • Better handling of smiley to emoji substitution
  • Better handling of syntax highlighting for URLs
  • Better handling of double dashes to em-dashes conversion
  • Better handling of username highlights
  • Comments that have been deleted and have no replies are no longer printed
  • Redesigned comment section header

1.16

2021-07-24

New features

  • circumflex can now be customized with flags

Changes

  • Highlight headlines option has been simplified and can now be either enabled or disabled (Removed an option to highlight headlines with the reverse highlighting flag)

Cosmetic

  • Code snippets are now highlighted in magenta instead of blue
  • Mark as read setting now turned on by default
  • Rename create_config command to config
  • Hyperlinks are now in blue instead of dimmed blue

Bugfixes

  • Fixed a bug where highlighting of $ would cause a panic
  • Comments are now properly shortened when they reach the edge of the screen
  • Fractions now have proper spacing between them and the next word

1.15

2021-07-22

New features

  • Submissions can now be marked as read (turned off by default)

Cosmetic

  • Highlight mentions of FAANG in the comment section
  • Highlight moderator author names in main screen
  • Removed white from indent blocks
  • Comments now show prettier Unicode fractions
  • Double single dashes (--) now appear as a single em-dash (—)
  • Triple dots (...) now appear as a single ellipsis (…)
  • Added an option to convert smileys to emojis
  • Removed support for hyperlinks in the terminal since they were somewhat too complex compared to the benefit / convenience they provided
  • URLs are now highlighted in dimmed blue

1.14

2021-07-15

Bugfixes

  • Fixed a bug where a single @ would be highlighted
  • Fixed a bug where alternate indentation block would not apply for quotes

Cosmetic

  • Monthly Who is hiring, Freelancer, Who wants to be hired posts are now highlighted in their own color

Backend

  • Bump cobra and viper
  • Bump cview

1.13

2021-06-30

New features

  • Comment syntax highlighting can now be disabled

Cosmetic

  • Adjusted article width in Reader Mode
  • Added a message when successfully running clx create_example_config
  • Reworked pagination indicator
  • Ask HN is now highlighted in blue
  • Tell HN is now highlighted in magenta
  • $variables are now highlighted in cyan
  • IANAL is now highlighted in red
  • IAAL is now highlighted in green

1.12

2021-06-14

New features

  • clx id [item-id] respects config.env and set environment variables

Cosmetic

  • Text inside backticks is highlighted
  • Mentions in comments @username are highlighted
  • Changed highlighting of PDF, video and audio in headlines

1.11

2021-06-13

New features

  • Added a command to go directly to the comment section for a given ID

Cosmetic

  • Reader Mode: Do not print Footnotes in Wikipedia articles
  • Reader Mode: Improved formatting for bullet points

1.10

2021-06-12

Bugfixes

  • Fixed a bug where deeply nested comment did not use the whole screen

1.9

2021-06-12

Bugfixes

  • Fixed a bug where the formatting in the comment section would occasionally break

Cosmetic

  • Default comment width is now 65 instead of 70
  • Comment quotes now have an indentation block
  • Changed the order of colors for the indentation blocks
  • Code blocks now use the whole screen
  • Better handling of references inside quotes/nested blocks in Reader Mode

1.8

2021-06-02

Cosmetic

  • A confirmation message is now shown after adding a story to favorites by ID
  • Submissions in specific formats ([pdf], [audio], etc.) are now highlighted
  • Monthly Who is hiring posts are now highlighted
  • Wikipedia articles in Reader Mode now have improved formatting
  • Improved formatting for confirmation, warning and error messages

1.7

2021-05-30

Cosmetic

  • Keymaps screen is now fixed-width

Bugfixes

  • Fixed a bug where references was printed twice in Reader Mode

1.6

2021-05-30

Cosmetic

  • Quotes in Reader Mode are now dimmed and italicized

Bugfixes

  • Fixed a bug where scrolling backwards in less would lead to improper formatting

1.5

2021-05-24

New features

  • Added option to force open article in Reader mode
  • Added option to use alternate indentation blocks for compatibility issues

1.4

2021-05-16

New features

  • Create example config from the terminal with clx create_example_config

Cosmetic

  • Simplified keymaps screen

1.3

2021-05-07

New features

  • Added a validator to prevent entering Reader Mode on sites that are known to be unsupported

Bugfixes

  • Fixed a bug where Reader View mode would occasionally format references incorrectly

1.2

2021-05-06

New features

  • Read a submission's article in Reader View mode

1.1

2021-04-27

Cosmetic

  • Show item ID in comment section

Bugfixes

  • Fixed a bug where hrefs were not stripped inside quotes
  • Fixed a bug where pressing G while in Relative Numbering mode would not properly update the left margin on the favorites page
  • Fixed a bug where a refresh wouldn't trigger after returning from the comment section

1.0

2021-04-24

Bugfixes

  • Fixed a bug where the first keystroke was lost when entering the comment section
  • Fixed a bug where pressing G while in Relative Numbering mode would not properly update the left margin

0.17

2021-04-07

Bugfixes

  • Fixed a bug where hidden stories of the type X is hiring would cause a panic

New features:

  • Exit info screen with Esc and ? (in addition to i)

0.16

2021-04-07

Backend

  • Rename submission to story

Bugfixes

  • Fixed a bug where triple spaces would not be correctly converted to single space

0.15

2021-04-04

Cosmetic

  • All views are now responsive

Backend:

  • Simplified Info View logic

0.14

2021-04-03

New features

  • Press F to add submission to Favorites by ID

0.13

2021-04-02

New features

  • Submissions can now be added to Favorites

Cosmetic

  • Headlines are now syntax highlighted by default
  • Definition on info screen now realigns after resizing the terminal

Backend:

  • Extracted logic for handling submissions out of the model

0.12

2021-03-03

New features

  • Quotes are now dimmed and italicized

Cosmetic

  • Changed appearance of error and success notifications

Bugfixes

  • Fixed a bug where brackets in titles would not appear

0.11.1

2021-03-01

Bugfixes

  • Fixed a bug where the separator between the submissions's root comment and the comment section was not properly formatted

0.11

2021-02-28

Cosmetic

  • The top bar is now transparent instead of orange
  • Settings screen has been redesigned

Bugfixes

  • Fixed a bug where references ([1], [2], […]) would highlight inside code blocks

0.10

2021-02-25

New features:

  • g and G works the same way as it does in Vim

Cosmetic

  • Cleaned up the keymap screen
  • Highlight Headlines now either reverse highlights all headlines or color highlights all headlines (YC-funded startups were previously colorized in option 1)

Bugfixes

  • Fixed a bug where the config.env template wasn't created with default values

Backend

  • Bump to Go 1.16

0.9

2021-02-08

Cosmetic

  • Settings screen now highlights booleans and integers

Bugfixes

  • Fixed a bug where jumping multiple lines would lead to an infinite loop

0.8

2021-02-07

New features

  • Posts of the type 'YC startup is hiring' are now hidden by default and can be enabled in the settings

Cosmetic

  • Info screen now shows version number
  • Increased spacing between the descriptions on the settings page for easier readability

Backend

  • Added version number to User-Agent ID string
  • Replaced stock http with resty

0.7.1

2021-01-21

Backend

  • Added User-Agent ID

0.7

2021-01-21

Cosmetic

  • Changed [Y] to 🆈
  • Submission text highlighting now turned off by default
  • Added ERROR and SUCCESS labels to some messages
  • Changed YC S/WXX labels

Bugfixes:

  • Fixed a bug where JSON errors were not handled properly

0.6

2021-01-15

New features

  • Numerical input on the home screen now repeats the next action N number of times (same as in Vim's Normal mode)
  • Added option 'Use Relative Numbering': Relative numbering marks each line with a number relative to the distance from the currently selected element (similar to Vim's hybrid line number mode)

Bugfixes

  • Fixed a bug where the descriptions in config.env contained raw ANSI escape codes

0.5

2021-01-10

New features

  • Added option to preserve right margin in comment section
  • Added option to customize and colorize submission headlines

Cosmetic

  • Settings will be shown in two columns if there is enough screen space

Bugfixes

  • Fixed a bug where setting comment width to 0 did not use the whole screen

0.4

2021-01-08

New features

  • Added functionality to customize circumflex by editing config.env or exporting environmental variables

Cosmetic

  • Information page now has three screens: Information Home Screen, Keymaps and Settings

0.3

2020-12-17

New features

  • Added a status bar to show contextual information
  • circumflex now handles connection errors gracefully

Bugfixes

  • circumflex will no longer suspend the application when trying to open submission of the type 'Company X (YC W20) is hiring'

Backend

  • Use the 'level' field directly from the API instead of calculating it
  • Large refactor of the program architecture

0.2.4

2020-12-11

Bugfixes

  • Fixed a bug where the number of submissions to view was not calculated correctly
  • Fixed a bug where pressing 0 would go to the last element on the list instead of the 10th
  • Info line about entering less now appears right after submission info line

0.2.3

2020-12-05

New features

  • Added keybinding: Press 0-9 to go directly to submission

Cosmetic

  • Indented comment bar now also uses brighter colors
  • References now also uses brighter colors
  • Comment section: Added a notice about entering less and how to exit from it

0.2.2

2020-11-28

Cosmetic

  • Selected items now uses the terminal's default colors in order to correctly highlight the selection regardless of color scheme

0.2.1

2020-11-27

New features

  • Added keybinding: Press r to refresh

Bugfixes

  • Fixed a bug where circumflex would crash while resizing the terminal while on the help screen and on pages larger than 1

0.2

2020-11-22

New features

  • Added support for resizing the terminal while circumflex is running
  • Added keybindings: g / G to go to first and last element
  • Added keybinding: c to open submission comments in browser

Cosmetic

  • On the submissions page, YC startup labels are now orange text on black background

Backend

  • Large parts of the code have been refactored and placed into an MVC pattern
  • cheeaun's unofficial Hacker News API: Changed API endpoint to use Cloudflare CDN

0.1

2020-11-15

  • First Release