-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: next major release with performance improvements #5686
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JanDeDobbeleer
force-pushed
the
beta
branch
from
September 30, 2024 13:44
2ba15ec
to
d72cb71
Compare
JanDeDobbeleer
force-pushed
the
beta
branch
6 times, most recently
from
October 11, 2024 19:59
b2c5509
to
daec7da
Compare
Repository owner
locked as off-topic and limited conversation to collaborators
Oct 12, 2024
JanDeDobbeleer
force-pushed
the
beta
branch
4 times, most recently
from
October 19, 2024 06:34
447504b
to
e8fb1b4
Compare
JanDeDobbeleer
force-pushed
the
beta
branch
6 times, most recently
from
October 28, 2024 14:07
b348391
to
ec225d3
Compare
JanDeDobbeleer
force-pushed
the
beta
branch
2 times, most recently
from
October 31, 2024 21:07
ea85e8a
to
2e7d11a
Compare
BREAKING CHANGE: this requires to set `pwd: OSC99` instead of `OSC99: true`
BREAKING CHANGE: this is now completely deprecated and no longer supported
BREAKING CHANGE: changes `disable_notice: false` to `upgrade_notice`: true
BREAKING CHANGE: with templates being removed, this need to be a single template element now
resolves #5750
JanDeDobbeleer
force-pushed
the
beta
branch
3 times, most recently
from
November 3, 2024 11:08
9578349
to
6042eb7
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Prerequisites
Description
The aim of this PR is to make a few fundamental changes to memory and CPU usage inside Oh My Posh.
However, as this requires multiple breaking changes, I want to group them together rather than
push a couple of these releases out. I'm going to take my time for this one.
Latest build
https://github.com/JanDeDobbeleer/oh-my-posh/actions/runs/11555696906/artifacts/2112520953
Note
The builds are generated by the
build
action and this is a link to the artifacts.If the builds are no longer available, drop a message in the feedback channel and I'll update the link.
Feedback
All feedback and conversations are managed through our Discord channel here.
Features
Auto upgrade
Breaking changes
Config:
OSC99
is removedSet
pwd: OSC99
instead ofOSC99: true
Segment:
cache_timeout
is removedSegment caching is now managed on a higher level, namely the segment itself. You can cache any segment for a specified amount of time by using the new
cache
field:Duration can take in values from
1second(s)
toxmonths
as well as theinfinite
keyword. Thestrategy
can befolder
orsession
, withfolder
being the default. Folder is smart enough to take into account SCM context in subfolder, as long as the SCM tool supports it.Segment:
cache_version
is removedThe version is now cached for 24 hours by default. Use the above caching mechanism to tweak that even more.
Block:
type: linebreak
is removedThis was marked as deprecated for a long time and has now been removed. Add
newline: true
to the block you want to seeon a new line.
Block:
horizontal_offset
andvertical_offset
are removedThis was only relevant in they days where the block positioning wasn't that reliable yet, should no longer be needed.