Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump @navikt/nav-dekoratoren-moduler from 2.1.6 to 3.0.0 #1029

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 3, 2024

Bumps @navikt/nav-dekoratoren-moduler from 2.1.6 to 3.0.0.

Release notes

Sourced from @​navikt/nav-dekoratoren-moduler's releases.

v3.0.0

Se readme for endringer!

Changelog

Sourced from @​navikt/nav-dekoratoren-moduler's changelog.

Versjon 3.0

  • Server-side fetch-funksjoner henter nå ferdige HTML-fragmenter fra /ssr-endepunktet, istedenfor å parse hele dekoratørens HTML.
  • (breaking) Alle dekoratørens <head>-elementer er nå inkludert i det påkrevde fragmentet DECORATOR_HEAD_ASSETS. CSS, favicon, etc.
  • (breaking) Fjerner DECORATOR_STYLES/Styles fra responsen for fetchDecoratorHtml/fetchDecoratorReact (erstattes av DECORATOR_HEAD_ASSETS).
  • Den innbygde cachen av dekoratørens elementer invalideres nå automatisk når en ny versjon av dekoratøren er tilgjengelig.
  • Nye funksjoner: addDecoratorUpdateListener, removeDecoratorUpdateListener, getDecoratorVersionId. Tiltenkt brukt for cache-invalidering i apper som cacher dekoratøren på andre måter.
  • Fjerner typer for ubrukte parametre urlLookupTable og enforceLogin
  • (breaking) Fjerner <EnforceLoginLoader/>
  • (breaking) Fjerner injectDecoratorServerSideDom. Denne erstattes av injectDecoratorServerSideDocument, som tar inn et standard Document DOM-objekt.
  • (breaking) Fjerner getUrlFromLookupTable og tilhørende url-mappinger
  • (breaking) Fjerner parseDecoratorHTMLToReact
  • (breaking) Alle dependencies er nå optional peer dependencies

Versjon 2.0

  • Node.js v18 eller nyere er påkrevd, ettersom vi ikke lengre benytter node-fetch. (Node 18 har fetch innebygd)
  • Server-side fetch-funksjoner benytter nå service discovery som default. Dette krever visse access policy regler.
  • Parametre til fetch-funksjoner er endret, slik at query-parametre til dekoratøren nå er et separat objekt. Eksempel 1.x -> 2.0: { env: "prod", context: "arbeidsgiver", simple: true} -> { env: "prod", params: { context: "arbeidsgiver", simple: true }})
  • Ved bruk av env: "localhost" må dekoratørens url nå alltid settes med parameteret localUrl. Dette erstatter parameterene port og dekoratorenUrl, og vi har ikke lengre en default localhost url.
  • Flere typer er endret eller har fått mer spesifikke navn (f.eks. Params -> DecoratorParams)
Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Sep 3, 2024
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/navikt/nav-dekoratoren-moduler-3.0.0 branch 4 times, most recently from 19c3e2b to 8188744 Compare September 6, 2024 12:56
Bumps [@navikt/nav-dekoratoren-moduler](https://github.com/navikt/nav-dekoratoren-moduler) from 2.1.6 to 3.0.0.
- [Release notes](https://github.com/navikt/nav-dekoratoren-moduler/releases)
- [Changelog](https://github.com/navikt/nav-dekoratoren-moduler/blob/master/CHANGELOG.md)
- [Commits](navikt/nav-dekoratoren-moduler@v2.1.6...v3.0.0)

---
updated-dependencies:
- dependency-name: "@navikt/nav-dekoratoren-moduler"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/navikt/nav-dekoratoren-moduler-3.0.0 branch from 8188744 to 5455538 Compare September 6, 2024 13:06
Copy link
Contributor Author

dependabot bot commented on behalf of github Sep 9, 2024

Superseded by #1050.

@dependabot dependabot bot closed this Sep 9, 2024
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/navikt/nav-dekoratoren-moduler-3.0.0 branch September 9, 2024 12:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants