Skip to content

Deprecate box.session.push #3615

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

Closed
4 tasks done
Tracked by #4505
TarantoolBot opened this issue Aug 11, 2023 · 0 comments · Fixed by #4695
Closed
4 tasks done
Tracked by #4505

Deprecate box.session.push #3615

TarantoolBot opened this issue Aug 11, 2023 · 0 comments · Fixed by #4695
Assignees
Labels
3.0 compat deprecation [nature] Deprecated functionality feature A new functionality reference [location] Tarantool manual, Reference part

Comments

@TarantoolBot
Copy link
Collaborator

TarantoolBot commented Aug 11, 2023

Product: Tarantool
Since: 3.0
Root documents:

SME: @ locker

Details

The box.session.push Lua function and box_session_push C API
function 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 was
introduced 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

  • Create a new page for box_session_push_deprecation compat option
  • Add a "see also" link to the option reference (doc above) on the compat.box_session_push_deprecation description in the configuration reference
  • Add note about deprecation for box.session.push Lua function
  • Add note about deprecation for box_session_push C API
    function
@xuniq xuniq self-assigned this Aug 14, 2023
@xuniq xuniq added compat reference [location] Tarantool manual, Reference part feature A new functionality deprecation [nature] Deprecated functionality 3.0 labels Aug 14, 2023
@xuniq xuniq removed their assignment Aug 17, 2023
@p7nov p7nov self-assigned this Dec 18, 2024
@p7nov p7nov closed this as completed in 75205a7 Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.0 compat deprecation [nature] Deprecated functionality feature A new functionality reference [location] Tarantool manual, Reference part
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants