Repository navigation
v0.1.0-alpha.30
Pre-release
Pre-release
·
64 commits
to main
since this release
izzy update moves an app, or the izzy on your machine, to the newest release and lists what the releases in between removed or renamed, izzy upgrade plans the renames your app needs and makes them when you approve, and izzy says when a release is out.
CLI
- New:
izzy add page --name <Name>adds a page to your app: its file inComponents/Pages, its route (the name in kebab case, or--route), its title and a container.--navadds a link in the app's nav,--mode server|webassembly|autosets where its C# runs (a page for the browser goes in the.Clientproject),--layoutnames another layout and--folderanother folder. It stops, naming the file, when the file is there or another page has the route. No account needed. - New:
izzy add razor --name <Name>adds a component with no route, inComponentsor--folder, and the folder's@usingin_Imports.razorwhen it isn't there. No account needed. izzy add page --modealso takes a render mode's own name:InteractiveServer,InteractiveWebAssembly,InteractiveAuto.izzy add razorreads a folder's@namespaceand writes a folder's name in@usingas Razor does (Components/my-areaisComponents.my_area), and stops at a name an IzzyBlazor component has.- New:
izzy wrap <file>:<line>:<col> --with <component>(Pro) puts a component, or an HTML element, around the element at a place on a page, or around the siblings from it to a second place (file:line:col-line:col). It indents as the page does, checks the wrapper's options asizzy setdoes, and adds@using IzzyBlazorwhen the page lacks it.--suggest --jsonlists the wrappers that fit the place, each with the reason: aGridItemin aGrid, aFieldsetfor several fields, aFieldFramefor a plain<input>. - New:
izzy unwrap <file>:<line>:<col>(Pro) takes an element away and moves what it holds out one step. It stops at an empty element, and at a component that holds a part of its own, such as a DataGrid's<Columns>, and names the part. - New:
izzy extract <file>:<line>:<col>[-<line>:<col>] --name <Name>(Pro) moves markup to a component of its own, beside the page or in--folder, and puts its tag in the markup's place. A field or property of the page's@codethat the markup reads becomes a parameter and the page passes it; a service the page injects is injected there too. What a parameter can't carry is a warning for each: a method, a value the markup changes, an@ref, a loop's variable, a type declared in@code. All three take--dry-run,--diff,--jsonand, for an editor's unsaved text,--stdin. - New:
izzy doctorchecks what izzy needs on your machine and in the app: the .NET SDK, the app's IzzyBlazor package and its own izzy against the izzy you ran, your account and the audit's browser;--buildbuilds the app too. A check that is off says how to fix it.--jsongives each check'sid,level,found,detail,fix, and thecommandorurlthat fixes it. It changes nothing and needs no account. izzy add crudtakes--folder,--layout,--renderand--nav false.--foldersays where the pages' own folder goes,--layoutnames their layout,--render serverruns them over a circuit (webassemblyandautoneed--store http, and a wrong pairing is refused with what to use), and--nav falseadds no nav link.izzy mcphasadd_page, for a blank page or a component.- New:
izzy update. In an app's folder it sets the version of the IzzyBlazor package in the project files (and inDirectory.Packages.props) and of izzy in the app's tool manifest, restores the tool and builds the app.--to <version>picks a release other than the newest,--no-buildskips the build, and--dry-run,--diffand--jsonshow the change first. Outside an app, or with--global, it runsdotnet tool update -g IzzyBlazor.Cliwith the version. izzy updateends with what the releases in between removed or renamed, a line each under its release, such asIcon.Role → Purpose, back to alpha.16. A parameter that left several components the same way is one line. With--jsonthey are inchanges. Razor takes an old parameter name without a warning, and the page fails when it opens.- New:
izzy upgrade(Pro) finds where the app uses them, in its.razorand.csfiles. It prints a plan and writes nothing: each rename it would make, a parameter with its@bind-and itsChanged, and what is left to change by hand, by file and line with what to use instead.--diffshows the renames as a diff and--jsongives the plan as data.izzy upgrade --applymakes the renames. It starts from the releaseizzy updatemoved the app from (kept in.izzy/upgrade.jsonuntil nothing is left);--from <version>names it for an app updated by hand. It reads the markup in a page's@codetoo. It doesn't look for methods, which the build reports, or for the CSS variables and classes a release renamed, which are in that release's notes. - izzy says when a newer release is out, in one line after a command:
IzzyBlazor 0.1.0-alpha.31 is out (this is 0.1.0-alpha.30). To update: izzy update. It asks nuget.org for the package's versions at most once a day, beside the command, and drops the request when the command ends first. The line is said once a day, on the error stream, to a terminal only: not in CI, with--json, inizzy mcp, or when the output is read by a script or an editor.IZZY_NO_UPDATE_CHECK=1turns it off. A stable izzy is told of stable releases only. izzy auditon one page needs no Pro. With a free account (izzy login), each finding of a one-page run has its verdict, with your decisions from.izzy/audit.json, and its component, fix and place in your code. The run can also writetasks.md,report.htmlandresults.sarif, and takes--baselineand--fail-on realornew. These needed Pro. Signed out, izzy runs axe and its own checks and lists the findings as they are, and an option that needs the account ends with exit code 4 (it was 3). Several pages in one run,--siteand--urlsstay Pro. An account's copy of the catalog now has the audit's pack.- New:
izzy audit --recheck <id>audits again the page a finding is on, after a fix, and says whether it is fixed, still there (exit code 5) or couldn't be checked. A finding that is still on the page and no longer counts, since you accepted it or its verdict is false positive or demo page, is "Still there, accepted" (or its verdict), never "Fixed".report.mdprints the id of each finding it shows (ten a group;results.jsonhas them all), and izzy finds the page in the newest run in.izzy/audit/that has it (--baseline <results.json>names another run). An edit that moves the element gives its finding a new id: izzy then says how many findings of the same rule the earlier run lacks, and names one. With--jsonthe answer is inrecheck. izzy auditnames the elements axe couldn't measure. For a run of one page, eachincompleteentry ofresults.json(and of--json) hasnodes: up to 20 elements of the rule, each withid,target,htmlandsummary, so an editor can point at what a person should check.izzy audit --json --out <folder>writes the files too, and the printed results name them:writtenhasfolderandfiles. Without--out,--jsonwrites nothing, as before.- New:
audit_pageandrecheck_findinginizzy mcp, for a coding agent: one page audited, with the findings by verdict and wherereport.mdis (tasks.mdis beside it), and a finding looked for again after a fix. They report and change no code, need a free account and audit one page a call. The skillizzy agentwrites says when to run them, what each verdict asks of the agent, and that no findings is not a statement of conformance. izzy audittraces a finding to your code. Each finding names the IzzyBlazor component that drew the element, with its docs page, and the fix when the pack knows one, such asLabelfor two Breadcrumbs with one name. With--runor--projectit also has the file and line where the component is written: izzy finds the page's file from its@pageroute and looks in it, its layout and the app's own components they use. One tag is that line; among several it picks the one whose written text (Label,id) is in the element, and otherwise lists the places. The report,tasks.mdandresults.json(traceon each finding) carry it.- New:
izzy audit --format sarifwritesresults.sariffor GitHub code scanning and editors: the real findings and those a person must look at, each on its line, with paths from the repository's root. It needs the app's source (--runor--project). A finding on a page with no file in the app is left out of it. - New:
izzy auditruns four checks of its own beside axe's.target-sizeis axe's rule for WCAG 2.5.8, turned on, and izzy then tests where each control it finds takes a click: one with a hit area larger than its box is a false positive.focus-not-obscuredgives focus to a link or button under a header or footer that stays in place and reports the bar when the page leaves it hidden (2.4.11).focus-visible-forced-colorscompares a picture of each kind of control before and after it takes focus in forced colors (2.4.7), andforced-colors-indicatorreports the parts of controls and meters that only a fill draws and nothing draws there (1.4.11). Each page is opened once more for the last two, at the widest width, and the reports list that load asforced colors. What izzy measured outright is real; a slight change on focus and a part that disappears need a person. Every report's "Not checked" section says where these checks stop. A baseline made before this release has none of these findings, so they count as new: make a new one. - New:
izzy audit --format htmlwritesreport.html, the report as one file to hand to a client: the summary by verdict, each finding with its criterion, verdict and fix, and a picture of the page around each element with the element outlined, in light and in dark. It loads nothing, runs no script, follows the reader's color scheme and prints. A group of findings shows ten elements and counts the rest. The pictures are also files in the run'spicturesfolder, andresults.jsonnames each finding's file inpicture. - New:
izzy add crud --store http(Pro) adds the pages to an app with a.Clientproject, where they run in WebAssembly or Auto. The pages,I{Model}StoreandHttp{Model}Storego into the.Clientproject, and the server getsData/{Model}Api.cs: an API at/api/<models>over the DbContext or memory, with the pages' sign-in and policies. It sends only the fields the pages show, runs the model's validation, saves only the form's fields, and answers at most 500 rows a request. The grid's search, sort, filters and paging travel in the address and run on the server. The model class must be in the.Clientproject. Before, crud refused an app whose pages run in the browser. - Fixed:
izzy add crud --view-policynow guards the Excel export too ({Model}Export.cs), which asked only for sign-in, and Pro's list, detail and form pages, which ignored it.--edit-policyworks with--mode pagestoo: the list and detail pages hide New, Edit and Delete from people the policy refuses, and the form page asks for the policy. It was ignored. izzy add crud: the grid page checks an edit policy withAuthorizeAsync(user, null, policy), which needs nousing. Pro's form page starts a new record's dates at today, as the grid does (they started at 01/01/0001).- Fixed: Scheduler. In a month, the first appointment under a bar that spans days sat one pixel under the bar, which left it less than the 24 pixels a target needs: the list starts two pixels lower in a week that has bars. In forced colors the line for the current time is drawn (in
Highlight); it wasn't.izzy audit's new checks found both. - Fixed: what
izzy audit's new checks found on the docs site, second round.- ListView, Table, DataGrid with
LoadOnScroll: tabbing to the Load more button (the one the keyboard reaches) no longer starts a load. The load put the new items above the button, so focus was out of sight in a list that scrolls. The button loads when it is pressed, and scrolling loads as before. - Lightbox in a Carousel: an item's focus ring is drawn inside the picture. The carousel's track cut the ring off, in every color scheme.
- Table on a small screen: the heading row has 8 pixels between its lines (it had 4), so the select-all checkbox has a target's room above the sort link under it.
- Chart legend: an item is 24 pixels tall (it was 21).
- RangeSelector: each handle takes the pointer 26 pixels wide, outward from the window, so the two don't share room when the window is at its narrowest.
- LinearGauge: a pointer is drawn in forced colors (in
CanvasText). It was only a fill, and it disappeared.
- ListView, Table, DataGrid with
- Fixed:
izzy audit's checks, three false alarms. A control out of sight until it has focus (a skip link, a Load more for the keyboard) passes when focus brings it into sight, scrolled to as Tab scrolls to it; one that stays hidden is still found. The button inside a<select>the page styles is measured as its select. A hit area that grows to one side counts (the circle of 24 pixels is tried up to 8 pixels from the control's center). The pack says a RangeSlider's two inputs, which lie on one another and let the pointer through, are a false positive. - Fixed: DataGrid's edit dialog and row editing give a nullable enum column a "None" choice (the field showed the first value and saved none), and a
bool?column a field: Yes, No or None. It had none, so the column couldn't be edited. The word isIzzyText.EditNone. - Fixed:
izzy add crud. Pro's form page saves an edit of a record whose typed key is[Required]; it always said the key was missing. A new record'sDateTimeandDateTimeOffsetstart in UTC, the zone the fields show and read them in, and a field with a time says so in its label ("Opened (UTC)"): a date could start a day early east of UTC. A Guid that isn't the key is shown and not edited on the grid page, as on the form page. A required field named Text or Notes says "Enter text." and "Enter notes.". A second run with--singularor--pluralrenames the nav entry the first run wrote..izzy/items.jsonkeeps one entry for a model's crud, the last run's. A run that changes nothing no longer repeats where the records are kept or which properties were left out. - The component data in IzzyBlazor.Core (
tools/izzy/components.json) hasroot,own,insideandlikefor each component that can be drawn alone: the tag and classes that mark its outermost element, the other components it draws inside itself, and those that draw the same element. The trace reads them. A component that takes items is drawn with rows to find them, so a DataGrid's pager is traced to the DataGrid, and a component you wrote inside another (a Button as a Menu'sTrigger) to your own tag.
Site
- The privacy page names the request to nuget.org.
Docs
- New: Developer Tools, a docs section for every tool: an overview of what each does and what it needs, the izzy CLI's pages and AI assistants. It replaces "The izzy CLI", and the old addresses redirect.
- New in Accessibility: Automated and manual checks draws the line between what a tool settles, what it can only point at and what a person must check. Component status lists each component's keys, what the automated audit found on its pages and which screen readers it has been tested with.
- New: Wrap, unwrap and extract, and Pages and components, in Developer Tools. The izzy CLI's page has Check your setup.
izzy audithas six pages in the Accessibility section: Audit a page, Verdicts, Reports, Find and check a fix, Audit in a build, and What the audit checks.
Full Changelog: v0.1.0-alpha.29...v0.1.0-alpha.30