Deprecate box.session.push #3615
Labels
3.0
compat
deprecation
[nature] Deprecated functionality
feature
A new functionality
reference
[location] Tarantool manual, Reference part
Uh oh!
There was an error while loading. Please reload this page.
Product: Tarantool
Since: 3.0
Root documents:
SME: @ locker
Details
The
box.session.push
Lua function andbox_session_push
C APIfunction are deprecated starting from Tarantool 3.0. Calling any
of these functions for the first time results in printing a warning
message to the log.
The new compat module option
box_session_push_deprecation
wasintroduced to control whether the functions are still available.
With the old behavior, which is the default in Tarantool 3.0,
box.session.push
is still available. With the new behavior,any attempt to use it raises an exception.
(Please create https://tarantool.io/compat/box_session_push_deprecation)
We are planning to switch the compat option to the new behavior
starting from Tarantool 4.0 with the ability to revert to the
old behavior. Starting from Tarantool 5.0 we are planning to
drop
box.session.push
completely.Requested by @locker in tarantool/tarantool@2939e05.
Definition of done
box_session_push_deprecation
compat optioncompat.box_session_push_deprecation
description in the configuration referencebox.session.push
Lua functionbox_session_push
C APIfunction
The text was updated successfully, but these errors were encountered: