Skip to content
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

missing 7.2.0 language compatibility setting #3393

Open
wants to merge 2 commits into
base: release/7.2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion modules/eventing/pages/eventing-Terminologies.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ The minimum value is 1 (the default) and the recommended maximum is 64. In most

* *Language compatibility*: The language version of the Eventing Function for backward compatibility.
+
If the semantics of a language construct change in any given release the “Language compatibility” setting will ensure an older Eventing Function will continue to see the runtime behavior that existed at the time it was authored, until such behavior is deprecated and removed. Note 6.0.0, 6.5.0, and 6.6.2 are the only currently defined versions and for newly authored Functions the default is the highest compatibility version available, currently 6.6.2.
If the semantics of a language construct change in any given release, use the *Language compatibility* setting to ensure continued compatibility for Eventing Functions authored using an older version, until the runtime behavior is deprecated and removed.

Currently, version 6.0.0, 6.5.0, 6.6.2, and 7.2.0 are available. New Eventing Functions will use the highest available version.
+
For example, accessing non-existent items from a keyspace returns undefined in 6.5.0, while in 6.0.0 an exception is thrown. In addition, only a Function with “language compatibility” of 6.6.2 in its settings will pass binary documents to the OnUpdate(doc,meta) handler. In addition, values of 6.0.0 and 6.5.0 will filter all binary documents out of the DCP mutation stream, only 6.6.2 will pass binary documents to the Eventing Function handlers.

Expand Down