-
Notifications
You must be signed in to change notification settings - Fork 205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release 2.0.0-snapshot.20220127.9042.0.4038d0a7 #12614
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@stefanobaghino-da is in charge of this release changelog: ``` - [Daml Studio] The minimum supported vscode version is now 1.52.0. - [Typescript Bindings] All methods for user management have been added to the bindings (createUser, deleteUser, getUser, listUsers, listUserRights, grantUserRight, revokeUserRight) [Java bindings] Deprecate `DamlLedgerClient.Builder.withExpectedLedgerId` Transaction Metering now persisted to database - [Ledger API Test Tool] More command deduplication tests have been enabled by default. This should not affect testing a fully functioning ledger. If any tests fail, they can be temporarily excluded. - [HTTP-JSON] Added endpoint /user/rights that if called with POST will return user rights of the user specified via the payload - [HTTP-JSON] Added endpoints user/rights/grant & user/rights/revoke which allow granting & revoking user rights for a specific user Add experimental Daml assistant support for ledger metering [Java bindings] `DamlLedgerClient.forLedgerIdAndHost` and `DamlLedgerClient.forHostWithLedgerIdDiscovery` static methods and the constructor taking a `ManagedChannel`, which were all deprecated since 0.13.38, have been removed. - [Ledger API Test Tool] The retired test suites, ``LotsOfPartiesIT`` and ``TransactionScaleIT``, have been removed in favor of more targeted benchmarking tests. If you are actively including these tests in your test run, you will need to remove them. These tests are disabled by default so it is likely that no change will be needed. - [Ledger API Test Tool] The ``ParticipantPruningIT`` test case has been enabled by default. You may need to disable specific test cases accordingly. Sandbox: Participant server now supports '--feature-user-management' flag to turn on or off user management feature. - [Ledger API Test Tool] The ``MultiPartySubmissionIT`` test case has been enabled by default. You will most likely not need to change anything. - [Ledger API Test Tool] The "ContractIdIT" test is now run by default, using ledger feature flags to determine which test cases are run. You will need to configure the ``StandaloneApiService`` accordingly. ``` commits: ``` 346a61d79c0574f4a045d46b7e39a99217f44da4 release 2.0.0-snapshot.20220127.9042.0.4038d0a7 4038d0a Fix VSCode extension (#12611) 13acf66 Point out to run release manual tests on Windows with the KV sandbox (#12608) 7305a8c Color and typography edits (#12609) 4a6729e Fix a bug in user management caching (#12605) 3e16e5e Handle ledger bridge Queue errors (#12510) b1a9175 ci: reduce Windows capacity (#12607) 53edac1 Move some daml-script compat tests to sandbox-on-x (#12595) 6b902fd [TS-Bindings] Complete support for user management (#12576) f04dcfa release 2.0.0-snapshot.20220126.9029.0.42cf70b1 (#12603) 403efa7 Add support for interfaces through data-dependencies (#12516) ea62021 Upgrade ghcide (#12579) 98e6842 ci: pin Windows folders, step 1 (#12597) 01219d6 ci: temporarily increase Windows capacity (#12599) 42cf70b ci: try to fix release process (#12600) 0579ebd Mark the `withExpectedLedgerId` method in `DamlLedgerClient.Builder` as deprecated (#12537) deb7f3a Move some trigger compat tests to sandbox-on-x (#12598) 5cdf9b9 Remove some unecessary `implictly` with `Factory` (#12559) 9c3f1ce Drop dummy token from JSON API check (#12593) 3366c6f compatibility: Exclude another command deduplication test. (#12592) 6b50abf release 2.0.0-snapshot.20220126.9013.0.54339ada (#12587) ad7148b Tear down daml services gracefully (#12591) 16a4f06 Avoid explicitly listing all Oracle tests in build.yml (#12594) bc9fa28 Make ledger end non-optional (#12570) 122a487 Fix static-time config in Canton (#12584) 7bcce7c Upgrade rules-haskell (#12580) 159f384 Drop 7zip from Windows dev-env (#12590) 215a63d correct deprecated options with newest synopsys-detect version (#12586) 84023ae update NOTICES file (#12589) 79864ef Fix error codes for V1 cid rejections (#12571) 54339ad Safeguard Oracle CI tests with lockIdSeed [DPP-802] (#12573) 5cccec2 release: use-devenv (#12583) 90aacea split-release (#12577) cc19df4 Persist transaction metering info [DPP-814,DPP-821] (#12274) cb77c84 damlc: Don't rely on worker for zero argument polymorphic type constructors (#12581) ed33c0d split: flat(ter) files in Artifactory (#12575) e355832 split: do not push exe (#12574) 0afc4a5 split: do not tag (#12569) ebf7908 LF: check contracts are consumed when found them in the cache (#12527) ce06eb0 Add serializability check for interface payloads in Haskell (#12560) aced78f Drop dadew uninstall (#12566) ac3ca1d ledger-api-test-tool: Enable command deduplication tests by default [KVL-1261] (#12541) 5f58698 [JSON-API] Add list-specific-users-rights, grant & revoke user rights endpoints (#12352) 42aadec Cleanup Haskell serializability check (#12565) 5d93eb9 Engine stacktraces are disabled by default (#12562) 42d86ac [User management] Disabling user management in auth when user management feature is disabled [DPP-827] (#12503) 13153de update NOTICES file (#12564) 5bfe4ed Wait for server process in client_server_test (#12551) f1cd4b1 Remove dependencies on compatibility libraries (#12548) dcd721d Drop scenarios (#12484) 170d839 Fix es (#12554) 8fa54c6 Experimental daml assistant support for metering report [DPP-816] (#12485) 9802028 Cut a new split release (#12547) aec3390 Replace silencer plugin with built-in warning configuration (#12543) 93cfe04 Remove from the Java bindings constructors that were deprecated since 0.x (#12536) 8d65aa3 Remove Sandbox classic stores and related unit tests (#12532) 24b2325 Bump node-fetch to address dependabot alerts (#12553) fdb034c split-release: Canton dependencies to public GCS (#12552) 3f8ec07 Upgrade to the latest Canton snapshot (#12544) 8692d80 Fix trigger compat test for canton sandbox (#12549) 3ea8ade LF: Test evaluation order of exercise and exercise_by_key (#12519) 36f8d67 Upgrade `css-loader` to 5.2.7 (#12550) a150737 Upgrade msys2 (#12545) 01447fd docs: typos and minor clarification for authz docs (#12534) fbf244e alert on invalid users in create-daml-app (#12518) f2b4abe update NOTICES file (#12542) bd0ae02 Startup initialization header for runners [DPP-860] (#12525) 15c0ad7 Migration DB unit testing for PostgreSQL v111 to v116 [DPP-756] (#12517) 7218e6f ledger-api-test-tool: Remove retired tests. (#12535) cbb4986 Add Empty GRPC Metering Report Service [DPP-856] (#12515) 4d26f08 ledger-api-test-tool: Enable ParticipantPruningIT for everyone. [KVL-1261] (#12529) 3044958 ledger-api-test-tool: Remove deprecated options. (#12533) 5ab9eae Make mutable-contract-state-cache the default and only option (#12528) 89d95e6 user management: allow ':' in user ids (#12531) f5d7821 compatibility: Disable MultiParticipantIT for old versions. (#12526) 2deeabf [User management] Add feature flag to enable user management [DPP-827] (#12420) b843117 Drop feature flag for v0 cid support (#12522) 73277f4 Upgrade to oracle 19.14 image for ci (#12523) cdde8df ledger-api-test-tool: Add assertions and a test case for successful completions when converting deduplication durations to offsets [KVL-1220] (#12462) 2267d1a sandbox-classic uses Sandbox-on-X internals [DPP-860] (#12466) 20cda01 specify that deduplication offsets are exclusive (#12488) e9e1b06 ledger-api-test-tool: Enable `MultiPartySubmissionIT` for everyone. [KVL-1261] (#12500) a5f56e0 Use canton sandbox in script+trigger compat tests (#12514) 9c03e79 Build create-daml-app with -Werror (#12513) 688f1e1 Drop v0 contract ids (#12464) c35d34d Remove ResetService from the grpc documentation (#12512) eb61893 resources: Remove ResettableResourceOwner. (#12499) 7880d54 Add --port-file and --dar flags in daml sandbox (#12505) 3c8a646 Tell users to use --install-assistant=yes (#12507) 36536fa LF: Test evaluation order of lookup_by_key (#12494) ad7ce54 participant-integration-api: Factor out feature flags into a class. (#12496) 4d698c1 Update windows testing instructions (#12504) 0f8e40c user management: add reference docs (#12398) 96b8651 Drop orphaned vim syntax files (#12502) a644406 Avoid stale DAML_SDK_VERSION_LATEST in assistant (#12493) 7a1b37c [User management] Nullable primary_party and for_party (#12419) cd30f01 update NOTICES file (#12498) b11f11b Drop support for no seeding in sandbox-classic (#12495) 5d2be1e ledger-api-test-tool-on-canton: Use `join` to clean up exclusions. (#12497) 072d57a DPP-553 Consistently use anorm string interpolation (#12266) f03fa6a ledger-api-test-tool: Govern ContractIdIT test runs through a feature. (#12454) dd4fc1f split release (#12492) de2a8c0 ci: use service account for Windows nodes (#12489) 644efd1 Lower log level to warn (#12490) ``` changelog_begin changelog_end
stefanobaghino-da
requested review from
adriaanm-da,
bame-da,
cocreature and
gerolf-da
as code owners
January 27, 2022 08:04
cocreature
approved these changes
Jan 27, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Manual tests passed on Windows. |
Manual tests passed on Linux. |
azure-pipelines bot
pushed a commit
that referenced
this pull request
Feb 2, 2022
This PR has been created by a script, which is not very smart and does not have all the context. Please do double-check that the version prefix is correct before merging. @adriaanm-da is in charge of this release. Commit log: ``` 5390505 Remove participant-side command deduplication [DPP-848] (#12677) 85f2690 split release (#12700) ed1bf24 LF: Check activeness of cached contracts inside FetchInterface (#12698) aa2494f Speedy: check contract type after checking if they are consumed (#12691) 183f936 LF: Imporve safety of the Serialization of proto message. (#12686) b4ed15b Changed product names in the documentation (#12668) 5caaf1f Switch github urls from zip to tar.gz (#12692) 6cdda6f Metering report [DPP-817] (#12604) 716cc22 Deduplication offset period errors handled in Sandbox-on-X [DPP-872] (#12652) e4764cc Upgrade to GHC 9.0.2 (#12300) 1238e1b Update profiling documentation to Canton sandbox (#12680) f1c7e9e Drop `daml ledger navigator` in favor of `daml navigator` (#12669) 7731324 Drop profile-dir validation for sandbox-kv (#12671) 1fa095a match Foldable.foldl1's argument order to DA.List.foldl1's order (#12685) 06b63e9 update NOTICES file (#12688) 2ac76fd LF: Gracefully handle serialization error of Values beyond 2GB (#12638) 0494731 Adjust response type for script JSON API user mgmt requests (#12683) 7aabc49 Update OpenTelemetry from 0.16.0 to 1.1.0 [KVL-1256] (#12568) 117c920 Bump sandbox-on-x-it-tests size (#12681) 100c59f [JSON-API] Docs for user management endpoints (#12432) 92938d5 Moved com.daml.platform.sandbox to com.daml.ledger.sandbox in SoX (#12675) 8d5d3bd [JSON-API] User management endpoint adjustments (#12578) 54c427f Expose documentation for user-management functions in daml-script. (#12674) c1afabe [participant-state] Add earliest_offset metadata to pruned data error [kvl-1270] (#12546) ef18bf4 DEV all caps needed to exclude dev dependencies (#12679) 3d3d84f User management in daml-script over json API (#12646) 182edde [compatiblity tests] Limit the exclusion to versions that have the CommandDeduplication:Participant* tests (#12660) f08dfa3 Bump terraform (#12670) 366cd89 Add new interface serializability tests (#12666) 84cec38 Upgrade ghc-lib (#12664) d215a01 Enable user management for the Canton sandbox (#12667) bb5722c Move sandbox-classic test lib and IT tests to Sandbox-on-x (#12641) c9a65d1 update NOTICES file (#12659) 1fa7f61 ci: pin workdirs on Windows (#12645) dcbb398 Typecheck experimental primitives in damlc (#12650) 0d5443f Drop direct dependencies on system-filepath (#12658) 49f37b8 Allow defining ledger-begin and ledger-end offset conditions in ledger-api-bench-tool [DPP-836] (#12521) f1560ce Support `implements` qualified interfaces (#12644) 20836b1 Address CVE-2022-0355 alert, resolve `simple-get` to 4.0.1 (#12655) 49e6646 Clean up unstable-types test (#12648) 214951e Fix log string interpolation in AkkaExecutionSequencer (#12647) c72c27c [User management] Terminate ongoing streams when user state has changed [DPP-830] (#12437) 35eae89 Compiler: expose LF builtin ExerciseByKey (#12615) dfdb7ce Remove DA.Generics (#12634) 14f43e4 update NOTICES file (#12642) cfa8d30 [Sandbox-on-X] Ledger-side in-memory command deduplication [DPP-872] (#12596) 7567cf5 Add scala serializability checks for interfaces (#12631) 39a421e Drop unused silencer variable (#12640) 4ec336d [User management] Enforce 1k user rights limit [DPP-833] (#12558) 16a13e2 Remove redundant conformance tests from ledger-on-sql (#12639) 0610a44 daml-react: add an useUser hook (#12622) 579fb20 Reenable Canton contract id tests (#12637) 60a0f03 Hide primitiveInterface from docs (#12635) 536e493 Bump canton to latest snapshot (#12633) 613e070 Wrap client instead of runner in script test (#12630) d5ede55 Turn name collision warnings for virtual modules into errors (#12627) d5ae82d Bump cached-path-relative from 1.0.2 to 1.1.0 (#12632) f4c2862 Split release 2022-01-27 (#12624) 9e5425e update NOTICES file (#12613) fcb6124 Simplify Nix GHC derivation (#12620) 5a47223 ledger-on-memory: Do not create iterators on a mutable log. (#12626) d2216b3 Clean up unused test and unnecessary flags in ledger-on-sql tests (#12623) 345e267 create-daml-app: Use alias templates for display names (#12390) 2e3ae0d Disable ghcide snapshot on Windows (#12621) e55622e Remove a bunch of ledger-on-memory tests (#12618) f5c9a67 Remove DA.Experimental.Interfaces (#12619) 5810c25 release 2.0.0-snapshot.20220127.9042.0.4038d0a7 (#12614) f396da5 Run ledger-api-test-tool tests on ledger-on-sql with PostgreSQL (#12616) 89ce7d0 Remove conflict-checking logic from JdbcLedgerDao [DPP-808] (#12555) ``` Changelog: ``` with experimental support for non-aggregated metering reporting - [Daml Standard Library] An argument order in the default implementation of ``Foldable.foldl1`` was reversed from that of ``DA.List.foldl1``; this incompatibly changes the former to match the latter. - [HTTP-JSON] Added documentation for the new user management endpoints - [HTTP-JSON] Adjusted the response for the createUser & deleteUser endpoint to an empty object instead of "true". This was done to allow possible future extensions to the return type without applying breaking changes. - [HTTP-JSON] Made the field rights optional for the request body of the createUser endpoint. Now it is possible to create a user with just the userId (i.e. { "userId": "nice.user" }). - [Integration Kit] - ledger-api-bench-tool allow to define ledger-begin and ledger-end offset boundaries for streams. Ledger API Specification: When using user management based authorization streams will now get aborted on authenticated user's rights change. - [Daml Standard Library] The DA.Generics module has been removed. Ledger API Specification: Maximum number of user rights per user is now limited to 1000 and is added to UserManagementFeature in VersionService. getLedgerApiVersion endpoint. [daml-react] A `useUser` react hook is added to the daml-react TypeScript library. It allows for easy access to the currently logged in user of a ledger participant node for ledgers supporting user management. ``` CHANGELOG_BEGIN CHANGELOG_END
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
@stefanobaghino-da is in charge of this release
changelog:
commits:
changelog_begin
changelog_end
Pull Request Checklist
CHANGELOG_BEGIN
andCHANGELOG_END
tagsNOTE: CI is not automatically run on non-members pull-requests for security
reasons. The reviewer will have to comment with
/AzurePipelines run
totrigger the build.