Skip to content

Releases: platers/obsidian-linter

1.27.0-rc-1

28 Sep 21:51
018fc69
Compare
Choose a tag to compare

Linter v1.27.0-rc-1

It is that time again. The Linter is releasing another time. This release is a BRAT release and it should allow BETA/BRAT testers to be able to get access to the new more consistent way of updating content in source and Live Preview mode. This will hopefully get rid of the issues that have been encountered when using Linter in Live Preview (I know this statement has been made several times before, but this time I am hoping it will be the last time I have to say this since it uses CodeMirror directly now). Beyond that the only other big change was to YAML Timestamp. Many people have been waiting for the ability to have date modified set after a user edits a file without having to manually lint. Well, now that is the case. The only logic run after a change in the editor is the YAML timestamp logic and only if a user turns on the setting to do so under the general tab.

Features

  • Made some styling changes to make some of the Linter settings to be cleaner and more akin to what is present elsewhere in Obsidian
  • Added an option to Auto-Correct Common Misspellings to allow for ignoring words with a capital letter present at anywhere except the first letter
  • Added ability to refresh custom auto-correct file contents that the Linter is aware of from the settings page
  • Added the ability to run YAML Timestamp x seconds after a change is made in an editor
  • Added the ability to ignore the date modified in the file system in favor of just updating that value when a change is made by the Linter or the user in an editor

Bugs

  • Fixed the Linter running Auto-Correct Common Misspellings on custom auto-correct files which erased these custom file config values
  • Fixed an issue with pasting a URL not working consistently
  • Fixed Live Preview not working in some scenarios when a file was updated (hopefully this will put these issues to rest for good)

What's Changed

  • Fix: Paste with a URL not Working Consistently by @pjkaufman in #1158
  • Release Prep & Fix Up UT RAM Usage by @pjkaufman in #1159
  • Add and Update Integration Tests by @pjkaufman in #1168
  • Fix: Live Preview Editor Updates by @pjkaufman in #1169
  • Update Docs, Some Component Formatting, and Auto-Correct Common Misspellings Functionality by @pjkaufman in #1173
  • Feat: Auto-Correct Common Mispellings Allow Users to Ignore Words with Multiple Capitals by @pjkaufman in #1175
  • Chore: Add Zip File for Manual Plugin Install to Release Workflow by @pjkaufman in #1176
  • Chore: Swap Off of Deprectated MarkdownRender.renderMarkdown to MarkdownRender.render by @pjkaufman in #1177
  • Feat: Update Date Modified on Editor Content Change & Miscellaneous Style and YAML Timestamp Changes by @pjkaufman in #1178
  • Auto-release beta 1.27.0-rc-1 by @pjkaufman in #1179

Full Changelog: 1.26.0...1.27.0-rc-1

1.26.0

01 Sep 23:25
Compare
Choose a tag to compare

Linter v1.26.0

Thanks for your patience with some of these changes as I have been working more and more with BRAT releases to get more experimental features or fixes in place. I will likely continue going this route in the future to allow for fixes to get tested and released faster in some cases, especially ones that do not meet my use cases.

This release has a lot of bug fixes and a couple of new features. This change adds some flexibility to ranged ignores which now allows you to use Obsidian style comments. There has also been the addition of the ability to specify files that have custom auto-corrections for misspellings. Do note that there are limitations to how this works at this time, but it can be improved down the road based on feedback.

Thank you to all of those that have reported bugs, requested features, suggested documentation, and even contributed changes. These changes would not have been possible without y'all.

Features

  • Added the ability to use Obsidian comments for ranged ignores
  • Added the ability to specify files where custom auto-correct values are located (see here for a reference on how to use them)

