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

Bump reflex from 0.6.8 to 0.7.0 #229

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 17, 2025

Bumps reflex from 0.6.8 to 0.7.0.

Release notes

Sourced from reflex's releases.

v0.7.0

Breaking Changes

Python 3.9 support is no longer supported.

Computed Vars are now cache=True by default

Explicitly set cache=False on Computed Vars that should be updated after every event, which was the previous default behavior.

The dependency tracking analysis for Computed Vars has been improved to support async Computed Vars, so there is a possibility for unanticipated behavior change around tracking dependencies. Please report any bugs encountered in this area.

Previously "CallableVar" shims need to be explicitly called

  • rx.upload_file -> rx.upload_file()
  • rx.selected_files -> rx.selected_files()
  • rx.clear_selected_files -> rx.clear_selected_files()
  • rx.set_color_mode -> rx.set_color_mode()

Deprecation Removals

Usage of these features prior to 0.7.0 printed a deprecation warning, now they will result in an error.

  • rx.chakra is removed, use import reflex_chakra as rc instead.

  • rx.background is removed, use rx.event(background=True) instead.

  • rx.Component._create_event_chain is removed, use rx.EventChain.create instead.

  • external prop for rx.redirect is removed.

  • Unannotated event handler arguments will now raise MissingAnnotationError.

  • Many internal exceptions were renamed to add a trailing Error suffix if that was missing.

  • rx._x.asset is removed, use rx.asset instead.

  • Passing a str argument to rx.utils.console.set_log_level will now raise TypeError.

  • Removals from rx.utils.exec:

    • is_frontend_only -> rx.config.environment.REFLEX_FRONTEND_ONLY.get()
    • is_backend_only -> rx.config.environment.REFLEX_BACKEND_ONLY.get()
    • should_skip_compile -> rx.config.environment.REFLEX_SKIP_COMPILE.get()
  • rx.utils.format.format_event_chain is removed, use str(rx.Var.create(chain)) instead.

  • _var_is_local and _var_is_string removed from rx.Var.create.

  • Computed Vars without a return type annotation will raise UntypedComputedVarError.

  • removing deprecated features for 0.7.0 and removing py3.9 support by @​Lendemor in reflex-dev/reflex#4586

rx.App fields for internal use now have a _ prefix

New Features

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [reflex](https://github.com/reflex-dev/reflex) from 0.6.8 to 0.7.0.
- [Release notes](https://github.com/reflex-dev/reflex/releases)
- [Commits](reflex-dev/reflex@v0.6.8...v0.7.0)

---
updated-dependencies:
- dependency-name: reflex
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Copy link
Contributor Author

dependabot bot commented on behalf of github Feb 17, 2025

The following labels could not be found: Task.

@github-actions github-actions bot enabled auto-merge February 17, 2025 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants