kyma-runtime-extension-samples
kyma-runtime-extension-samples copied to clipboard
Bump semver and dapr-client in /custom-component-dapr
Removes semver. It's no longer used after updating ancestor dependency dapr-client. These dependencies need to be updated together.
Removes semver
Updates dapr-client from 1.0.2 to 3.1.2
Release notes
Sourced from dapr-client's releases.
Release v3.1.2
What's Changed
The SDK v3.1.1's package-lock.json did not have the updated version (3.1.1), which can cause unexpected behavior. This new patch is to fix that.
Chores
- chore(release): bump version in package-lock.json by
@shubham1172in dapr/js-sdk#504- chore(release): bump to v3.1.2 by
@shubham1172in dapr/js-sdk#506Full Changelog: https://github.com/dapr/js-sdk/compare/v3.1.1...v3.1.2
Release v3.1.1
What's Changed
We are releasing a hotfix to handle issues with the crypto api implementation.
Fixes
- fix(crypto): Fixed handling of backpressure in DaprChunkedStream by
@ItalyPaleAlein dapr/js-sdk#503Full Changelog: https://github.com/dapr/js-sdk/compare/v3.1.0...v3.1.1
Release v3.1.0
What's Changed
Features
- feat(state): add optional attributes in state management APIs by
@SoTrxin dapr/js-sdk#476- feat(lock): Implement the Lock API on HTTP by
@XavierGeerinckin dapr/js-sdk#478- feat(crypto): add encrypt and decrypt APIs by
@ItalyPaleAlein dapr/js-sdk#491- feat(workflow): Add workflow management HTTP APIs by
@shubham1172in dapr/js-sdk#485Fixes
- fix(state): return an empty array instead of empty string when state.query does not return anything by
@salmankhan-prsin dapr/js-sdk#471- fix(actor): Configured the delete operation in the state provider by
@ruokun-niuin dapr/js-sdk#486- fix(ci): explicitly call pre-build while building for publish steps by
@shubham1172in dapr/js-sdk#495Chores
- chore(http): replace method "createHTTPMetadataQueryParam" with "createHTTPQueryParam" by
@SoTrxin dapr/js-sdk#480- chore(proto): update protos for 1.11 by
@ItalyPaleAlein dapr/js-sdk#490- chore(release): add support to release dev packages
@shubham1172in dapr/js-sdk#493- chore(config): updating config API to use v1 endpoint by
@shivamkm07in dapr/js-sdk#496- chore(release): prepare for v3.1.0 release by
@shubham1172in dapr/js-sdk#501New Contributors
@SoTrxmade their first contribution in dapr/js-sdk#476@ruokun-niumade their first contribution in dapr/js-sdk#486@shivamkm07made their first contribution in dapr/js-sdk#496
... (truncated)
Changelog
Sourced from dapr-client's changelog.
Changelog
3.x release
v3.0.0
Breaking Changes
General: Fix serialization of data in HTTP
There is a new serializer in place to automatically detect the Content-Type for the data when using the HTTP Protocol and serialize accordingly. Objects will be send as
application/json, Cloud-Events asapplications/cloudevents+json, Strings astext/plain, and others asapplication/octet-stream.An example of this change can be seen when performing client.invoke with
"hello world"as data. The new serializer will correctly return the string type, as opposed to the previous behavior of callingJSON.serializeand returning'"hello world"'.PubSub: Changes to the subscribe callback for HTTP
The HTTP subscribe callback now returns data after parsing it correctly. Data is either extracted from the body's
datafield, or thedata_base64field.data_base64is always expected to be a base64 encoded string, and will be decoded and parsed as JSON if possible. If it is not JSON, it will be returned as a string. If data is not found in either field, the entire body will be returned as-is.2.x release
v2.0.1
Actors
To make development easier, Actors can now be called in 2 ways:
- By creating an actor through a helper method in the
DaprClientclass, removing the need of needing to know how a builder works.const actor = await client.actor.create<DemoActorSayImpl>(DemoActorSayImpl); const res = await actor.sayMulti(123, "123", { hello: "world 123" }, [1, 2, 3]);
- By utilizing the Actor builder, where we create a Proxy object that does this for us.
const builder = new ActorProxyBuilder<DemoActorSayImpl>(DemoActorSayImpl, client); const actor = builder.build(ActorId.createRandomId()); const res = await actor.sayMulti(123, "123", { hello: "world 123" }, [1, 2, 3]);Behind the hoods, method #1 will utilize method #2
v2.0.0
Version 2.0.0 brings a lot of changes to the Dapr JS SDK that were long due. Below an overview of the major contributions can be found, with a more detailed overview of the Breaking Changes under it.
- Actor Support has been added
- Actor Proxy has been added for Actor Access
- The HTTP Connection is now being reused to reduce the CONNRESET errors when intensively using the JS SDK
... (truncated)
Commits
960a10dchore(release): bump to v3.1.2 (#506)78f816achore(release): bump version in package-lock.json (#504)0bf7020chore: bump package version0b881c2Fixed handling of backpressure in DaprChunkedStream (#503)553431fchore(release): prepare for v3.1.0 release (#501)1e3b6ebAdded docs for crypto APIs (#500)5e42a79feat(workflow): Add workflow management HTTP APIs (#485)af71496Crypto: Encrypt and Decrypt (#491)1114591updating config API to use v1 endpoint (#496)b1fb0c2bug(ci): explicitly call pre-build while building for publish steps (#495)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the Security Alerts page.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.