Bugs

  • Fixed an issue with some versions of the Linter having the wrong minimum version of Obsidian specified which would cause errors when it would lint files
  • Fixed an issue with an edge case where updating the Frontmatter in Live Preview would break the Frontmatter
  • Fixed an issue with the wrong CJK unicode being used in regex which would occasionally cause issues
  • Fixed an issue with the YAML Title rules where capitalization of the headings would not work the first time it ran due to the order the rules ran in
  • Fixed an issue with moving tags to the frontmatter where it would not allow emojis in the tags
  • Fixed an issue with ' and - being considered words when it came to heading capitalization
  • Fixed an issue with formatting tags using regex that could affect other subsequent keys' and their values if they had a # in them

Documentation

  • Updated wording for Heading Blank Lines to try to make it clearer that there will be only one line before and/or after a heading based on the settings used for that rule

What's Changed

New Contributors

Full Changelog: 1.25.0...1.26.0

1.26.0-rc-3

21 Aug 00:08
Compare
Choose a tag to compare

Linter 1.26.0-rc-3

This release is a beta release for BRAT. It should fix the issue with custom replacements not loading properly before the first time the Linter runs. There is also a fix for regex not allowing emojis to be present. Also, got the bundle size to be smaller for this release for the plugin which should not break anything and should improve loading times, even if just a little.

Bugs

  • Fixed tags not allowing emojis in them
  • Fixed custom replacements not being loaded in before the first time the Linter runs after the plugin loads

What's Changed

Full Changelog: 1.26.0-rc-2...1.26.0-rc-3

1.26.0-rc-2

12 Aug 02:10
b4f59c3
Compare
Choose a tag to compare

Linter 1.26.0-rc-2

This release is a beta release for BRAT. It should fix the issue with not being able to fully load the Linter due to trying to access a value as an array when it did not already exist.

What's Changed

Full Changelog: 1.26.0-rc-1...1.26.0-rc-2

1.26.0-rc-1

11 Aug 21:25
Compare
Choose a tag to compare

Linter v1.26.0-rc-1

This release is a beta release for BRAT. It has several fixes for the Linter, but it also includes the ability to add custom misspellings to the auto-correct misspelling list and it allows ranged ignores to be Obsidian comments as well as html comments.

Features

  • Added the ability to add custom misspellings to the list of words to auto-correct
  • Added the ability for users to use Obsidian comments for ranged ignores instead of just html comments

Bugs

  • Fixed another edge case where Live Preview updates would break the YAML frontmatter
  • Fixed an issue with CJK symbols not being correctly identified in some cases
  • Fixed an issue with capitalizing headers taking effect after the header was moved to the YAML which caused multiple lints to be needed to make the YAML title match the header

What's Changed

  • Fix: Minimum App Version Fixed to Prevent Wrong Version Being Used on Older Obsidian Versions by @pjkaufman in #1124
  • Fix: Live Preview YAML Update Occasional Breaks Frontmatter by @pjkaufman in #1126
  • Fix CJK symbols and punctuation unicode by @NatsukiFukazawa in #1128
  • Support Obsidian-style comment for inline linter toggle by @sevmonster in #1122
  • Fix: capitalize-headings, yaml-title, yaml-title-alias require two lint passes to resolve by @tcoliver in #1131
  • Add Custom Auto-Correct Options by @pjkaufman in #1132

New Contributors

Full Changelog: 1.25.0...1.26.0-rc-1

1.25.0

08 Jul 01:23
2e5aeee
Compare
Choose a tag to compare

Linter v1.25.0

This release goes ahead and moves the previous beta release to regular users. It also adds a couple of feature changes and bug fixes. Users can now ignore files using regex and have their YAML timestamps be UTC.

Features

  • Users can now use regex to ignore files based on file paths that match the regex(es) specified
  • Users can now specify that the YAML timestamp value will be in UTC

Docs

  • Some wording updates were added to a couple of rules to help clarify how certain rules work

