v0.0.2
Demos (demo panel, opens in a new tab)

Upgrading

This page explains what changed in each version and what you need to fix in your own code.

How to upgrade

  1. Commit your own changes with git.

  2. Update the packages, build, and clear the compiled views:

    bash
    composer update "zubazar/*"
    npm run build
    php artisan view:clear
    
  3. If you published the PRO JS file to public/vendor/zubazar-ui-pro (ACUN UI: public/vendor/acun-pro), publish it again:

    bash
    php artisan vendor:publish --tag=zubazar-ui-pro-assets --force
    
  4. If the release notes (the packages' CHANGELOG.md) list a change that concerns you, apply it.

Tip

If you copied a component's view into your application, compare your copy with the new version in the package. Copies don't receive updates.

Moving from ACUN UI

ACUN UI and ACUN Pro are now Zubazar UI and Zubazar UI Pro; the versions start again at 0.0.1 (it continues ACUN UI 3.1.1). The packages, namespaces, tags and browser names come with the new names. The old names lead to the new ones until 1.0, so your application keeps working after the update. Only the --ac-* variables in your own CSS wait for the migrate command.

ACUN UI 3.x Zubazar UI
acunsoft/acun-ui, acunsoft/acun-pro zubazar/ui, zubazar/ui-pro
@acunsoft/acun-ui, @acunsoft/acun-pro @zubazar/ui, @zubazar/ui-pro (file:vendor/zubazar/…)
Acun\Ui\…, Acun\… Zubazar\Ui\…, Zubazar\…
<acun:button> <zb:button>
@acunUiScripts, @acunFonts @zubazarUiScripts, @zubazarFonts
config/acun-ui.php, config/acun-pro.php config/zubazar-ui.php, config/zubazar-ui-pro.php
acun:install, acun:themes, acun.theme zubazar:install, zubazar:themes, zb.theme
window.AcunUI, data-acun-*, acun:modal:opened window.ZubazarUI, data-zb-*, zb:modal:opened
--ac-*, .ac-container --zb-*, .zb-container
docs.acunui.com, acunui.com ui.zubazar.com/docs, ui.zubazar.com

To move:

  1. In composer.json, require zubazar/ui and zubazar/ui-pro (0.0.*) instead of acunsoft/acun-ui and acunsoft/acun-pro, then composer update. The migrate command does this too.

  2. Run the migrate command dry first, then for real:

    bash
    php artisan zubazar:migrate --dry-run
    php artisan zubazar:migrate
    

    It rewrites the old names in your application's own files: views, CSS, JS, PHP, composer.json, package.json and the Vite config. It also moves the config files, published views and files such as acun-themes.css to their new names. The application's own names (App\Acun\…, your own image files) stay.

  3. composer update, npm install, npm run build, php artisan view:clear.

Appearance choices saved in the browser move to the new key on their own. The 1.x acun-ui-pro and ecommerce view namespaces, the old publish tags and the public/vendor/acun-ui-pro copy are gone; the 1.x class names still lead to the new classes.