0.16.0 (2022-xx-xx)
Changes
- Drop armhf (32-bit ARM) support. #609
- Headscale fails to serve if the ACL policy file cannot be parsed #537
- Fix labels cardinality error when registering unknown pre-auth key #519
- Fix send on closed channel crash in polling #542
- Fixed spurious calls to setLastStateChangeToNow from ephemeral nodes #566
- Add command for moving nodes between namespaces #362
- Added more configuration parameters for OpenID Connect (scopes, free-form paramters, domain and user allowlist)
- Add command to set tags on a node #525
- Add command to view tags of nodes #356
- Add --all (-a) flag to enable routes command #360
- Fix issue where nodes was not updated across namespaces #560
- Add the ability to rename a nodes name #560
- Node DNS names are now unique, a random suffix will be added when a node joins
- This change contains database changes, remember to backup your database before upgrading
- Add option to enable/disable logtail (Tailscale's logging infrastructure) #596
- This change disables the logs by default
- Use [Prometheus]'s duration parser, supporting days (
d
), weeks (w
) and years (y
) #598 - Add support for reloading ACLs with SIGHUP #601
Changelog
- 9901d6b Ability to clear nickname
- 9d4822b Actually set up nix
- 7f66d91 Add config test
- 9254aff Add direnv and nix output to gitignore
- 91e5cbd Add direnv flake support
- c24de59 Add example commands for docker
- 5de9de1 Add flake build file
- 177c21b Add helper function to create a unique givenname
- 9b393eb Add integration cli tests for rename command
- f78deae Add new tailscale to integration tests
- 70274d5 Add nix to runn on lint and integration
- a6570d3 Add option to build docker image
- 7cc58af Allow more configuration over the OIDC flow.
- 62808cb Bubble error up to user for rename
- caf79f6 Change nickname to givenname in proto
- 3272feb Change publish interface
- 59a1a85 Change to a go generics set implementation, no more casting 🎉
- 52cc3bc Check all errors for db.Save
- a09633e Check errors of more database calls
- be2487f Clarified systemd friendly path
- 63641a7 Correct pkgs call
- ff5f31b Disable logtail for clients
- 843e2bd Do not setLastStateChangeToNow every 5 seconds
- 7e286c5 Docker docs enhancements
- d68d7d5 Docs/ACLs: Add a network diagram to help explain ACLs
- bff9036 Docs/ACLs: Add router examples with subnets
- 8b08c2a Docs/ACLs: Namespaces are created automatically
- b9f0fab Docs/ACLs: Wording, add intermediary router example
- 2653c2f Drop arm32 (armhf) for linux and add Darwin arm64
- 6e08241 Exit Headscale if ACL policy file cannot be parsed
- 7ef8cd8 Fix comment
- a19af04 Fix errors introduced by merge
- 6dccfee Fix forced Tags with legitimate tagOwners
- ac5ad42 Fix integration nix
- 62d774b Fix key name about derp port
- 52fd13b Fix labels cardinality error when registering unknown pre-auth key
- df7d5fa Fix lint
- 3e078f0 Fix logtail config function name
- 73f1c06 Fix long line
- 5ecfbba Fix pointer in machine save call
- 8cee31d Fix prettier
- f4873d9 Fix rename cli error
- 4f3f054 Fix some issues in testing with new hostname handling
- 98e98a8 Fix wrong metrics port in docs
- 01d9a2f Fixed linting issues
- 6b79679 Generate from proto
- 5fa3016 Generate unique givennames for hosts joining (and debug added)
- a992840 Give UpdateMachine a more meaningful name
- 0b4f59b Improve signal handling
- 24e4787 Make ACL policy part of the config struct
- 5bfae22 Make config get function global
- 802eb93 Make sure givenname is set for preauthkeys
- bc1909f Merge branch 'feat-list-tags-of-machines' of github.com:restanrm/headscale into feat-list-tags-of-machines
- 2edb542 Merge branch 'main' into acls-doc
- 79fc74c Merge branch 'main' into acls-doc
- 47bbb85 Merge branch 'main' into acls-doc
- 699aa5c Merge branch 'main' into add-arm64-darwin-drop-32
- a1837a4 Merge branch 'main' into db-error-handling
- 6f6fb4d Merge branch 'main' into db-error-handling
- 0676aa1 Merge branch 'main' into db-error-handling
- 57c81e4 Merge branch 'main' into exit-if-acl-wrong
- a28eebf Merge branch 'main' into feat-list-tags-of-machines
- 3a90079 Merge branch 'main' into feat-list-tags-of-machines
- c9efd5c Merge branch 'main' into feat-list-tags-of-machines
- ea7bcff Merge branch 'main' into feat-list-tags-of-machines
- d195847 Merge branch 'main' into fix-discord-invite
- 8f6952a Merge branch 'main' into flake-build-env
- cd9807a Merge branch 'main' into flake-build-env
- 11ccae8 Merge branch 'main' into flake-build-env
- 5c285af Merge branch 'main' into flake-build-env
- 9a60eea Merge branch 'main' into flake-build-env
- d43fec7 Merge branch 'main' into flake-build-env
- c8aa653 Merge branch 'main' into main
- 8845938 Merge branch 'main' into main
- b028a7d Merge branch 'main' into main
- 93682ab Merge branch 'main' into makefile-improvements
- 3abdc87 Merge branch 'main' into makefile-improvements
- 25c674e Merge branch 'main' into parse-duration-improv
- 21268f7 Merge branch 'main' into patch-1
- db930af Merge branch 'main' into patch-1
- 886e95c Merge branch 'main' into patch-1
- b60727b Merge branch 'main' into patch-1
- 11da743 Merge branch 'main' into patch-2
- 613dc61 Merge branch 'main' into remove-buf-installation
- f7edea5 Merge branch 'main' into rename-fixess
- d11279e Merge branch 'main' into rename-fixess
- 9175aca Merge branch 'main' into rename-fixess
- 7f7cd73 Merge branch 'main' into rename-fixess
- 6eac504 Merge branch 'main' into rename-fixess
- 679cf7c Merge branch 'main' into signals-reload-acl
- f1db2d0 Merge branch 'main' into signals-reload-acl
- dd3f24b Merge branch 'main' into suggest-english
- ffa570e Merge branch 'main' into suggest-english
- 57536b0 Merge branch 'main' into suggest-english
- e631c6f Merge master
- ef497ca Merge pull request #2 from juanfont/fix-rename-integration-tests
- e80954b Merge pull request #482 from kradalby/flake-build-env
- 546ddd2 Merge pull request #510 from reynico/acls-doc
- 9a632c1 Merge pull request #518 from juanfont/update-contributors
- b5aace6 Merge pull request #519 from hdhoang/pak-counter
- 32522cb Merge pull request #521 from Niek/patch-1
- 23be13b Merge pull request #528 from juanfont/update-contributors
- 235a902 Merge pull request #531 from juanfont/suggest-english
- c07dd3f Merge pull request #534 from nning/main
- bc63c57 Merge pull request #537 from reynico/exit-if-acl-wrong
- a14f50e Merge pull request #538 from artemklevtsov/patch-1
- 5d67ed0 Merge pull request #540 from yangchuansheng/dev
- a92f6ab Merge pull request #541 from juanfont/update-contributors
- 367f848 Merge pull request #542 from mpldr/issue-342-send-on-closed-channel
- 556ca5f Merge pull request #544 from mpldr/makefile-improvements
- 6eeee8e Merge pull request #545 from mpldr/fix-discord-invite
- f9e2ce2 Merge pull request #551 from mpldr/patch-1
- 96ae78f Merge pull request #553 from kradalby/fix-discord-link
- 2dfd8a9 Merge pull request #556 from juanfont/update-contributors
- 970dea5 Merge pull request #557 from mpldr/remove-buf-installation
- 747d64c Merge pull request #558 from restanrm/feat-list-tags-of-machines
- 28efd92 Merge pull request #559 from kradalby/update-deps
- be25bbc Merge pull request #560 from kradalby/rename-fixess
- fd452d5 Merge pull request #565 from apognu/dev/oidc-custom-config
- 96e2955 Merge pull request #566 from juanfont/fix-spurious-updates
- 02a78e5 Merge pull request #568 from juanfont/reduce-containers-int-tests
- ddb87af Merge pull request #569 from Kazauwa/362-add-move-command
- 3fbfc5a Merge pull request #570 from juanfont/update-contributors
- d6e1d10 Merge pull request #573 from deonthomasgy/patch-1
- 91b95ff Merge pull request #574 from deonthomasgy/main
- 41cd0d3 Merge pull request #576 from juanfont/update-contributors
- 0d31ea0 Merge pull request #578 from samson4649/main
- 0f532aa Merge pull request #590 from pvinis/patch-1
- 914431b Merge pull request #591 from pvinis/patch-2
- e596d82 Merge pull request #593 from juanfont/update-contributors
- 583f6ee Merge pull request #594 from juanfont/update-contributors
- 405de9e Merge pull request #595 from juanfont/update-contributors
- 848727a Merge pull request #596 from kradalby/disable-logcatcher
- 19b6405 Merge pull request #597 from kradalby/db-error-handling
- d26e220 Merge pull request #598 from kradalby/parse-duration-improv
- b472e5a Merge pull request #599 from kradalby/parse-duration-improv
- 0797148 Merge pull request #601 from kradalby/signals-reload-acl
- b1ba7ba Merge pull request #602 from iSchluff/fix/forced-tags-with-tagOwner
- 7b7244d Merge pull request #607 from juanfont/update-contributors
- 39f6fde Merge pull request #609 from kradalby/add-arm64-darwin-drop-32
- adb55bc Merge pull request #610 from huskyii/fix_pie_build
- a2fb5b2 Merge remote-tracking branch 'origin/main' into feat-list-tags-of-machines
- 72c1eda Merge remote-tracking branch 'origin/main' into feat-list-tags-of-machines
- 06c928b Migrate name and nickname fields
- 36dca35 Move Abspath function to headscale utils
- 8504d0d Move todo to correct file
- 663e838 Nickname support
- 466d03d Nixify integration test
- 60ee046 Normalize nickname before saving to database
- 4ffd3ea Override golangci-lint to use go 1.17
- 5403f21 Reduce the number of containers in integration tests
- 15f8cb5 Remove hacky go tool install
- 0612927 Rename abspath function to describe what it does
- 6e27680 Rename name -> hostname, nickname -> givenname
- 4aae917 Require GivenName to be unique
- db8db02 Resolve merge
- e51e6f4 Resolve merge conflict
- 9ebeb3d Retreive hostnames from headscale, now that they are random
- dbc1d98 Revert golines
- 03cccd6 Reword FQDN normalize errors to not only cover namespaces
- 62f4c20 Run binary build with nix
- 003c190 Run tests with nix
- 0003e30 Suggest English as lingua franca
- 2feed18 Support reloading ACLs with SIGHUP
- 77ceeaf Test magic dns with the correct urls
- 266aac9 Update CHANGELOG
- 3d93cf9 Update changelog
- 1486adb Update changelog
- 6f32b80 Update changelog
- c332437 Update changelog
- 79704dc Update command with new fields
- 580c72b Update discord link so it does not grant temp memberships
- 7dae780 Update docs/running-headscale-container.md
- 6d296a1 Update docs/running-headscale-container.md
- 1e7d7e5 Update go sha for flake
- fc502e1 Update golines and fix go mod checksum
- 3a3fc0a Update headscale checksum
- 124d8a3 Update readme with nix notes
- 7bb87a7 Update vendor sha
- cb0899b Update vendor shar
- 03659c4 Updated changelog
- b8e4aee Upgrade golines
- 2dacf83 Upgrade tailscale dep
- 4d2949b Upgrade tailscale dep
- 6d41279 Upgrade to go 1.18
- d860270 Use Prometheus duration parser (support days and weeks)
- 6b1482d Use config object instead of viper for policy path
- 14994cb Use new logic and fields for dns
- 4a9d3be Use new names to resolve magic dns
- 5316dd9 Use new nix stable (22.05)
- a443255 Validate isOutdated against all namespaces
- a0c465c Wire up setting to enable/disable logtail
- bc055ed add command for moving node between namespaces
- 41a8c14 add information on how to create a headscale user
- e279224 add integrations tests
- 47c72a4 add rpc method for moving node
- 4e686f8 add unit test
- 1b3a7bb apply styling fixes
- b9ea83f check that new command does not break nodes list output
- 98f54c9 chore: apply format and lint
- 4435a4f chore: apply lint recommendations
- 2c448d4 chore: apply linting
- 4fcc5e2 chore: fmt for grpc file
- 09836cd chore: update vendorSha after update of go.mod and go.sum
- 17d6624 chore: fix lint
- 6ba68d1 correctly update machine namespace
- 9cdaa97 docs(README): update contributors
- f7f722a docs(README): update contributors
- 00535a2 docs(README): update contributors
- 6c903d2 docs(README): update contributors
- 31bdba7 docs(README): update contributors
- c8ed1f0 docs(README): update contributors
- 8758ee1 docs(README): update contributors
- 5e44266 docs(README): update contributors
- bec35b4 docs(README): update contributors
- 571ce2b docs(README): update contributors
- 9993f51 docs(README): update contributors
- 6dd9e93 expanded arguments in useradd to be easier to understand for beginners
- cd1d107 feat(acls): add support for forced tags
- 9de9bc2 feat(cli): add tag subcommand to add and remove tags
- 02f68eb feat: add forcedTags field and update proto
- 852dc0f feat: add golangci-lint in nix develop
- 31c0062 feat: add integration tests for tag support
- db1528b feat: add invalid and valid tags to grpc response
- 89a1a56 feat: add unit tests and fmt
- 587bdc7 feat: add valid and invalid fields
- 62cfd60 feat: add validation of tags
- 209d003 feat: handle insert into database error
- 63d9205 feat: improve nodes list with inputs from @deonthomasgy
- 4651c44 feat: print tags in nodes list
- fdbc965 feat: return error if validation is failed
- 31debf7 feat: rewrite proto to only update tags of machine
- ea9aaa6 feat: update functions to use set command
- 25f1dcf feat: update generated files
- cc9eeda feat: updating cli to match the set command
- 3d8dc9d fix discord invite
- a806694 fix gosum merge
- 163e5c2 fix trace log message
- 68417cc fix(go): add missing updated files
- b2ae9b6 fix: Remove days from expiry option value examples
- fec8cda fix: fix linting issue on my computer
- 1158210 fix: flake.nex update sha256
- dc8c20e fix: handle empty aclPolicy for integration tests
- 16f9691 fix: ignore emptyPolicy errors for db insertion
- c4e69fe fix: ignore exhaust linter
- b511295 fix: integration tests result
- b9fee36 fix: linting
- 49ec994 fix: loop over result machines instead of startup machines
- f53bb63 fix: move tag command to subcommand of nodes
- 3d30244 fix: order error in the tests
- 0445f40 fix: pin version of golangci-lint in GA
- 02ae7a0 fix: pin version of golangci-lint to match dev config
- ad4401a fix: remove debug code
- 522e892 fix: remove unknown linters:
- 9f08212 fix: remove version pinning for golangci-lint it does not work
- 844ad15 fix: revert previous commit and add exclusion of linter
- fcdc292 fix: update tag in db if acl is enabled
- 8601dd1 fixed CGO disabling
- 8be9e96 fixed issue #360
- 22dd61d fixed the issue of sending on closed channel
- ed46491 fixed typo
- 835828f link fix
- fa7ef3d make linter happy
- c26280c modified code to satisfy golangci-lint and added integration test
- 5fa9875 move populate to after when given_name exist
- 6ed79b7 order Ip Address, IPv4 first, cleanup
- b4f5ed6 order ip address output, IPv4 first
- 8061abe refact: use generics for contains functions
- 3023323 remove necessary buf installation
- 12d8f0f remove redundant lines of code, fix response when output is not plain text
- 7ce0bd0 removed leading whitespace
- 1f43c39 replaced version-at-commit script with git-describe call
- ecf5259 resolve merge conflict
- c312f8b set up Makefile for reproducible builds
- 06d8568 set version based on git rev
- 2201ec8 some GOOS do not support pie build, detect in makefile and fall back to non-pie build
- fff1011 typo
- 62c780a update changelog
- 86dfc91 update readme
- a23035a update rest of deps
- 9f03a01 updated changelog
- 614c003 updated changelog