Git Product home page Git Product logo

Comments (27)

antichris avatar antichris commented on July 2, 2024 2

FYI, composer does not work this way

"version": "1.0.0",
(tagged as 2.0.0)

The common practice is omitting version altogether to rely on VCS markers instead.

from yii2-bootstrap5.

simialbi avatar simialbi commented on July 2, 2024 1

@samdark I'll crosscheck today and will give the ok afterwards

from yii2-bootstrap5.

samdark avatar samdark commented on July 2, 2024 1

@bizley would you please do extra read before tagging it?

from yii2-bootstrap5.

simialbi avatar simialbi commented on July 2, 2024 1

I would agree immediately ๐Ÿ˜Š๐Ÿ˜‰. But I know what you mean. We need a decision here. @samdark ?

from yii2-bootstrap5.

simialbi avatar simialbi commented on July 2, 2024 1

ok, I downgraded the code so it works with php >=7.0 and updated the docs (the languages I understand)

from yii2-bootstrap5.

simialbi avatar simialbi commented on July 2, 2024 1

ok, docs are ready

from yii2-bootstrap5.

bizley avatar bizley commented on July 2, 2024 1

Green light @samdark

from yii2-bootstrap5.

samdark avatar samdark commented on July 2, 2024 1

Done.

from yii2-bootstrap5.

simialbi avatar simialbi commented on July 2, 2024

Should be ok to go with 1.0.0

from yii2-bootstrap5.

bizley avatar bizley commented on July 2, 2024
  1. https://github.com/yiisoft/yii2-bootstrap5/blob/master/.github/workflows/build.yml - we need to test on php 5.4+
  2. Guides need to be updated but we can do it later on (or now?).
  3. 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.

samdark avatar samdark commented on July 2, 2024

Docs should be up to date for certain.

from yii2-bootstrap5.

simialbi avatar simialbi commented on July 2, 2024
  1. Supporting php >=7.0 is discussable, php 5.4, 5.5, 5.6 is imho outdated
  2. 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)
  3. See 1

from yii2-bootstrap5.

bizley avatar bizley commented on July 2, 2024

I'm all for using newest PHP versions but it's Yii 2 and people still using it on 5.x.

from yii2-bootstrap5.

bizley avatar bizley commented on July 2, 2024

Screenshot from 2021-08-03 10-32-11

from yii2-bootstrap5.

simialbi avatar simialbi commented on July 2, 2024

ok, but I think nearby all of them are using bs3. Compared to yii2-bootstrap4 statistics there are just some 5.6er:
image

from yii2-bootstrap5.

bizley avatar bizley commented on July 2, 2024

If this is valid argument we would get rid of 5.x support in Yii 2, wouldn't we? ;)

from yii2-bootstrap5.

samdark avatar samdark commented on July 2, 2024

image

3.6% total. That means there are alive Yii 2 projects on v5.

from yii2-bootstrap5.

simialbi avatar simialbi commented on July 2, 2024

Means make the repository 5.4+ compatible?

from yii2-bootstrap5.

samdark avatar samdark commented on July 2, 2024

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.

bizley avatar bizley commented on July 2, 2024

Ok, so only guide needs some updates.

from yii2-bootstrap5.

simialbi avatar simialbi commented on July 2, 2024

I think now we could release 1.0.0? @samdark , @bizley ?

from yii2-bootstrap5.

bizley avatar bizley commented on July 2, 2024

To be updated yet:

BTW looks we miss the chance to support 5.1.0 from the very beginning. Or maybe?

from yii2-bootstrap5.

simialbi avatar simialbi commented on July 2, 2024

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.

bizley avatar bizley commented on July 2, 2024

Great. So just updating version in the docs and we are good to go.

from yii2-bootstrap5.

samdark avatar samdark commented on July 2, 2024

Done. Thanks for preparing it!

from yii2-bootstrap5.

antichris avatar antichris commented on July 2, 2024

Could we, please, get a new release sometime soon?

  1. It's been a while since the previous one,
  2. there are no outstanding issues at the moment (actually, projects often do periodic releases even when there are unresolved issues), and
  3. people may actually be waiting for current bugfixes to be released โ€” I know I am.

from yii2-bootstrap5.

samdark avatar samdark commented on July 2, 2024

Sure.

from yii2-bootstrap5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.