We are excited to announce the release of Atlas v0.25 🎊
Thanks for joining us today for our v0.25 release announcement! In this version we are introducing a new feature that has been requested by many of you: support for Row-level Security Policies in PostgreSQL.
What are Row-level Security Policies?
Row-level security (RLS) in PostgreSQL allows tables to have policies that restrict which rows can be accessed or modified based on the user's role, enhancing the SQL-standard privilege system available through GRANT.
When enabled, all normal access to the table must comply with these policies, defaulting to a deny-all approach if no policies are set, ensuring that no rows are visible or modifiable. Policies can be specific to commands, roles, or both, providing fine-grained control over data access and modification.
policy "employee_policy" {
on = table.employees
for = SELECT
to = [PUBLIC]
using = "(current_user = employee_role)"
}
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the gomod group with 4 updates in the / directory: ariga.io/atlas, github.com/charmbracelet/lipgloss, github.com/microcosm-cc/bluemonday and github.com/tdewolff/minify/v2.
Updates
ariga.io/atlas
from 0.24.0 to 0.25.0Release notes
Sourced from ariga.io/atlas's releases.
Commits
7e9e0d6
doc/website: new pricing page2f7e534
schemahcl: support variables in dynamic blocks (#2932)f299d2f
doc: add pg policy to hcl schema (#2931)47603b5
sql/postgres: expose postgres policies (#2929)8955e0c
schemahcl: allow creating list with mixed strings/enums (#2928)23e5130
all: update go version (#2927)7759f4d
sql/postgres: rearrange schema objects marshaling (#2926)4c9d06b
sql/migrate: expose the version creation (#2924)23cce27
all: fix cve-2023-49559 (#2922)1f36577
sql/postgres: more flexiable support for udf types (#2920)Updates
github.com/charmbracelet/lipgloss
from 0.11.0 to 0.12.1Release notes
Sourced from github.com/charmbracelet/lipgloss's releases.
... (truncated)
Commits
670898d
chore: retract v0.11.11b3672b
chore: upgrade x/ansi to v0.1.46348d59
docs: list documentation (#331)2a67670
Drop Tree (#330)9564423
feat(ci): use goreleaser for releases (#301)e6edbac
chore: bump x/ansi to v0.1.35a82e41
chore: update CODEOWNERS33b3263
fix: Deprecate UnsetBorderTopBackgroundColor in favor of UnsetBorderTopBackgr...bbd02ab
chore(ci): also build examples (#310)7838b4e
feat: deprecate Style.ColorWhitespaceUpdates
github.com/microcosm-cc/bluemonday
from 1.0.26 to 1.0.27Commits
10b8ac6
Remove SPDX header from LICENSE to enable GitHub auto-detection30fb5d7
Don't duplicate attrs if multiple global policies allow theme244202
Update CONTRIBUTING.md (fixup of 109c9cf)206ce8a
Update the security policy109c9cf
Clean up developer instructions to a vanilla Go projecte602a4a
Fix RequireCrossOriginAnonymous when crossorigin attr is allowed37251d9
Consistently raise minimum Go version and update CI135e7bb
all: upgrade dependencies5703ea6
Merge pull request #207 from silverwind/4hexaf654ef
Merge pull request #202 from caarlos0/tidyUpdates
github.com/tdewolff/minify/v2
from 2.20.34 to 2.20.37Release notes
Sourced from github.com/tdewolff/minify/v2's releases.
Commits
f50b46a
cmd: allow forward and backward slashes for Windows platform, fixes #726767148c
JS: variable usage, indexing and dot expressions have side-effects, fixes #7259fab517
JS: don't remove group around optional chaining expressions when it's the lef...3354711
JS: fix !"" => true, fixes #723ba78373
Merge pull request #721 from tdewolff/dependabot/github_actions/pypa/cibuildw...d07e07f
XML: keep all spaces inside CDATA, fixes #72203662c3
Add test for #722dd47199
Bump pypa/cibuildwheel from 2.19.1 to 2.19.2fffa3db
Merge pull request #718 from tdewolff/dependabot/github_actions/softprops/act...2669b34
Merge pull request #716 from tdewolff/dependabot/github_actions/docker/build-...Updates
golang.org/x/crypto
from 0.21.0 to 0.24.0Commits
332fd65
go.mod: update golang.org/x dependencies0b431c7
x509roots/fallback: update bundle349231f
ssh: implement CryptoPublicKey on sk keys44c9b0f
ssh: allow server auth callbacks to send additional banners67b1361
sha3: reenable s390x assembly477a5b4
sha3: make APIs usable with zero allocations59b5a86
sha3: disable s390x assembly10f366e
sha3: simplify XOR functions905d78a
go.mod: update golang.org/x dependenciesebb717d
ssh: validate key type in SSH_MSG_USERAUTH_PK_OK responseDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show