svg-symbol-sprite-loader
svg-symbol-sprite-loader copied to clipboard
Update: dependencies 🆙 (major)
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
ionicons (source) | 5.5.1 -> 7.2.2 |
||||
parse5 | 6 -> 7 |
||||
react (source) | 17.0.2 -> 18.2.0 |
||||
react-dom (source) | 17.0.2 -> 18.2.0 |
||||
webpack-sources | 2 -> 3 |
Release Notes
ionic-team/ionicons (ionicons)
v7.2.2
Bug Fixes
v7.2.1
Bug Fixes
v7.2.0
Bug Fixes
- icon: mapping same icon does not warn (#​1279) (8297018)
- icon: verify the icon loads in the lifecycle (#​1278) (7f7f346)
Features
- allow passing in only icon SVG data to addIcons (#​1256) (1e33313)
- icon: support for dynamic type (#​1246) (45c04dd)
7.1.2 (2023-05-30)
Bug Fixes
7.1.1 (2023-05-23)
Bug Fixes
v7.1.2
Bug Fixes
v7.1.1
Bug Fixes
v7.1.0
Features
v7.0.0
Migration Note: Developers should ensure that their <ion-icon>
usages have either aria-label
or aria-hidden
to avoid accessibility issues. See https://ionic.io/ionicons/usage for more information.
Bug Fixes
6.1.3 (2023-02-09)
Bug Fixes
6.1.2 (2023-02-08)
Bug Fixes
- icon: load base64 data urls (#​1172) (72f0936)
- icon: md and ios properties are reactive (#​1174) (65bcbb4), closes #​802
6.1.1 (2023-01-18)
Bug Fixes
6.1.1 (2023-01-18)
Bug Fixes
v6.1.3
Bug Fixes
v6.1.2
Bug Fixes
- icon: load base64 data urls (#​1172) (72f0936)
- icon: md and ios properties are reactive (#​1174) (65bcbb4), closes #​802
v6.1.1
Bug Fixes
v6.1.0
Bug Fixes
v6.0.4
v6.0.3
v6.0.2
v6.0.1
v6.0.0
BREAKING CHANGE:
The ariaLabel
and ariaHidden
properties have been removed in favor of using the aria-label
and aria-hidden
attributes. For most developers there will be no change in behavior. Please review the migration steps below to see if you need to update your application:
- Using Ionicons via JavaScript:
// Before
iconEl.ariaHidden = "true";
// After
iconEl.setAttribute('aria-hidden', 'true');
- Using Ionicons via JSX in React
{/* Before */}
<IonIcon ariaHidden="true" />
{/* After */}
<IonIcon aria-hidden="true" />
This change is more aligned with what React expects: https://reactjs.org/docs/accessibility.html#wai-aria
v5.5.4
v5.5.3
v5.5.2
inikulin/parse5 (parse5)
v7.1.2
This release includes parse5
and parse5-parser-stream
.
- Export
ERR
asErrorCodes
by @​milahu in https://github.com/inikulin/parse5/pull/704 - Properly handle CR when peeking by @​fb55 in https://github.com/inikulin/parse5/pull/715
- Add CJS build of
parser-stream
by @​fb55 in https://github.com/inikulin/parse5/pull/716
Full Changelog: https://github.com/inikulin/parse5/compare/v7.1.0...v7.1.2
v7.1.1
v7.1.0
This release is only for the parse5 module.
What's Changed
- feat(parse5): use string types for node names by @​43081j in https://github.com/inikulin/parse5/pull/631
- fix(parser): Have
</button>
close<p>
by @​fb55 in https://github.com/inikulin/parse5/pull/534 - docs: Fix small typo in code example by @​cheeaun in https://github.com/inikulin/parse5/pull/518
- Added coverage reporting by @​fb55 in https://github.com/inikulin/parse5/pull/515
- Improved code coverage by @​fb55 in https://github.com/inikulin/parse5/pull/517 and https://github.com/inikulin/parse5/pull/547
New Contributors
- @​cheeaun made their first contribution in https://github.com/inikulin/parse5/pull/518
Full Changelog: https://github.com/inikulin/parse5/compare/v7.0.0...v7.1.0
v7.0.0
Welcome to parse5@​7.0.0! ✨ This is a huge release with many changes, features and fixes.
From an organisational perspective, the most important change is that parse5 is now maintained by a team, consisting of James (@​43081j), Titus (@​wooorm) and me (@​fb55). We come from three projects that rely on parse5 — namely Cheerio, rehype, and Lit.
We need your support to continue the project! If you care about parse5, please support us financially on OpenCollective.
Headlining features of this release are ES Modules, TypeScript, and performance improvements: 7.0.0 is 45% faster than 6.0.1 with default options, and 167% faster with location information enabled (for the bench/perf
benchmark, on an M1 Mac). Version 7.0.0 is a revamp of every part of the library. There are too many changes to list them all here, so here is a high-level overview:
Breaking: ESM
All of parse5’s packages are now ECMAScript Modules. We are providing dual packages for parse5
and parse5-htmlparser2-tree-adapter
for now (see https://github.com/inikulin/parse5/pull/418 and https://github.com/inikulin/parse5/pull/496).
To migrate, please read this Gist on how to update. Note that private internals are no longer available; instead, everything that you need should be imported from the main package.
Implemented by @​43081j in #​351
Breaking: TypeScript
The codebase has been ported to TypeScript. This helped uncover a number of subtle logic bugs, such as dc4e269
, b4b5d4a
, or a0aff95
. TypeScript also helps us refactor with confidence and a lot of the changes in this release would have been much harder to do without it.
To migrate, please remove @types/parse5*
as we now ship our own types.
Implemented by @​fb55 in #​362
Potentially breaking changes
- parse5 was caught up with the HTML spec, and parsing results might differ in edge-cases (https://github.com/inikulin/parse5/pull/442, https://github.com/inikulin/parse5/pull/451)
- The
parse5-serializer-stream
package was removed https://github.com/inikulin/parse5/pull/481- To migrate, use the
serialize
function exported byparse5
.
- To migrate, use the
- The rewriting stream now splits very long text sections (https://github.com/inikulin/parse5/pull/434) and doesn’t escape text in special tags anymore (#​434). If you worked around these issues before, you might have to update your code.
- The htmlparser2 adapter now uses
domhandler
’s node interface (https://github.com/inikulin/parse5/pull/327 by @​TrySound)- The format of the tree nodes has changed slightly; eg. some previous properties are now getters and setters, and vice versa.
If you are using deep imports for any parts of the codebase, you will likely encounter some breakages:
Show internal changes
- The tokenizer now uses the state machine pattern from htmlparser2
5d7a780
(#​362) - The token queue was replaced with callbacks (https://github.com/inikulin/parse5/pull/404, https://github.com/inikulin/parse5/pull/405, https://github.com/inikulin/parse5/pull/419)
- The
OpenElementStack
now uses callbacks https://github.com/inikulin/parse5/pull/429 - Mixins were removed (as part of #​362)
- Location tracking now has a substantially lower overhead https://github.com/inikulin/parse5/pull/402
-
getNextToken
was removed https://github.com/inikulin/parse5/pull/461 - The parser’s
_bootstrap
method was removed https://github.com/inikulin/parse5/pull/384 - We now drop chunks from the tokenizer right after they are emitted https://github.com/inikulin/parse5/pull/432
- The serializer is no longer a class; instead, different serializer functions call on each other https://github.com/inikulin/parse5/pull/383
- parse5 now uses the
entities
module for encoding and decoding entities, sharing maintenance & optimisation work with projects such as htmlparser2 (2b92054
(#​362), https://github.com/inikulin/parse5/pull/486)-
entities
adopted a variant of parse5’s approach of decoding entities. As a result, decoding performance is equivalent, while memory consumption is slightly lower.
-
Other changes
- minor add hooks for stack events to tree adapter interface #​385
-
minor add support for fragments in
parse5-parser-stream
#​487 -
minor add
serializeOuter
(like.outerHTML
),scriptingEnabled
option #​383 -
patch fix parsing of
<<
in comments parsed wrongly as<!
(#​326) -
patch fix position of
endTag
for mixed-case foreign elements (#​353) -
patch fix end position of
html
,body
(#​436) - docs: parse5 has a new documentation website at
parse5.js.org
#​443
New Contributors
Thanks @​anko, @​TrySound, @​samouri, @​alan-agius4, and @​pmdartus!
Full Changelog: https://github.com/inikulin/parse5/compare/v6.0.1...v7.0.0
facebook/react (react)
v18.2.0
React DOM
- Provide a component stack as a second argument to
onRecoverableError
. (@​gnoff in #​24591) - Fix hydrating into
document
causing a blank page on mismatch. (@​gnoff in #​24523) - Fix false positive hydration errors with Suspense. (@​gnoff in #​24480 and @​acdlite in #​24532)
- Fix ignored
setState
in Safari when adding an iframe. (@​gaearon in #​24459)
React DOM Server
- Pass information about server errors to the client. (@​salazarm and @​gnoff in #​24551 and #​24591)
- Allow to provide a reason when aborting the HTML stream. (@​gnoff in #​24680)
- Eliminate extraneous text separators in the HTML where possible. (@​gnoff in #​24630)
- Disallow complex children inside
<title>
elements to match the browser constraints. (@​gnoff in #​24679) - Fix buffering in some worker environments by explicitly setting
highWaterMark
to0
. (@​jplhomer in #​24641)
Server Components (Experimental)
v18.1.0
React DOM
- Fix the false positive warning about
react-dom/client
when using UMD bundle. (@​alireza-molaee in #​24274) - Fix
suppressHydrationWarning
to work in production too. (@​gaearon in #​24271) - Fix
componentWillUnmount
firing twice inside of Suspense. (@​acdlite in #​24308) - Fix some transition updates being ignored. (@​acdlite in #​24353)
- Fix
useDeferredValue
causing an infinite loop when passed an unmemoized value. (@​acdlite in #​24247) - Fix throttling of revealing Suspense fallbacks. (@​sunderls in #​24253)
- Fix an inconsistency in whether the props object is the same between renders. (@​Andarist and @​acdlite in #​24421)
- Fix a missing warning about a
setState
loop inuseEffect
. (@​gaearon in #​24298) - Fix a spurious hydration error. (@​gnoff in #​24404)
- Warn when calling
setState
inuseInsertionEffect
. (@​gaearon in #​24295) - Ensure the reason for hydration errors is always displayed. (@​gaearon in #​24276)
React DOM Server
- Fix escaping for the
bootstrapScriptContent
contents. (@​gnoff in #​24385) - Significantly improve performance of
renderToPipeableStream
. (@​gnoff in #​24291)
ESLint Plugin: React Hooks
- Fix false positive errors with a large number of branches. (@​scyron6 in #​24287)
- Don't consider a known dependency stable when the variable is reassigned. (@​afzalsayed96 in #​24343)
Use Subscription
- Replace the implementation with the
use-sync-external-store
shim. (@​gaearon in #​24289)
v18.0.0
Below is a list of all new features, APIs, deprecations, and breaking changes. Read React 18 release post and React 18 upgrade guide for more information.
New Features
React
-
useId
is a new hook for generating unique IDs on both the client and server, while avoiding hydration mismatches. It is primarily useful for component libraries integrating with accessibility APIs that require unique IDs. This solves an issue that already exists in React 17 and below, but it’s even more important in React 18 because of how the new streaming server renderer delivers HTML out-of-order. -
startTransition
anduseTransition
let you mark some state updates as not urgent. Other state updates are considered urgent by default. React will allow urgent state updates (for example, updating a text input) to interrupt non-urgent state updates (for example, rendering a list of search results). -
useDeferredValue
lets you defer re-rendering a non-urgent part of the tree. It is similar to debouncing, but has a few advantages compared to it. There is no fixed time delay, so React will attempt the deferred render right after the first render is reflected on the screen. The deferred render is interruptible and doesn't block user input. -
useSyncExternalStore
is a new hook that allows external stores to support concurrent reads by forcing updates to the store to be synchronous. It removes the need foruseEffect
when implementing subscriptions to external data sources, and is recommended for any library that integrates with state external to React. -
useInsertionEffect
is a new hook that allows CSS-in-JS libraries to address performance issues of injecting styles in render. Unless you’ve already built a CSS-in-JS library we don’t expect you to ever use this. This hook will run after the DOM is mutated, but before layout effects read the new layout. This solves an issue that already exists in React 17 and below, but is even more important in React 18 because React yields to the browser during concurrent rendering, giving it a chance to recalculate layout.
React DOM Client
These new APIs are now exported from react-dom/client
:
-
createRoot
: New method to create a root torender
orunmount
. Use it instead ofReactDOM.render
. New features in React 18 don't work without it. -
hydrateRoot
: New method to hydrate a server rendered application. Use it instead ofReactDOM.hydrate
in conjunction with the new React DOM Server APIs. New features in React 18 don't work without it.
Both createRoot
and hydrateRoot
accept a new option called onRecoverableError
in case you want to be notified when React recovers from errors during rendering or hydration for logging. By default, React will use reportError
, or console.error
in the older browsers.
React DOM Server
These new APIs are now exported from react-dom/server
and have full support for streaming Suspense on the server:
-
renderToPipeableStream
: for streaming in Node environments. -
renderToReadableStream
: for modern edge runtime environments, such as Deno and Cloudflare workers.
The existing renderToString
method keeps working but is discouraged.
webpack/webpack-sources (webpack-sources)
v3.2.3
v3.2.2
Bugfixes
- Source Code is splitted into lines via custom code instead of using a RegExp
- In weird edge cases the RegExp caused a Stack Overflow
v3.2.1
Bugfixes
-
RawSources
with Buffers can now be concatenated withConcatSource
- Source Code is splitted into lines via custom code instead of using a RegExp
- In weird edge cases the RegExp caused a Stack Overflow
v3.2.0
Performance
- add
SourceMapSource.buffer
for better performance - more efficient serialization of source mappings
Bugfix
- avoid crashing when trying to compare the name with the original source, but there is no
sourcesContent
in SourceMap
v3.1.2
Bugfix
- improve handling of invalid mappings (like zero sized or negative)
v3.1.1
equal to 3.1.0
v3.1.0
Bugfix
- improve handling of null sources and sourceContents
Performance
- faster streaming when only lines are mapped
v3.0.4
Bugfix
- fix invalid mappings when multiple lines with multiple chunks are replaced
v3.0.3
Bugfix
- restore backward-compat format for storing end position of replacements
v3.0.2
Bugfix
- fix incorrect offset sign when doing replacements
v3.0.1
Bugfixes
- fix ConcatSource off-by-1 bug
v3.0.0
Performance
- remove all dependencies
- refactoring for performance
- remove
node()
andlistMap()
- add
streamChunks()
- remove
Configuration
📅 Schedule: Branch creation - "before 3am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
- [ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.