Commit graph

3993 commits

Author SHA1 Message Date
Eelis Peltola a89e83b1dc
fix(notice): correct command for auto upgrade 2024-11-14 16:29:58 +01:00
Jan De Dobbeleer e005f898fe feat(upgrade): correct command for major upgrades
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
resolves #5883
2024-11-14 09:51:08 +01:00
Jan De Dobbeleer d023b76a7f fix(debug): print non-escaped prompt 2024-11-14 09:51:08 +01:00
Jan De Dobbeleer bebadac664 feat(debug): remove the need to specify shell 2024-11-14 09:51:08 +01:00
Jan De Dobbeleer b21c2d2c71 fix(config): correctly set config flag
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
resolves #5882
2024-11-13 23:52:56 +01:00
Jan De Dobbeleer 9349de4998 refactor(environment): remove logging via interface 2024-11-13 23:52:56 +01:00
Jan De Dobbeleer 077135e6cc refactor: move TemplateCache to template package
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-11-13 16:56:41 +01:00
L. Yeung 1a313f48ec feat(cache): make template cache available to all prompts 2024-11-13 16:56:41 +01:00
dependabot[bot] 69f7f06d4e chore: bump github.com/charmbracelet/bubbletea in /src
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 00:57:58 +00:00
dependabot[bot] 00ff7b1d0a chore: bump github/codeql-action from 3.27.1 to 3.27.3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.1 to 3.27.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](4f3212b617...396bb3e453)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 00:54:59 +00:00
dependabot[bot] b479c2d14a chore: bump softprops/action-gh-release from 2.0.9 to 2.1.0
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.9 to 2.1.0.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](e7a8f85e1c...01570a1f39)

