Skip to content

Releases: platers/obsidian-linter

1.19.0

01 Aug 00:14
dc37f03
Compare
Choose a tag to compare

Linter v1.19.0

This release is more of a patch than a full-fledged release, but it has 2 feature additions that were not present before. This release fixes lint on change affecting ignored folders, updates the lint on change message to only show when a file is updated, and ignores inline code when update quotes as part of Quote Style.

Features

  • The lint on change message now only displays when a change is made to a file
  • Quote Style now ignores inline code

Bugs

  • Lint on change now respects ignored folders

What's Changed

  • Fix Issue with Lint on Change Updating Files in Ignored Folders and Make Lint On Change Notification Only Show when a File Is Updated by @pjkaufman in #829
  • Make Quote Style Ignore Inline Code by @pjkaufman in #830
  • Release Prep by @pjkaufman in #831

Full Changelog: 1.18.0...1.19.0

1.18.0

29 Jul 18:45
3acbe45
Compare
Choose a tag to compare

Linter v1.18.0

This release was again mostly bug fixes with some ease of development changes. A highly requested feature of linting on the active file changing was added as well. There has also been an update to the documentation where it has been added to a generated site located at https://platers.github.io/obsidian-linter/. The site is not completely ready to be referenced by the plugin code, but the content is up to date and will be replacing other documentation found in the README and elsewhere.

Features

  • A Turkish translation for the plugin was added
  • Updates were provided for the Chinese translation
  • There were updates to the wording for the English translation to make the wording similar
  • The ability to automatically lint the active file as you close or swap to a new active file
  • Sort YAML Keys will now handle the keys when they end in a colon (:)
  • Timing logs have been improved to only show for rules that actually run

Bugs

  • Linting the non-current file was always modifying the file even when no changes were made
  • When pasting a checklist or list item, the paste rules now take into account the selected text as well to keep from pasting and having no checklist item indicator or list item indicator present
  • When a Callouts are present and are nested, make sure that they do not get merged when adding blank lines around blockquotes/callouts
  • Handle moving math block indicators to their own lines better when the math block indicators have other content on the same line

What's Changed

  • Update Wording to Be More Consistent and Concise by @pjkaufman in #790
  • Add ESLint Auto Fix for Fixable Issues in CI by @pjkaufman in #791
  • Updated the Documentation and Added Plugin Name to Installation Instructions by @pjkaufman in #795
  • Add Options to Lint on File Change and Show a Message Saying which File Was Linted on File Change by @pjkaufman in #799
  • Update Sort YAML Keys to Handle Keys Ending in Colon by @pjkaufman in #800
  • Fix Duplicated Description for Lint on File Change and Fix Removal of Indicators for Lists and Checklists when Paste Content and Selected Text Start with List or Checlkist Indicators by @pjkaufman in #802
  • chinese translate update by @Ooopz in #803
  • Revert "Add ESLint Auto Fix for Fixable Issues in CI" by @pjkaufman in #808
  • tr.ts by @alitekdemir in #805
  • Fix Issue with Lint via File Menu Always Updating File Modified Date by @pjkaufman in #807
  • Updated Lint File from File Menu to Go Ahead and Lint Using the Editor if Possible by @pjkaufman in #811
  • Make Timing Logs Only Show for Rules that Run and Make Example Clearer by @pjkaufman in #815
  • Fix Blank Lines Around Callouts Causing Callouts to Merge by @pjkaufman in #817
  • Fix Moving Math Block Indicators to Their Own Line Breaking Math Blocks when Malformed with Content Between Them by @pjkaufman in #818
  • Add Release Workflow, Update Docs, and Update Version for Release by @pjkaufman in #823

New Contributors

Full Changelog: 1.17.0...1.18.0

1.17.0

11 Jul 23:54
4572fc6
Compare
Choose a tag to compare

Linter v1.17.0

This release mainly touched on bug fixes with the addition of labels for custom replacement values so that you can explain what the custom replacement is used for and a rule suggester like the tag or link suggester that can be used when typing in rules to disable for the Linter using the disabled rules key in the YAML.

Features

  • Added a label for custom replacements
  • Added the ability to suggest rules to disable when the rule's name or alias is typed in like how tags and links work in native Obsidian

Bugs

  • Updated the Chinese translation for Quote Title
  • Made sure that No Bare URLs does not affect HTML
  • Fixed an infinite loop in move-footnotes-to-the-bottom and re-index-footnotes where a footnote definition that was the first line of a file and duplicated elsewhere caused an infinite loop
  • Updated the logic for moving math block indicators to their own line to try to handle scenarios where 2 math blocks get combined into 1
  • Updated Paragraph Blank Lines to not add blank lines around footnote definitions at the end of a file

What's Changed

Full Changelog: 1.16.0...1.17.0

1.16.0

19 Jun 12:21
ae0f42f
Compare
Choose a tag to compare

Linter v1.16.0

This release mainly focused on bug fixes. There was also a fix to the Chinese translation wording and an update to allow custom checkbox markers (the value inside the square brackets) to be recognized as checkboxes for the regex.

Features

  • Allow use of custom checkbox markers

Bugs

  • Numeric aliases are now escaped when changes are made to the alias or aliases keys.
  • Heading Blank Lines no longer removes empty lines after a heading when Bottom=False
  • When retaining the value in the created date timestamp key for YAML Timestamp, it no longer always considers the file to have been update. It now only considers the file to have been updated if something has changed or the date created actually gets updated.
  • Custom Replacements now respect ranged ignores and YAML frontmatter disabled rules when all is present
  • Custom commands now respect disabled rules when all is present