Bugs

  • Fixes YAML Timestamp overwriting created date when retention of creation date is set, the timezone is in the format, and the computer is currently in a different timezone from the one where the created date was created
  • Fixes Blockquote Style removing spaces from list item code and math blocks
  • Fixes YAML Title Alias not respecting multiline format when the alias key is empty and preserve existing format is enabled
  • Fixes a scenario where linting in Live Preview would mess up the markdown in the file since it tried to update the frontmatter piecemeal
  • Fixes No Bare URLs not allowing ~ in the URL path
  • Fixes image links being affected by Quote Style
  • Fixes footnotes with hyphens not being counted as footnotes
  • Fixes some issues with tag regex that caused incorrect matches which could cause issues with the frontmatter

What's Changed

  • Fix: YAML Timestamp Overwrites Created Date When Retention Set and Timezone in Format when Current Timezone Is Different by @pjkaufman in #1081
  • Fix: Update Wording in Translation Files to Help Clarify How Certain Rules Work by @pjkaufman in #1083
  • Basic implementation of YAML timestamp UTC option by @lucible in #1070
  • Fix: blockquote-style Removes Spaces from List Item Code and Math Blocks by @pjkaufman in #1088
  • Fix: yaml-title-alias Does Not Respect Multiline Format when Initially Empty with Preserve Existing Format Used by @pjkaufman in #1089
  • Fix: Live Preview Update Breaks Frontmatter if Frontmatter Exists and Update Happens on the --- of the end of the Frontmatter by @pjkaufman in #1094
  • Fix: URL Not Allowing ~ in Path by @pjkaufman in #1095
  • Feat: Add Ability to Ignore Files Via Regex by @pjkaufman in #1096
  • Add Beta Release Info by @pjkaufman in #1097
  • Fix: Ignore Images for Quote Style by @pjkaufman in #1110
  • fix: footnote-after-punctuation containing hyphen by @domodwyer in #1113
  • Fix: Blockquotes Joined When Code Block Ends/Starts Two Same Level Blockquotes by @pjkaufman in #1118
  • Fix: Update Tag Regex to Better Conform to Specified Obsidian Tag Spec by @pjkaufman in #1119
  • Release Prep 1.25.0 by @pjkaufman in #1120

New Contributors

Full Changelog: 1.24.0...1.25.0

1.25.0-rc-1

01 Jun 20:21
952bba9
Compare
Choose a tag to compare

Linter v1.25.0-rc-1

This release is a beta release for BRAT. It mostly contains bug fixes, but it adds the ability to use regex to ignore files to lint and setting the YAML timestamp value as a UTC value. Please feel free to open an issue if there is a bug in the logic.

Features

  • Users can now use regex to ignore files based on file paths that match the regex(es) specified
  • Users can now specify that the YAML timestamp value will be in UTC

Docs

  • Some wording updates were added to a couple of rules to help clarify how certain rules work

Bugs

  • Fixes YAML Timestamp overwritting created date when retention of creation date is set, the timezone is in the format, and the computer is currently in a different timezone from the one where the created date was created
  • Fixes Blockquote Style removing spaces from list item code and math blocks
  • Fixes YAML Title Alias not respecting multiline format when the alias key is empty and preserve existing format is enabled
  • Fixes a scenario where linting in Live Preview would mess up the markdown in the file since it tried to update the frontmatter piecemeal
  • Fixes No Bare URLs not allowing ~ in the URL path

What's Changed

  • Fix: YAML Timestamp Overwrites Created Date When Retention Set and Timezone in Format when Current Timezone Is Different by @pjkaufman in #1081
  • Fix: Update Wording in Translation Files to Help Clarify How Certain Rules Work by @pjkaufman in #1083
  • Basic implementation of YAML timestamp UTC option by @lucible in #1070
  • Fix: blockquote-style Removes Spaces from List Item Code and Math Blocks by @pjkaufman in #1088
  • Fix: yaml-title-alias Does Not Respect Multiline Format when Initially Empty with Preserve Existing Format Used by @pjkaufman in #1089
  • Fix: Live Preview Update Breaks Frontmatter if Frontmatter Exists and Update Happens on the --- of the end of the Frontmatter by @pjkaufman in #1094
  • Fix: URL Not Allowing ~ in Path by @pjkaufman in #1095
  • Feat: Add Ability to Ignore Files Via Regex by @pjkaufman in #1096
  • Add Beta Release Info by @pjkaufman in #1097

