bernhard Posted February 10 Author Share Posted February 10 I just pushed an update to the DEV branch that I really believe should be part of the core: That means you can still edit all settings on the module config screen, but you can override any setting in config.php like this: <?php $config->rockmigrations = [ 'syncSnippets' => true, ]; My module now shows that changes in a nice and easy way (bubble 2) and it also comes with links to edit a setting directly (1), which will scroll to the field in question πΒ What do you think, would this be helpful for your modules as well? Should this be part of the core? 2 Link to comment Share on other sites More sharing options...
zoeck Posted February 10 Share Posted February 10 5 hours ago, bernhard said: I just pushed an update to the DEV branch that I really believe should be part of the core: The Image isnβt working πΒ 1 Link to comment Share on other sites More sharing options...
bernhard Posted February 10 Author Share Posted February 10 Thx! I've updated the link. It was working for me so I would have not realised! Github changed something with embedding images from issue comments πΒ 1 Link to comment Share on other sites More sharing options...
bernhard Posted February 11 Author Share Posted February 11 RockMigrations now has a feature to easily make sure to fire certain migrations only once: $rm->once( "2024-02-11: Simple demo of the new once() feature", function() { bd('I will be executed only once!'); } ); Extensive docs are already in place:Β https://github.com/baumrock/RockMigrations/tree/dev/docs/once 2 1 Link to comment Share on other sites More sharing options...
gebeer Posted February 26 Share Posted February 26 Hi @bernhard since you have a major version change, does v4.0.0 introduce any breaking changes? Link to comment Share on other sites More sharing options...
bernhard Posted February 26 Author Share Posted February 26 Hey @gebeer nothing dangerous πΒ Quote β BREAKING CHANGES remove ImageMurl tweak in favour of Latte Filter I don't think that anybody except me was using this, but it's a breaking change... Anybody not using it can safely update. Before: {$img->maxSize(500,500)->murl} After: {$img->maxSize(500,500)->webp->url|vurl} This adds a version-url string for cache busting which is especially great when changing image focus point as then often the image url does not change (its still ...500x500...) but the image should get reloaded by the browser. This simple latte filter ensures that and the old ->murl had problems with webp so I changed itΒ πΒ 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now