Comments (27)
FYI, composer does not work this way
Line 4 in 5c642f8
2.0.0
)
The common practice is omitting version
altogether to rely on VCS markers instead.
from yii2-bootstrap5.
@samdark I'll crosscheck today and will give the ok afterwards
from yii2-bootstrap5.
@bizley would you please do extra read before tagging it?
from yii2-bootstrap5.
I would agree immediately ๐๐. But I know what you mean. We need a decision here. @samdark ?
from yii2-bootstrap5.
ok, I downgraded the code so it works with php >=7.0 and updated the docs (the languages I understand)
from yii2-bootstrap5.
ok, docs are ready
from yii2-bootstrap5.
Green light @samdark
from yii2-bootstrap5.
Done.
from yii2-bootstrap5.
Should be ok to go with 1.0.0
from yii2-bootstrap5.
- https://github.com/yiisoft/yii2-bootstrap5/blob/master/.github/workflows/build.yml - we need to test on php 5.4+
- Guides need to be updated but we can do it later on (or now?).
- Code has PHP 7+ features so if we don't plan to support older versions it's fine, otherwise it needs downgrading.
from yii2-bootstrap5.
Docs should be up to date for certain.
from yii2-bootstrap5.
- Supporting php
>=7.0
is discussable, php5.4
,5.5
,5.6
is imho outdated - I updated the class names, added new widgets, and removed a big part of the migration guide (difference between bs4 and bs5 is not as big as bs3 to bs4)
- See 1
from yii2-bootstrap5.
I'm all for using newest PHP versions but it's Yii 2 and people still using it on 5.x.
from yii2-bootstrap5.
from yii2-bootstrap5.
ok, but I think nearby all of them are using bs3. Compared to yii2-bootstrap4 statistics there are just some 5.6
er:
from yii2-bootstrap5.
If this is valid argument we would get rid of 5.x support in Yii 2, wouldn't we? ;)
from yii2-bootstrap5.
3.6% total. That means there are alive Yii 2 projects on v5.
from yii2-bootstrap5.
Means make the repository 5.4+ compatible?
from yii2-bootstrap5.
I've meant that regarding framework package itself. Having different constraints for this package is alright since majority of new projects are started with at least PHP 7.
from yii2-bootstrap5.
Ok, so only guide needs some updates.
from yii2-bootstrap5.
I think now we could release 1.0.0
? @samdark , @bizley ?
from yii2-bootstrap5.
To be updated yet:
- https://github.com/yiisoft/yii2-bootstrap5/blob/master/docs/guide/assets-setup.md#using-bowernpm-client-directly (dependencies)
- https://github.com/yiisoft/yii2-bootstrap5/blob/master/docs/guide/basic-usage.md (link to docs)
- https://github.com/yiisoft/yii2-bootstrap5/blob/master/docs/guide/usage-widgets.md#navbar-widget- (doc link)
- https://github.com/yiisoft/yii2-bootstrap5/blob/master/docs/guide/helper-html.md (static controls link)
BTW looks we miss the chance to support 5.1.0 from the very beginning. Or maybe?
from yii2-bootstrap5.
Thanks for your feedback. I updated docs.
What do you mean with miss the chance to support 5.1? I think there are not widget related changes. The biggest one imho is the Offcanvas in Navbar, and that's possible after last commit:
NavBar::begin([
'brandLabel' => 'Offcanvas navbar',
'brandUrl' => ['/'],
'options' => [
'class' => ['navbar', 'navbar-light', 'bg-light', 'fixed-top']
],
'innerContainerOptions' => [
'class' => ['container-fluid']
],
'collapseOptions' => false,
'offcanvasOptions' => [
'title' => 'Offcanvas',
'placement' => Offcanvas::PLACEMENT_END
]
]);
echo Nav::widget([
'options' => [
'class' => ['navbar-nav']
],
'items' => [
['label' => 'Home', 'url' => '#'],
['label' => 'Link', 'url' => '#'],
['label' => 'Dropdown', 'items' => [
['label' => 'Action', 'url' => '#'],
['label' => 'Another action', 'url' => '#'],
'-',
['label' => 'Something else here', 'url' => '#'],
]]
]
]);
NavBar::end();
from yii2-bootstrap5.
Great. So just updating version in the docs and we are good to go.
from yii2-bootstrap5.
Done. Thanks for preparing it!
from yii2-bootstrap5.
Could we, please, get a new release sometime soon?
- It's been a while since the previous one,
- there are no outstanding issues at the moment (actually, projects often do periodic releases even when there are unresolved issues), and
- people may actually be waiting for current bugfixes to be released โ I know I am.
from yii2-bootstrap5.
Sure.
from yii2-bootstrap5.
Related Issues (20)
- Toast JS registration HOT 1
- yii\bootstrap5\Breadcrumbs problem HOT 2
- kartik Gridview widget problem with bootstrap5 HOT 2
- Translation re-factoring HOT 1
- Dropdown clientEvents do not fire HOT 2
- Missing css files while including `yii\bootstrap5\BootstrapPluginAsset` HOT 4
- Version 2.0.4 not working \kartik\datecontrol\DateControl HOT 3
- ActiveField | Additional fields: checkbox HOT 9
- Navbar cannot accept collapseOptions = false
- Curious about card implementation
- ActiveForm | Incorrect radioList HTML/CSS
- Dropdown template is incorrect HOT 2
- Bootstrap5 Button is not registering clientEvents HOT 4
- invalid-feedback div breaks inline radio list
- Use both bs3 and bs5 in the same project HOT 4
- Add brandImageOptions to NavBar.php to ensure accessibility.
- Whole Bootstrap directory is published into web/assets
- Replace `bower-asset/bootstrap` => `npm-asset/bootstrap`. HOT 1
- Missing package twbs/boostrap-icons in composer.json HOT 2
- Switch to NPM and drop Bower? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from yii2-bootstrap5.