Commit Graph

107 Commits

Author SHA1 Message Date
Asher de65bfc947
Update changelog with correct Code version 2024-08-16 01:50:10 -08:00
Asher 34c6751bf8
Update VS Code to 1.92.2 (#6941)
* Update VS Code to 1.92.2

* Use server-main.js to load VS Code

It looks like the bootstrap files are now bundled so we can no longer
require them.  We could make them included again, but maybe it is better
to go through the main entrypoint anyway because it includes some nls
stuff which is maybe necessary.

This also fixes what looks like a bug where we could create two servers
if two requests came in.  I am not sure what the practical consequences
of that would be, but it will no longer do that.

* Drop es2020 patch

Unfortunately, VS Code will not load with this.  It seems to be because
`this` is being used in static properties, and it becomes `void 0` for
some reason under the es2020 target.  For example:

  static PREFIX_BY_CATEGORY = `${this.PREFIX}${this.SCOPE_PREFIX}`;

becomes

  AbstractGotoSymbolQuickAccessProvider.PREFIX_BY_CATEGORY = `${(void 0).PREFIX}${(void 0).SCOPE_PREFIX}`;

Which, obviously, will not work.

Older versions of Safari (and maybe other browsers) are likely affected.

* Fix display language

* Update Playwright

I think maybe because of the dropped es2020 patch that Webkit is now
failing because it is too old.

* Do not wait for networkidle in e2e tests

I am not sure what is going on but some tests on Webkit are timing out
and it seems the page is loaded but something is still trying to
download.  Not good, but for now try to at least get the tests passing.
2024-08-15 21:33:21 -08:00
Asher d83ba4b46f
Release v4.91.0 2024-07-09 23:23:16 -08:00
Asher 901191e0f9
Update changelog 2024-07-08 17:51:47 -08:00
Asher 090e0fad76
Update to Code 1.91.0 (#6885) 2024-07-08 14:10:34 -08:00
Asher c7d88abf9f
v4.90.3 2024-06-21 11:01:16 -08:00
Asher ed069310a4
v4.90.2 2024-06-17 10:42:09 -08:00
Asher a73549539b
Cache unchanging telemetry data
Might make sense to cache the rest as well, and evict from the cache
periodically.  For now this is enough to fix a hang I often see in our
deployment of Coder.  Might only be surfacing now because new telemetry
calls were added to startup.
2024-06-12 15:09:45 -08:00
Asher e7ca9cd6ac
Fix changelog heading indentation 2024-06-12 13:05:41 -08:00
Asher 9da9f2029c
v4.90.0 2024-06-12 13:03:51 -08:00
Asher 3b467dec95
Update changelog for 1.90.0 2024-06-06 15:05:12 -08:00
Asher 3b6ad479a6
Release v4.89.1 and v4.89.0 2024-05-14 10:17:35 -08:00
Asher 417c1f36cb
Release 4.23.1 2024-04-15 16:37:01 -08:00
Asher deebb21345
Release 4.23.0 2024-04-08 13:24:39 -08:00
Asher 66364429e3
Release 4.22.1 2024-03-14 12:16:35 -08:00
Asher 223ecf7c30
Release v4.22.0 2024-03-04 06:52:54 -09:00
Asher 2248c8bdd4
Correct changelog link 2024-02-28 14:56:38 -09:00
Asher d2dfeedb2f
Release v4.21.2 2024-02-28 14:22:31 -09:00
Asher c31d2a0e37
Release v4.21.1 2024-02-09 13:02:44 -09:00
Asher 5b62943216
Release v4.21.0 2024-02-05 09:41:51 -09:00
Asher d6ef385de2
Release v4.20.1 2024-01-22 08:34:02 -09:00
Asher 07901026a0
Release v4.20.0 2023-12-21 12:53:25 -09:00
Asher 3e8100b70e
Release v4.19.1 2023-11-29 12:23:25 -09:00
Asher edf078d1d2
Release v4.19.0 2023-11-20 07:29:25 -09:00
Asher 11e6e656c0
Release v4.18.0 2023-10-20 12:03:13 -08:00
Asher f4bf492051
Release v4.17.1 2023-09-29 15:21:48 -08:00
Asher 800bf364d6
Release v4.17.0 2023-09-22 17:49:40 -08:00
Asher 3cb92edc76
Release v4.16.1 2023-07-31 11:21:45 -08:00
Asher 25254214fb
Release v4.16.0 2023-07-28 17:32:57 -08:00
Asher 2ffbcfdfcb
Release v4.15.0 2023-07-21 15:30:03 -08:00
Asher 70aa1b7722
Release v4.14.1 2023-06-26 10:21:35 -08:00
Asher 5c19962930
Set session socket into environment variable (#6282)
* Avoid spawning code-server with --reuse-window and --new-window

These flags mean the user explicitly wants to open in an existing
instance so if the socket is down it should error rather than try to
spawn code-server normally.

* Set session socket into environment variable

While I was at it I added a CLI flag to override the default.  I also
swapped the default to --user-data-dir.

The value is set on an environment variable so it can be used by the
extension host similar to VSCODE_IPC_HOOK_CLI.

* Add e2e test for opening files externally
2023-06-21 22:47:01 -08:00
Asher 5d3c9edce4
Release v4.14.0 2023-06-16 13:38:21 -08:00
Asher 2109d1cf6a
Add new unreleased section to changelog 2023-05-22 12:21:30 -08:00
Asher 74af05dfbe
Release v4.13.0 2023-05-19 13:14:29 -08:00
Asher 2e17735795
Release v4.12.0 (#6157) 2023-04-21 14:04:07 -05:00
Asher a9d61daa91
Release v4.11.0 2023-03-16 10:04:57 -08:00
Asher be40eca5d9
Release v4.10.1 2023-03-03 22:24:54 -09:00
Asher d477972c68
Add origin checks to web sockets (#6048)
* Move splitOnFirstEquals to util

I will be making use of this to parse the forwarded header.

* Type splitOnFirstEquals with two items

Also add some test cases.

* Check origin header on web sockets

* Update changelog with origin check

* Fix web sockets not closing with error code
2023-03-03 03:12:34 -06:00
Asher e0ece195c1
Update changelog and chart with new version 2023-02-15 11:16:09 -09:00
Asher ac1fba8bde
Remove deprecated --link (#6018) 2023-02-13 16:52:48 -06:00
Asher 17bca521af
Update changelog 2023-02-07 13:57:53 -09:00
Joe Previte 5c21015dbe
release: v4.9.1 (#5893)
* chore: add 4.9.1 to changelog

* chore: bump Helm to 4.9.1
2022-12-16 12:07:36 -07:00
Joe Previte 1484bee621
release: 4.9.0 (#5772)
* wip: changelog

* fixup

* fix: add +x to product.json in build-vscode

While testing a pre-release, there seems to be a bug with the file
permissions for `product.json`. Adding `chmod +x` to see if that fixes
it.

* chore: increase timeout

* fix: keep product.json file permissions in release

When we added the change to modify the `package.json` version using `mv`
and `jq` we didn't account for lost file permissions.

This caused a bug only happening in CI.

This should fix it by giving it 755 via `chmod`.

* trigger ci

* chore: update package.json bust cache

* fixup!: fix: keep product.json file permissions in release

* Revert "fix: add +x to product.json in build-vscode"

This reverts commit fc4d2b532f.

* chore: pin ubuntu runner in build code-server

* chore: update prettierignore

* chore: add notes to changelog

* chore: use ubuntu-22.04 for e2e

* chore: pin all jobs in build to ubuntu 20.04

* feat(wrapper): add tests for isChild

* fixup: include description ts-expect-error comment

* chore: update CHANGELOG

* chore: update Helm chart

* fixup: use our childProcess

* Update CHANGELOG.md

Co-authored-by: Asher <ash@coder.com>

Co-authored-by: Asher <ash@coder.com>
2022-12-06 13:28:27 -07:00
Joe Previte 5a8bb2b8e8
release: v4.8.3 (#5762)
* chore: update version to 4.8.3

* chore: update CHANGELOG

* fixup!: update chart version

* fixup: update changelog
2022-11-07 19:47:40 +00:00
Joe Previte 2530a0d265
release: 4.8.2 (#5743)
* chore: bump version to 4.8.2

* chore: update CHANGELOG

* docs: add back line in publishing release

See https://github.com/coder/code-server/pull/5732#discussion_r1010685933

* Revert "chore: bump version to 4.8.2"

This reverts commit 5d70994f22.

* fixup: use 4.8.2-rc.1

* docs: add release candidate notes

* refactor: warn plugin range incompatibble

* chore: bump version 4.8.2
2022-11-02 14:34:38 -07:00
Joe Previte cc8ce3b3c6
release: 4.8.1 (#5722)
* chore(release): bump version to 4.8.1

* chore: bump helm-chart

* chore: update CHANGELOG
2022-10-28 08:55:45 -07:00
Joe Previte 2f583b082e
release: 4.8.0 (#5698)
* chore(release): bump version to 4.8.0

* chore: update changelog

* chore: bump helm chart

* Update CHANGELOG.md

Co-authored-by: Asher <ash@coder.com>

* Update CHANGELOG.md

Co-authored-by: Asher <ash@coder.com>

* fixup!: cleanup changelog

Co-authored-by: Asher <ash@coder.com>
2022-10-24 16:23:03 -07:00
Joe Previte 77bbed4831
release: 4.7.1 (#5607)
* chore(release): bump version to 4.7.1

* docs: update MAINTAINING

* chore: update release_template

* chore: update CHANGELOG

* chore: bump helm chart version

* Update ci/helm-chart/Chart.yaml

Co-authored-by: Asher <ash@coder.com>

* fixup!: changelog

Co-authored-by: Asher <ash@coder.com>
2022-09-30 14:44:45 -07:00
Joe Previte 04f1080451
release: 4.7.0 (#5546)
* docs: update MAINTAINING

* refactor: use branch name in release-prep

This makes a minor improvement to the `release-prep.sh` script to grab
the version to update to from the branch name.

* chore(release): bump version to 4.7.0

* fixup: bump version

* docs: use latest instead of version

* fixup: bump Chart version

* chore: update CHANGELOG

* chore: add license to test package.json

* chore: bump @coder/logging to 3.0.0

* fix: change level to Warn
2022-09-09 15:15:39 -07:00