We've made a slight adjustment to make tagging new ext versions easier. If you have already followed the above steps, you'll need to change any instances of "0.1.x-dev" to "1.x.x-dev" in your composer.json version requirements for core and bundled extensions. Then, in your extensions, require flarum/core
as ^1.0.0
. Test that it works by running composer update
again.
[Extension Developers] Flarum 1.0 QA Phase Update Period
askvortsov Also, if you're running into issues, don't forget to set minimum stability to dev
in composer.json
- Edited
askvortsov The user table in the admin... I know more work will be done on it. But, water.css is a minimal, clean, modern starter which has elements that look like Flarum. I think the table parts could be used for the admin. Maybe? Maybe not? Maybe not necessary.
What is the recommended version constraint to use in composer.json
?
^1.0.0
Justoverclock The extension using it would need to stop using $.tooltip
to remove the warning.
tankerkiller125 i have no extension that use tooltip in my dev
Justoverclock must be that new one we were talking about over Discord I noticed you were using tooltips for the words
Justoverclock if you click on the file/line number of expand the warning the backtrace might show which extension or part of the source code is responsible.
Did we really include that full GitHub URL inside of our 1.0 dist file? We're saving bytes there and there only to add long URLs in the source code?
Justoverclock the first line in the error is where the error was thrown, which actually shows the code in Flarum that's responsible for creating the error message. You might have to check out the other lines in the error backtrace to see where this was called from.
- Edited
clarkwinkelmann is the same, seems that is related to code, because its a fresh install of a 1.0 version with no extension, so this is not related to me i think
Justoverclock looks like these are coming from subscriptions. Try running composer update
in your local dev environment.
askvortsov this probably fix the error, i have only 2 dev extension installed that can't allow update, so i will try later, now i'm working on it.
p.s. u need to sleep man
Justoverclock He doesn't sleep, I have no idea how he does it but he basically never sleeps.
tankerkiller125 Hahahahah it's impossible to know what time zone @askvortsov is in... I don't think it exists!
- Edited
tankerkiller125 rumor has it, @askvortsov is actually an artificially intelligent Flarum bot
- Edited
Seemed I should use composer update -W
to update to Flarum 1.0?
After I disabled all third-party extensions on the flarum dashboard, I go to the server web control panel and run composer update
, the terminal encounted a lot of errors:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires clarkwinkelmann/flarum-ext-author-change ^0.2.3 -> satisfiable by clarkwinkelmann/flarum-ext-author-change[0.2.3].
- clarkwinkelmann/flarum-ext-author-change 0.2.3 requires flarum/core >=0.1.0-beta.16 <0.1.0-beta.17 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 2
- Root composer.json requires clarkwinkelmann/flarum-ext-emojionearea ^0.3.1 -> satisfiable by clarkwinkelmann/flarum-ext-emojionearea[0.3.1].
- clarkwinkelmann/flarum-ext-emojionearea 0.3.1 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 3
- Root composer.json requires ffans/clipboardjs v0.1.0-beta.16.1 -> satisfiable by ffans/clipboardjs[v0.1.0-beta.16.1].
- ffans/clipboardjs v0.1.0-beta.16.1 requires flarum/core >=0.1.0-beta.16 <0.1.0-beta.17 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 4
- Root composer.json requires ffans/lang-simplified-chinese v0.1.0-beta.16.2 -> satisfiable by ffans/lang-simplified-chinese[v0.1.0-beta.16.2].
- ffans/lang-simplified-chinese v0.1.0-beta.16.2 requires flarum/core >=0.1.0-beta.14 <0.1.0-beta.17 -> found flarum/core[v0.1.0-beta.14, v0.1.0-beta.14.1, v0.1.0-beta.15, v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 5
- Root composer.json requires fof/ban-ips ^0.4.0 -> satisfiable by fof/ban-ips[0.4.0].
- fof/ban-ips 0.4.0 requires flarum/core ^0.1.0-beta.15 -> found flarum/core[v0.1.0-beta.15, v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 6
- Root composer.json requires fof/best-answer ^0.4.0 -> satisfiable by fof/best-answer[0.4.0].
- fof/best-answer 0.4.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 7
- Root composer.json requires fof/cookie-consent ^0.5.0 -> satisfiable by fof/cookie-consent[0.5.0].
- fof/cookie-consent 0.5.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 8
- Root composer.json requires fof/default-group ^0.4.0 -> satisfiable by fof/default-group[0.4.0].
- fof/default-group 0.4.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 9
- Root composer.json requires fof/disposable-emails ^0.3.0 -> satisfiable by fof/disposable-emails[0.3.0].
- fof/disposable-emails 0.3.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 10
- Root composer.json requires fof/drafts ^0.4.0 -> satisfiable by fof/drafts[0.4.0].
- fof/drafts 0.4.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 11
- Root composer.json requires fof/follow-tags ^0.7.2 -> satisfiable by fof/follow-tags[0.7.2].
- fof/follow-tags 0.7.2 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 12
- Root composer.json requires fof/forum-statistics-widget ^0.6.0 -> satisfiable by fof/forum-statistics-widget[0.6.0].
- fof/forum-statistics-widget 0.6.0 requires flarum/core >=0.1.0-beta.16 <1.0.0 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 13
- Root composer.json requires fof/gamification ^0.5.0 -> satisfiable by fof/gamification[0.5.0].
- fof/gamification 0.5.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 14
- Root composer.json requires fof/geoip ^0.4.0 -> satisfiable by fof/geoip[0.4.0].
- fof/geoip 0.4.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 15
- Root composer.json requires fof/ignore-users ^0.4.0 -> satisfiable by fof/ignore-users[0.4.0].
- fof/ignore-users 0.4.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 16
- Root composer.json requires fof/linguist ^0.6.0 -> satisfiable by fof/linguist[0.6.0].
- fof/linguist 0.6.0 requires flarum/core >=0.1.0-beta.16 <0.1.0-beta.17 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 17
- Root composer.json requires fof/links ^0.6.0 -> satisfiable by fof/links[0.6.0].
- fof/links 0.6.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 18
- Root composer.json requires fof/nightmode ^0.8.0 -> satisfiable by fof/nightmode[0.8.0].
- fof/nightmode 0.8.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 19
- Root composer.json requires fof/oauth ^0.3.0 -> satisfiable by fof/oauth[0.3.0].
- fof/oauth 0.3.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 20
- Root composer.json requires fof/reactions ^0.6.0 -> satisfiable by fof/reactions[0.6.0].
- fof/reactions 0.6.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 21
- Root composer.json requires fof/realtimedate ^0.3.0 -> satisfiable by fof/realtimedate[0.3.0].
- fof/realtimedate 0.3.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 22
- Root composer.json requires fof/sitemap ^0.7.0 -> satisfiable by fof/sitemap[0.7.0].
- fof/sitemap 0.7.0 requires flarum/core >=0.1.0-beta.16 <0.1.0-beta.17 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 23
- Root composer.json requires fof/spamblock ^0.5.0 -> satisfiable by fof/spamblock[0.5.0].
- fof/spamblock 0.5.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 24
- Root composer.json requires fof/stopforumspam ^0.5.0 -> satisfiable by fof/stopforumspam[0.5.0].
- fof/stopforumspam 0.5.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 25
- Root composer.json requires fof/user-bio ^0.5.0 -> satisfiable by fof/user-bio[0.5.0].
- fof/user-bio 0.5.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 26
- Root composer.json requires fof/username-request ^0.5.0 -> satisfiable by fof/username-request[0.5.0].
- fof/username-request 0.5.0 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 27
- Root composer.json requires itnt/flarum-backtop v0.1.7.2 -> satisfiable by itnt/flarum-backtop[v0.1.7.2].
- itnt/flarum-backtop v0.1.7.2 requires flarum/core ^0.1.0-beta.10 -> found flarum/core[v0.1.0-beta.10, ..., v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 28
- Root composer.json requires itnt/flarum-uitab ^0.3.3 -> satisfiable by itnt/flarum-uitab[v0.3.3].
- itnt/flarum-uitab v0.3.3 requires flarum/core >=0.1.0-beta.16 <0.1.0-beta.17 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 29
- Root composer.json requires jslirola/flarum-ext-login2seeplus v0.1.9.1 -> satisfiable by jslirola/flarum-ext-login2seeplus[v0.1.9.1].
- jslirola/flarum-ext-login2seeplus v0.1.9.1 requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 30
- Root composer.json requires lcinhk/flarum-ext-acgembed ^0.5.2 -> satisfiable by lcinhk/flarum-ext-acgembed[v0.5.2].
- lcinhk/flarum-ext-acgembed v0.5.2 requires flarum/core ^0.1.0-beta.8 -> found flarum/core[v0.1.0-beta.8, ..., v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 31
- Root composer.json requires oe800/flarum-ext-bbcode-alerts ^0.2.0 -> satisfiable by oe800/flarum-ext-bbcode-alerts[0.2.0].
- oe800/flarum-ext-bbcode-alerts 0.2.0 requires flarum/core ^0.1.0-beta.8 -> found flarum/core[v0.1.0-beta.8, ..., v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 32
- Root composer.json requires wvbdev/tieba-stickers ^0.3.0 -> satisfiable by wvbdev/tieba-stickers[0.3.0].
- wvbdev/tieba-stickers 0.3.0 requires flarum/core ^0.1.0-beta.8 -> found flarum/core[v0.1.0-beta.8, ..., v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
Problem 33
- askvortsov/flarum-pwa[v2.4.0, ..., v2.5.0] require flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (^1.0.0).
- Root composer.json requires askvortsov/flarum-pwa ^2.4 -> satisfiable by askvortsov/flarum-pwa[v2.4.0, v2.4.1, v2.5.0].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
So if I should remove the extensions or ? @SychO
Thanks.
@askvortsov why u don write an application that transfer all your knowledge to me? XD
p.s. i cannot sleep anymore after yesterday's videocall
so, just to return on topic....
can i update my dev flarum without removing my dev extension installed? actually i have 1.0 but is the first version, so i need to update again.
actually composer says:
Problem 1
- Root composer.json requires justoverclock/flarum-ext-contextmenu *@dev -> satisfiable by justoverclock/flarum-ext-contextmenu[dev-main].
- justoverclock/flarum-ext-contextmenu dev-main requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (1.x.x-dev).
Problem 2
- Root composer.json requires justoverclock/flarum-ext-keywords *@dev -> satisfiable by justoverclock/flarum-ext-keywords[dev-main].
- justoverclock/flarum-ext-keywords dev-main requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (1.x.x-dev).
Problem 3
- Root composer.json requires justoverclock/flarum-ext-realtimecode *@dev -> satisfiable by justoverclock/flarum-ext-realtimecode[dev-main].
- justoverclock/flarum-ext-realtimecode dev-main requires flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (1.x.x-dev).
Problem 4
- justoverclock/lang-ita-extended[1.0, ..., 1.1.8] require flarum/core ^0.1.0-beta.16 -> found flarum/core[v0.1.0-beta.16] but it conflicts with your root composer.json require (1.x.x-dev).
- Root composer.json requires justoverclock/lang-ita-extended * -> satisfiable by justoverclock/lang-ita-extended[1.0, ..., 1.1.8].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.