Skip to content
This repository was archived by the owner on Apr 24, 2026. It is now read-only.

Commit db6a0b8

Browse files
Privacy Sandbox Teamemmafu2022
authored andcommitted
Release 1.1.0 (2025-01-15)
### Features * Add Batch UDF execution metrics * Add BatchExecuteCode function to UdfClient * Add custom metrics UDF callback hook to udf configuration * Add udf-enable-stacktrace parameter * Bump nltk from 3.8.1 to 3.9.1 in /third_party_deps * Bump tqdm that has a security fix to 4.67.1 * Enable UDF custom metric hook for the server * Parallel UDF execution for multi partition requests * Switch AvroDeltaRecordStreamWriter to use native fb struct * Switch CsvDeltaRecordStreamWriter and consumers to fb native * Switch DeltaRecordLimitingFileWriter and consumers to native fb * Switch DeltaRecordStreamWriter and consumers to fb native * Upgrade common repo ### Bug Fixes * Accept empty string value for delete records * Adjust ad retrieval UDF signature * Delete records should still require value type * Disable UDF stack traces by default * Do not require Delete KVMutations to have a value * Downgrade markdownlint * Drop `keyGroupOutput` objects that do not have keyValues * fix building failure of GitHub main * Fix udf tester to recognize absl logging flags * Loading data in order for aws e2e workflow * Proto encoder should check that partition output is json object * Remove extra comma in request example json for log context * remove logging from default UDF * resolve e2e workflow key conflict * Sample UDFs should use logMessage instead of console.log * Udf code object should have mutex ### Documentation * Add markdown documentation on inline set feature in set queries. * Add udf example to log custom metrics Bug: N/A Change-Id: I04c08e70ac93a78074408ee51403fa148ac81ada GitOrigin-RevId: 89d1dffa08a2e31243a52005e37fb59e4eaf691e
1 parent 6f702e0 commit db6a0b8

256 files changed

Lines changed: 4984 additions & 5068 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ build:clang --cxxopt=-std=c++17
3838
build:clang --host_cxxopt=-std=c++17
3939
build:clang --client_env=BAZEL_CXXOPTS=-std=c++17
4040
build:clang --per_file_copt=external/nitrokmscli_.*\.c@-Wno-int-conversion
41+
build:clang --per_file_copt=external/(json_c|nitrokmscli_).*\.c@-Wno-implicit-function-declaration
4142

4243
build:cpp_nowarn --copt=-Werror
4344
build:cpp_nowarn --per_file_copt=external/.*@-Wno-error

.github/CODEOWNERS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# For syntax help see:
2+
# https://help.github.com/en/github/creating-cloning-and-archiving-repositories/about-code-owners#codeowners-syntax
3+
4+
* @privacysandbox/key-value-server-team

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ repos:
119119
)$
120120

121121
- repo: https://github.com/DavidAnson/markdownlint-cli2
122-
rev: v0.13.0
122+
rev: v0.7.1
123123
hooks:
124124
- id: markdownlint-cli2
125125
name: lint markdown

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,51 @@
22

33
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
44

5+
## 1.1.0 (2025-01-15)
6+
7+
8+
### Features
9+
10+
* Add Batch UDF execution metrics
11+
* Add BatchExecuteCode function to UdfClient
12+
* Add custom metrics UDF callback hook to udf configuration
13+
* Add udf-enable-stacktrace parameter
14+
* Bump nltk from 3.8.1 to 3.9.1 in /third_party_deps
15+
* Bump tqdm that has a security fix to 4.67.1
16+
* Enable UDF custom metric hook for the server
17+
* Parallel UDF execution for multi partition requests
18+
* Switch AvroDeltaRecordStreamWriter to use native fb struct
19+
* Switch CsvDeltaRecordStreamWriter and consumers to fb native
20+
* Switch DeltaRecordLimitingFileWriter and consumers to native fb
21+
* Switch DeltaRecordStreamWriter and consumers to fb native
22+
* Upgrade common repo
23+
24+
25+
### Bug Fixes
26+
27+
* Accept empty string value for delete records
28+
* Adjust ad retrieval UDF signature
29+
* Delete records should still require value type
30+
* Disable UDF stack traces by default
31+
* Do not require Delete KVMutations to have a value
32+
* Downgrade markdownlint
33+
* Drop `keyGroupOutput` objects that do not have keyValues
34+
* fix building failure of GitHub main
35+
* Fix udf tester to recognize absl logging flags
36+
* Loading data in order for aws e2e workflow
37+
* Proto encoder should check that partition output is json object
38+
* Remove extra comma in request example json for log context
39+
* remove logging from default UDF
40+
* resolve e2e workflow key conflict
41+
* Sample UDFs should use logMessage instead of console.log
42+
* Udf code object should have mutex
43+
44+
45+
### Documentation
46+
47+
* Add markdown documentation on inline set feature in set queries.
48+
* Add udf example to log custom metrics
49+
550
## 1.0.0 (2024-10-14)
651

