-
-
Notifications
You must be signed in to change notification settings - Fork 175
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
version check #434
version check #434
Conversation
Awesome, I love this addition! I also like that the check is disabled by default, so we are only requesting stuff in the background if the user "permits" and actually wants it. The only thing I would reconsider is the use of Either via the git tag: curl https://api.github.com/repos/hopsoft/stimulus_reflex/tags or via the GitHub releases: curl https://api.github.com/repos/hopsoft/stimulus_reflex/releases/latest |
…#479) * don't run on every attribute change (just `data-reflex` and `data-action`) Co-authored-by: leastbad <38150464+leastbad@users.noreply.github.com>
Fix broken link in docs
add `useReflex` js function to "support" the composable pattern
…mulusreflex#486) * Restructure receive * Extract ReflexData and ReflexFactory
…timulusreflex#438) Co-authored-by: Marco Roth <marco.roth@intergga.ch>
…into version_update
Type of PR (feature, enhancement, bug fix, etc.)
Enhancement
Description
During Rails startup, phone home to Github and compare local version against
LATEST
.Adds new
config.on_new_version_available
flag to SR initializer which can be :exit, :warn or :ignore.Defaults to :ignore (no connection attempted). Test only runs in development mode.
Network call is set to timeout 1s connect, 1s read (2s total).
Test will emit a message about skipping checks if running a pre-release build.
Test will not run if sanity checks are set to :ignore, regardless of
on_new_version_available
setting.Updating
LATEST
will have to become part of the version deployment process.Fixes #433
Why should this be added
This should be recommended to users struggling with keeping versions up to date. Goal is to reduce support version.
Checklist