What's Changed

  • Fix translation in zh-cn.ts by @lifeek23 in #746
  • Make Checklists Account for Custom Checklist Markers by @pjkaufman in #749
  • Update Issue Templates and Readme by @pjkaufman in #750
  • fix npm dependencies issues by @qazxcdswe123 in #756
  • Escape Numeric Aliases & Refactor YAML Title Alias Logic by @pjkaufman in #757
  • Update Alias Handling of Numeric Values for All Formatting and Handle Commas in YAML Title Alias Better by @pjkaufman in #759
  • Fix Heading Blank Lines with Bottom=False Removing Blank Lines by @pjkaufman in #760
  • Fix Retention of Created Date Causing YAML Timestamp to Always Update Date Modified and Fix Logging of Timing Info by @pjkaufman in #761
  • Have Custom Replacement Respect Ranged Ignores and YAML Fronmatter Disabling and Make Custom Commands not Run if all is Disable in Frontmatter by @pjkaufman in #762
  • Release Prep by @pjkaufman in #766

New Contributors

Full Changelog: 1.15.2...1.16.0

1.15.2

26 May 11:04
3e9df9d
Compare
Choose a tag to compare

Linter v1.15.2

This is a patch that just has the fix for the notice with characters updated by the Linter on the last run not automatically going away after a couple of seconds.

What's Changed

  • Update Characters Changed Notification by Removing User Click Timeout by @pjkaufman in #741
  • Update Versions for Patch by @pjkaufman in #742

Full Changelog: 1.15.1...1.15.2

1.15.1

25 May 13:12
c3f54f5
Compare
Choose a tag to compare

Linter v1.15.1

This release had a couple of quick patches to make sure that multiple custom ranged ignores work (#733 ) and warnings around the markdown render changes where it needed to have a component set to help make sure no memory leaks were to happen (#734 ).

Hopefully this will cover the most immediate issues around the Linterv1.15.0 and the latest Obsidian release. Have a blessed day!

What's Changed

Full Changelog: 1.15.0...1.15.1

1.15.0

25 May 00:49
48d77fd
Compare
Choose a tag to compare

Linter v1.15.0

This release was more focused on some of the requested features like the ability to turn the Linter off for certain portions of a file and allowing YAML Title to not just use the first H1 and then the filename if the H1 was not present.

Notable Changes:

  • Custom ignore was added and it allows you to use the syntax <!-- linter-disable --> to disable the Linter from that point until the next instance of <!-- linter-enable --> in the file. Read more on this here.
    • If there is a desire to have the ability to turn of specific rules rather than all rules, please let us know on #726
  • YAML Title now has 3 modes to choose from: get title from filename, get title from first H1, and get title from first H1 or filename if there is no H1
  • You can decide whether to use smart or straight quotes in files

What's Changed

Full Changelog: 1.14.0...1.15.0

1.14.0

14 May 17:42
93a6e8a
Compare
Choose a tag to compare

Linter v1.14.0

This release mostly dealt with minor bug fixes, but it also went ahead and added 2 new rules.

Notable Changes:

  • Added ability to remove spaces before a user defined list and after another user defined list
    • One caveat is that neither list should be used with { or } as it will cause issues with how the Linter ignores things
  • Added the ability to set the blockquote/callout style for blockquote indicators to determine whether or not they should have a space after >

What's Changed

Full Changelog: 1.13.0...1.14.0

1.13.0

02 May 23:44
d8192d9
Compare
Choose a tag to compare

Notable Changes

  • Added Chinese, Spanish, and German language support in the UI
    • Note that Spanish and German are from Google Translate with minor corrections in Spanish where I could see they were needed.

What's Changed

  • Make Sure that Wiki Images with Alt and Size Specified Are Ignored for CJK and English Character Spaces by @pjkaufman in #687
  • Fix Linter Setting Tab Headers not Respecting Selected Language by @pjkaufman in #691
  • Better Table Parsing by @pjkaufman in #694
  • Translation settings fields to chinese by @windily-cloud in #688
  • Fix minor issue with string replacement in main.ts by @lguenth in #695
  • Update Docs to Better Explain How to Contribute and Make Sure Translate Helper Automatically Includes Changes Made by @pjkaufman in #696
  • Add Spanish Translation by @pjkaufman in #698
  • Update Dependencies and Fix Text for a Couple of Rules by @pjkaufman in #699
  • Add German Language for UI, Release Prep, and Small Changes by @pjkaufman in #702

New Contributors

Full Changelog: 1.12.0...1.13.0

1.12.0

08 Apr 22:00
e660fcc
Compare
Choose a tag to compare

Notable Changes

  • Re-Index Footnotes has been changed to keep footnotes and their references associated with each other
  • Translation documentation has been added

What's Changed

  • Fix Blockquotes Getting Merged when an Empty Line is Between Them by @pjkaufman in #672
  • Fixed a Test and Made Paragraph Blank Lines Ignore Lines Starting with '>' by @pjkaufman in #673
  • Allow HTML Tags to Not Have Space Added Around it When Used Beside CJK Characters by @pjkaufman in #674
  • Fix Issue with Footnote Reorder When There are More Footnote References than Footnotes and the Last Footnote Reference for One of the Footnotes Comes After a Different Footnote Reference by @pjkaufman in #676
  • Swap Re-Index from a Merged File Use Case to a Just Re-Index Use Case by @pjkaufman in #677
  • Fix Erroneous Empty Line Added to Math Block End in Callout/Blockquote by @pjkaufman in #678
  • Fix Capitalization Rule Running Before Header Insert by @pjkaufman in #679
  • Prep for Release and Translation Documentation by @pjkaufman in #680

Full Changelog: 1.11.0...1.12.0