v1.8

v1.8.1

Improvements

  • baked's tailwind.css file added to exports

v1.8.0

tailwindcss Upgrade

- [ ] Update `@mouseless/baked` packages to the latest version
- [ ] Remove the `@nuxtjs/tailwindcss` package
  - Remove it from your dependencies
  - If you have any related configuration in `nuxt.config.ts`, it can also be removed
- [ ] Move your global style overrides from `.scss` files into `components.css`
  - Import Tailwind at the top of  `components.css`
  - Wrap all overrides in the `utilities` layer
  - Group overrides by component using uppercase section comments (MDN style)
  - All custom css should be their `.b-component-...` class
  - Update the CSS import in `nuxt.config.ts`
  - Add `@mouseless/baked/tailwind.css` reference to use baked breakpoints overrides
- [ ] Replace custom CSS with Tailwind utilities using `@apply` wherever possible
- [ ] Move theme variables to `theme.css`
  - Rename your existing variables file or create a new `theme.css`
  - Extract repeated calculated values into CSS variables
  - Expose reusable variables through Tailwind's `@theme` when appropriate
- [ ] Move all styles from component `<style>` blocks into `components.css`
- [ ] Review your styles after the migration
  - Since component styles are no longer scoped, some selectors may have different specificity
  - You may need to add tailwind's `!` modifier in a few places to preserve the expected behavior
- [ ] Remove the `sass` package
  - Remove any related configuration from `nuxt.config.ts`
  - Remove the package from your dependencies
- [ ] If you previously customized Tailwind breakpoints or `useBreakpoints`, migrate them accordingly
  - `useBreakpoints` can continue to be configured as before
  - Tailwind breakpoints must now be defined in `theme.css` using `@theme`

Improvements

  • name field added to show cases where the parameter id and name differ in .kdl
  • CommandPatternCodingStyleFeature convention classes now support filtering via _whereContext
  • ComponentPath matcher performance improved
  • AllowsMultiple and ThrowIfNotTarget extension helpers performance improved

Breaking Changes

  • Tailwind CSS has been upgraded from v3 to v4
    • @nuxtjs/tailwindcss is no longer required
    • Tailwind screens must now be configured via @theme
    • PrimeVue layer order is now theme, base, primevue, utilities
    • Existing styles may require migration
      • Follow the Tailwind CSS upgrade guide above
  • override.scss has been renamed to component.css
  • Properties with AnyByXx are no longer marked as unique
  • AllowsMultiple is no longer an extension method on Type and Attribute; use the extension property instead
  • PubliclyInitializableAttribute renamed to CommandAttribute
  • CommandPatternCodingStyleFeature conventions now filter by CommandAttribute and CommandMethodAttribute
  • CommandAttribute assignment now applied only to types with exactly one eligible command method and now supports both transient and non-transient types except locatable transient types
  • FirstBy and SingleBy are no longer removed from route parts , and By is now removed only when it appears at the end of a method name

Library Upgrades

NuGet PackageOld VersionNew Version
Microsoft.AspNetCore.Authentication.JwtBearer10.0.910.0.10
Microsoft.AspNetCore.Mvc.NewtonsoftJson10.0.910.0.10
Microsoft.AspNetCore.Mvc.Testing10.0.910.0.10
Microsoft.CodeAnalysis.CSharp5.3.05.6.0
Microsoft.Data.Sqlite.Core10.0.910.0.10
Microsoft.Extensions.Caching.Abstractions10.0.910.0.10
Microsoft.Extensions.Configuration.Abstractions10.0.910.0.10
Microsoft.Extensions.Configuration.Binder10.0.910.0.10
Microsoft.Extensions.FileProviders.Abstractions10.0.910.0.10
Microsoft.Extensions.Localization.Abstractions10.0.910.0.10
Microsoft.Extensions.Logging.Abstractions10.0.910.0.10
Microsoft.Extensions.TimeProvider.Testing10.7.010.8.0
Microsoft.NET.Test.Sdk18.6.018.8.1
Microsoft.Testing.Extensions.CodeCoverage18.8.018.9.0
Microsoft.Testing.Extensions.TrxReport2.2.32.3.2
NHibernate5.6.15.7.0
Spectre.Console0.57.00.57.2
Spectre.Console.Testing0.57.00.57.2
SQLitePCLRaw.bundle_e_sqlite33.0.33.0.4
Swashbuckle.AspNetCore10.2.110.2.3
Swashbuckle.AspNetCore.Annotations10.2.110.2.3
System.IdentityModel.Tokens.Jwt8.19.18.19.2
npm PackageOld VersionNew Version
@nuxtjs/i18n10.4.010.5.0
@nuxtjs/tailwindcss6.14.0removed
@tailwindcss/vitenew4.3.3
playwright1.60.11.61.1
tailwindcssnew4.3.3