---
updated-dependencies:
- dependency-name: softprops/action-gh-release
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-12 00:46:41 +00:00
L. Yeung a0002e16b5 feat(cli): restore --version option
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
2024-11-11 17:47:02 +01:00
L. Yeung 3e06366efa refactor(cli): hide global option --silent 2024-11-11 17:47:02 +01:00
L. Yeung 31fa1f37ab chore(schema): add native_fallback property for git segment 2024-11-11 17:47:02 +01:00
L. Yeung 64071fc72c chore(schema): add cache_duration property for language segments
Some checks are pending
Code QL / code-ql (push) Waiting to run
Azure Static Web Apps CI/CD / Build and Deploy (push) Waiting to run
2024-11-11 12:40:06 +01:00
L. Yeung dd62c23c62 docs: correct default value of cache_duration for language segments 2024-11-11 12:40:06 +01:00
L. Yeung ca17b7211c chore(schema): add native_fallback property for mercurial segment 2024-11-11 12:40:06 +01:00
L. Yeung f790b02b96 docs: add native_fallback property for mercurial segment 2024-11-11 12:40:06 +01:00
dependabot[bot] f10c50a0e8 chore: bump github/codeql-action from 3.27.0 to 3.27.1
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.27.0 to 3.27.1.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](662472033e...4f3212b617)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 00:31:22 +00:00
dependabot[bot] 543bb0aad1 chore: bump github.com/charmbracelet/bubbletea in /src
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-11 00:23:53 +00:00
Jan De Dobbeleer 8295e48ed3 docs: add subscription links
Some checks failed
Code QL / code-ql (push) Has been cancelled
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
Release / changelog (push) Has been cancelled
Release / artifacts (push) Has been cancelled
2024-11-09 11:41:53 +01:00
Jan De Dobbeleer 1bebcd1f5d fix(template): store segment data synchronous 2024-11-09 09:45:42 +01:00
Jan De Dobbeleer 665b487727 chore: remove all version 2 references
Some checks are pending
Code QL / code-ql (push) Waiting to run
Azure Static Web Apps CI/CD / Build and Deploy (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-11-08 16:29:05 +01:00
Jan De Dobbeleer 84e1e898f4 fix(migrate): create properties when nil 2024-11-08 16:29:05 +01:00
Jan De Dobbeleer f838eaf00a revert(segment): add to cache after rendering 2024-11-08 16:15:29 +01:00
Jan De Dobbeleer 7f97c36adb feat(language): allow tweaking version cache 2024-11-08 16:15:29 +01:00
00ll00 2a05bc8e37 fix(schema): add zig to segment enum 2024-11-08 14:25:16 +01:00
dependabot[bot] 094f750c13 chore: bump golang.org/x/image from 0.21.0 to 0.22.0 in /src
Some checks are pending
Code QL / code-ql (push) Waiting to run
Azure Static Web Apps CI/CD / Build and Deploy (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Bumps [golang.org/x/image](https://github.com/golang/image) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/image/compare/v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: golang.org/x/image
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 01:00:01 +00:00
dependabot[bot] 5af5061278 chore: bump golang.org/x/mod from 0.21.0 to 0.22.0 in /src
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.21.0 to 0.22.0.
- [Commits](https://github.com/golang/mod/compare/v0.21.0...v0.22.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 00:54:38 +00:00
dependabot[bot] b01e77e95d chore: bump golang.org/x/sys from 0.26.0 to 0.27.0 in /src
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.26.0 to 0.27.0.
- [Commits](https://github.com/golang/sys/compare/v0.26.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 00:53:22 +00:00
dependabot[bot] 290ab0c14d chore: bump golang.org/x/text from 0.19.0 to 0.20.0 in /src
Bumps [golang.org/x/text](https://github.com/golang/text) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/golang/text/releases)
- [Commits](https://github.com/golang/text/compare/v0.19.0...v0.20.0)

---
updated-dependencies:
- dependency-name: golang.org/x/text
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 00:48:10 +00:00
dependabot[bot] 3903c10419 chore: bump goreleaser/goreleaser-action from 6.0.0 to 6.1.0
Bumps [goreleaser/goreleaser-action](https://github.com/goreleaser/goreleaser-action) from 6.0.0 to 6.1.0.
- [Release notes](https://github.com/goreleaser/goreleaser-action/releases)
- [Commits](286f3b13b1...9ed2f89a66)

---
updated-dependencies:
- dependency-name: goreleaser/goreleaser-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 00:46:07 +00:00
Jan De Dobbeleer ce027593b1 fix(segment): add to cache after rendering 2024-11-07 20:40:04 +01:00
Jan De Dobbeleer 84d132ed76 fix(templates): restore resolving logic
resolves #5848
2024-11-07 20:40:04 +01:00
Ernesto Cianciotta 5ec18f230f feat(segment): add aurelia 2024-11-07 20:40:04 +01:00
L. Yeung 1adf542a77 fix(prompt): reset colors before printing fillers 2024-11-07 20:40:04 +01:00
00ll00 6402d5d488 feat: zig lang supporting 2024-11-07 20:40:04 +01:00
allcontributors[bot] c9e4ec2a4e docs: update .all-contributorsrc [skip ci] 2024-11-07 16:33:15 +01:00
allcontributors[bot] e335c4d325 docs: update website/docs/contributors.md [skip ci] 2024-11-07 16:33:15 +01:00
allcontributors[bot] 03d34c77b0 docs: update .all-contributorsrc [skip ci] 2024-11-07 11:43:18 +01:00
allcontributors[bot] 51b78fde00 docs: update website/docs/contributors.md [skip ci] 2024-11-07 11:43:18 +01:00
Jan De Dobbeleer af76a9a3cc fix(templates): restore templates_logic 2024-11-07 10:45:27 +01:00
L. Yeung 48c4de31e5 docs(upgrade): update description of cache_duration property 2024-11-07 10:45:27 +01:00
L. Yeung 9100d702c4 chore(schema): update definitions 2024-11-07 10:45:27 +01:00
Jan De Dobbeleer 86291dc6bc fix(template): load cache before evaluation starts 2024-11-07 09:19:00 +01:00
dependabot[bot] 03dfd0e469 chore: bump github.com/charmbracelet/bubbletea in /src
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Bumps [github.com/charmbracelet/bubbletea](https://github.com/charmbracelet/bubbletea) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/charmbracelet/bubbletea/releases)
- [Changelog](https://github.com/charmbracelet/bubbletea/blob/main/.goreleaser.yml)
- [Commits](https://github.com/charmbracelet/bubbletea/compare/v1.1.2...v1.2.0)

---
updated-dependencies:
- dependency-name: github.com/charmbracelet/bubbletea
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-07 00:54:36 +00:00
Jan De Dobbeleer 63d79fe294 fix(upgrade): restore caching mechanism
Some checks failed
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
Azure Static Web Apps CI/CD / Build and Deploy (push) Has been cancelled
2024-11-06 19:37:13 +01:00
Jan De Dobbeleer 905dd2093d docs(segment): remove include folders from properties 2024-11-06 19:37:13 +01:00
Jan De Dobbeleer 466f9e72b8 fix(cli): revert breaking CLI change
Some checks are pending
Code QL / code-ql (push) Waiting to run
Release / changelog (push) Waiting to run
Release / artifacts (push) Blocked by required conditions
2024-11-06 06:47:13 +01:00
Jan De Dobbeleer 7de2809187 fix(segment): evaluate all needs 2024-11-06 06:47:13 +01:00