New Contributors

Full Changelog: 1.24.0...1.25.0-rc-1

1.24.0

29 Apr 23:27
7b887b7
Compare
Choose a tag to compare

Linter v1.24.0

This release includes some feature changes as well as some bug fixes. This change brings the fix for folds not being retained on lint from beta to everyone. There was also an update made to the Chinese translation of the settings and UI text to make it more up to date with some of the changes that have happened since it was last updated.

Features

  • Users can now specify the key to use to help keep track of previous file titles for YAML Title Alias
  • Users can now specify which line ending they would like to use between two spaces, \, and and line break html/xml
  • Users can now customize what is considered to be English punctuation and symbols (except for *) for adding spaces around CJK and English characters

Bugs

  • Fixes Blockquote Style removing spaces from codeblocks
  • Fixes custom commands trying to run when only blank custom commands are present
  • Fixed "`" being included in what the Linter considered to be tags

What's Changed

Full Changelog: 1.23.3-rc-1...1.24.0

1.23.3-rc-1

22 Mar 17:46
Compare
Choose a tag to compare

Linter v1.23.3-rc-1

This release is the first ever beta release for the Linter. It is meant to allow for early testing of the Live Preview changes that were just made to allow for the retention of editor folds in both Live Preview and Source mode. Beta releases are likely to be buggy, but allow for early feedback on changes. I plan to use the beta releases through BRAT, but please decide yourself whether or not using the beta releases is the right approach for you.

Docs

  • An additional warning was added for Header Blank Lines to let users know about a custom regex replacement that can be used in order to prevent a blank line from being present between a header and a paragraph that follows it when Bottom is false.

Bugs

  • Fixes folds not being retained on Lint when changes were made in Live Preview and Source mode
  • Fixes URL regex to allow '@' in the path for URLs

What's Changed

  • Added Version Changes for Release by @pjkaufman in #1035
  • Fix: Folds not Being Retained on Lint when Changes Made by @pjkaufman in #1042
  • Chore: Update Versions and Make Sure Tests in Test Vault Are Not Used by Jest by @pjkaufman in #1048
  • Fix: Fix URL regex to allow '@' in the path by @marcelhas in #1051
  • Fix: Live Preview Inserting Frontmatter when It Does Not Exist Already by @pjkaufman in #1049
  • 🔊 Add a warning about unexpected line-break between heading and paragraph by @mahtaran in #1054

New Contributors

Full Changelog: 1.23.2...1.23.3-rc-1

1.23.2

06 Mar 00:15
Compare
Choose a tag to compare

Linter v1.23.2

This release focuses on bug fixes to for the last release and a couple of other things that came up to help keep things functional and working for users.

Bugs

  • Fixes YAML Array Value sorting being case sensitive
  • Fixes an error where some older custom replacements did not have any labels since they predated the label addition which caused an error when trimming that data for debug info
  • Fixes an issue with Paragraph Blank Lines not being consistent when dealing with lists and checklists. Some indicators were not being properly ignored due to not being in the list of values to look for (for example * and +)
  • Fixes No Bare URLs not including % in the URL
  • Fixes No Bare URLs working on some file URI schemes (specifically file:///).

What's Changed

  • Make YAML Array Value Sorting Case Insensitive by @pjkaufman in #1026
  • Fix: Undefined Custom Regex Label Causes Error by @pjkaufman in #1027
  • Fix: Paragraph Blank Lines Not Being Consistent Across List Types and Different List Indicators by @pjkaufman in #1028
  • Fix: No Bare URLs Not Including % in URL by @pjkaufman in #1031
  • Fix: No Bare URLs Not Working on File URI Scheme with Three Slashes after Starting Colong by @pjkaufman in #1032

Full Changelog: 1.23.1...1.23.2