752

WORKSPACE

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ python_register_toolchains("//builders/bazel")
1515

1616
http_archive(
1717
name = "google_privacysandbox_servers_common",
18-
# commit cc49da3 2024-10-09
19-
sha256 = "7a0337420161304c7429c727b1f82394bc27e1e2586d2da30e6d6100ba92b437",
20-
strip_prefix = "data-plane-shared-libraries-158593616a63df924af1cb689f3915b8d32e9db1",
18+
# commit 2fc3d6c 2024-12-26
19+
sha256 = "321893a0733f5172b4cfeb085551d4c7507a2683b01bf4af4ec4017f948477b6",
20+
strip_prefix = "data-plane-shared-libraries-2fc3d6cfa9a4ea6f424348a9b2740c025404b520",
2121
urls = [
22-
"https://github.com/privacysandbox/data-plane-shared-libraries/archive/158593616a63df924af1cb689f3915b8d32e9db1.zip",
22+
"https://github.com/privacysandbox/data-plane-shared-libraries/archive/2fc3d6cfa9a4ea6f424348a9b2740c025404b520.zip",
2323
],
2424
)
2525

@@ -153,3 +153,18 @@ http_archive(
153153
load("@container_structure_test//:repositories.bzl", "container_structure_test_register_toolchain")
154154

155155
container_structure_test_register_toolchain(name = "cst")
156+
157+
# Initialize Python headers
158+
159+
http_archive(
160+
name = "pybind11_bazel",
161+
sha256 = "b72c5b44135b90d1ffaba51e08240be0b91707ac60bea08bb4d84b47316211bb",
162+
strip_prefix = "pybind11_bazel-b162c7c88a253e3f6b673df0c621aca27596ce6b",
163+
urls = ["https://github.com/pybind/pybind11_bazel/archive/b162c7c88a253e3f6b673df0c621aca27596ce6b.zip"],
164+
)
165+
166+
load("@pybind11_bazel//:python_configure.bzl", "python_configure")
167+
168+
python_configure(
169+
name = "local_config_python",
170+
)

builders/.clang.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
build:cpp --client_env=BAZEL_CXXOPTS=-std=c++20
2+
build:cpp --cxxopt=-std=c++20
3+
build:cpp --client_env=CC=clang

builders/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ repos:
109109
- markdown
110110

111111
- repo: https://github.com/DavidAnson/markdownlint-cli2
112-
rev: v0.13.0
112+
rev: v0.7.1
113113
hooks:
114114
- id: markdownlint-cli2
115115
name: lint markdown

builders/CHANGELOG.md

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,77 @@
22

33
All notable changes to this project will be documented in this file. See [commit-and-tag-version](https://github.com/absolute-version/commit-and-tag-version) for commit guidelines.
44

5+
## 0.76.0 (2024-12-16)
6+
7+
8+
### Features
9+
10+
* Remove support for Amazon Linux 2
11+
12+
## 0.75.1 (2024-11-22)
13+
14+
15+
### Bug Fixes
16+
17+
* Revert to ubuntu:20
18+
19+
## 0.75.0 (2024-11-21)
20+
21+
22+
### Features
23+
24+
* Add gVisor dependencies to build-debian image
25+
26+
## 0.74.0 (2024-11-21)
27+
28+
29+
### Features
30+
31+
* Add cbuild flag --one-time to create a new container
32+
* Print message when reusing a cbuild container
33+
34+
## 0.73.0 (2024-10-31)
35+
36+
37+
### Features
38+
39+
* Create .clang.bazelrc
40+
41+
42+
### Dependencies
43+
44+
* **deps:** Upgrade clang to v18
45+
46+
## 0.72.0 (2024-10-23)
47+
48+
49+
### Features
50+
51+
* Update build-debian image to Ubuntu 22.04 LTS
52+
53+
## 0.71.0 (2024-10-18)
54+
55+
56+
### Dependencies
57+
58+
* **deps:** Pin AmazonLinux2023 Nitro CLI versions
59+
* **deps:** Update AmazonLinux base images to 2024-10-01
60+
* **deps:** Upgrade pre-commit and pylint
61+
62+
## 0.70.0 (2024-10-10)
63+
64+
65+
### Features
66+
67+
* add awk, crane and jq to build-* images for the oci_pull credential helper
68+
69+
## 0.69.1 (2024-09-19)
70+
71+
### Bug Fixes
72+
73+
* Use digest to ensure deterministic environment for build system
74+
75+
576
## 0.69.0 (2024-09-15)
677

778

builders/images/build-amazonlinux2/.bazelversion

Lines changed: 0 additions & 1 deletion
This file was deleted.

builders/images/build-amazonlinux2/Dockerfile

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)