Releases: platers/obsidian-linter
1.26.0-rc-3
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
- Fix: Tags Regex Not Allowing Emojis by @pjkaufman in #1139
Full Changelog: 1.26.0-rc-2...1.26.0-rc-3
1.26.0-rc-2
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
- Prerelease PR by @pjkaufman in #1134
- Fix: Load Issue Due to Not Defaulting an Array by @pjkaufman in #1135
- Auto-release beta 1.26.0-rc-2 by @pjkaufman in #1136
Full Changelog: 1.26.0-rc-1...1.26.0-rc-2
1.26.0-rc-1
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
- @NatsukiFukazawa made their first contribution in #1128
- @sevmonster made their first contribution in #1122
- @tcoliver made their first contribution in #1131
Full Changelog: 1.25.0...1.26.0-rc-1
1.25.0
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 Timestampoverwriting 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 Styleremoving spaces from list item code and math blocks - Fixes
YAML Title Aliasnot 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 URLsnot 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-styleRemoves Spaces from List Item Code and Math Blocks by @pjkaufman in #1088 - Fix:
yaml-title-aliasDoes 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 Styleby @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
- @lucible made their first contribution in #1070
- @domodwyer made their first contribution in #1113
Full Changelog: 1.24.0...1.25.0
1.25.0-rc-1
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 Timestampoverwritting 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 Styleremoving spaces from list item code and math blocks - Fixes
YAML Title Aliasnot 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 URLsnot 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-styleRemoves Spaces from List Item Code and Math Blocks by @pjkaufman in #1088 - Fix:
yaml-title-aliasDoes 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
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 Styleremoving 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
- Add BRAT Release Prep by @pjkaufman in #1053
- Chore: Added Some Changes for Beta Releases by @pjkaufman in #1056
- Feat: Add Ability to Specify Alias Helper Key for
YAML Title Aliasby @pjkaufman in #1057 - Fix:
Blockquote StyleRemoves Spaces in Code Blocks by @pjkaufman in #1059 - Fix: Custom Commands Can Attempt to Run When No Custom Commands Are Valid by @pjkaufman in #1061
- chinese translate update by @Ooopz in #1063
- Fix: Make Sure Tags Do Not Have "`" in Them by @pjkaufman in #1076
- Feat: Add Ability for User to Select from Multiple Different Line Break Indicators by @pjkaufman in #1058
- Feat: Customize CJK English Spacing by @pjkaufman in #1078
- Release Prep by @pjkaufman in #1080
Full Changelog: 1.23.3-rc-1...1.24.0
1.23.3-rc-1
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 Linesto 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 whenBottomis 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
- @marcelhas made their first contribution in #1051
- @mahtaran made their first contribution in #1054
Full Changelog: 1.23.2...1.23.3-rc-1
1.23.2
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 LinesNot Being Consistent Across List Types and Different List Indicators by @pjkaufman in #1028 - Fix:
No Bare URLsNot Including%in URL by @pjkaufman in #1031 - Fix:
No Bare URLsNot Working on File URI Scheme with Three Slashes after Starting Colong by @pjkaufman in #1032
Full Changelog: 1.23.1...1.23.2
1.23.1
Linter v1.23.1
This release is fixes the sorting and dedupe YAML array values not running.
Bugs
- Fixes sorting and deduping YAML arrays not working since they were listed as special rules when they were not supposed to be
What's Changed
- Fix Dedepe and Sort not Running by @pjkaufman in #1021
Full Changelog: 1.23.0...1.23.1
1.23.0
Linter v1.23.0
This release is mostly made up of bug fixes, but there was the addition of sorting and dedupe YAML array values.
Features
- Added a rule for dedupe YAML array values
- Added a rule for sorting YAML array values
Bugs
- Fixed a bug where escaped
|values were messing up table recognition if it was in a table row - Fixed an issue with math block indicators that went from a single line to multiple accidentally getting the start of the line erroneously added to the next line when it got broken apart when not in a callout or blockquote
- Fixed
Re-Index Footnoteshaving an issue with Markdown Links as the values - Fixed an issue with
Heading Blank Linesnot working for for adding a blank line before a heading whenBottom=Falseand there was a tag on the line before a heading
What's Changed
- Dedupe YAML Arrays by @pjkaufman in #985
- Add Rule for Sorting YAML Array Values by @pjkaufman in #986
- Fix Custom Table Parser Not Respecting Escaped Pipes by @pjkaufman in #1001
- Fixed Content on Same Line as Math Block Indicator Getting Put At Start of Each Line Outside of a Blockquote for Inline Math for Moving Math Indicators to Their Own Lines by @pjkaufman in #1002
- Fix
Re-Index FootnotesNot Working for Markdown Link Values by @pjkaufman in #1007 Heading Blank Lines: Make Sure Tags on The Line Before a Heading Gets a Blank Line Added whenBottom=falseby @pjkaufman in #1008- Release Prep with Docs by @pjkaufman in #1020
Full Changelog: 1.22.0...1.23.0