Skip to main content

Media assets management for Invenio.

Project description

https://img.shields.io/github/license/inveniosoftware/invenio-assets.svg https://github.com/inveniosoftware/invenio-assets/workflows/CI/badge.svg https://img.shields.io/coveralls/inveniosoftware/invenio-assets.svg https://img.shields.io/pypi/v/invenio-assets.svg

Media assets management for Invenio.

  • Provides the processing and bundling of JavaScript and CSS files.

  • Provides CLI for installing and building media assets for Invenio via integration with Webpack and NPM.

Further documentation is available on https://invenio-assets.readthedocs.io/

Changes

Version v4.2.2 (released 2026-06-19)

  • chore: use SPDX for the license headers

  • pnpm: relax error regarding ignored build scripts to warning for PNPM v11

Version v4.2.1 (released 2026-01-08)

  • setup: pin rspack

Version v4.2.0 (released 2025-04-24)

  • webpack: unminimized assets in development mode

Version 4.1.0 (released 2025-03-28)

  • webpack: add invenio_assets.webpack:rspack_project

  • build: remove duplicate dependencies from the base package.json files

  • build: add avif & webp to the list of image types in the build configs

Version 4.0.0 (released 2024-12-02)

  • setup: bump invenio dependencies

Version 3.1.0 (released 2024-11-28)

  • setup: pin dependencies

  • webpack: use CopyWebpackPlugin to copy assets defined in config.json

  • fix: resolve dependency warning

Version 3.0.3 (released 2024-03-04)

  • remove node-semver

  • add pywebpack as a direct dependency, as the list of JS deps versions depends on the merging algorithm provided by pywebpack

Version 3.0.2 (released 2024-01-11)

  • add tinymce to dependencies list

Version 3.0.1 (released 2023-12-12)

  • replace ckeditor with tinymce due to license issue

Version 3.0.0 (released 2023-06-08)

  • upgrade to webpack 5

  • upgrade js dependencies

  • upgrade webpack plugins

Version 2.0.0 (released 2022-10-24)

  • upgrade dependencies to node 18 compliance

Version 1.3.1 (released 2022-09-01)

  • Upgrade eslint dependencies

  • Add eslint-config-invenio for global linting

Version 1.3.0 (released 2022-06-19)

  • Replaces the deprecated NPM dependency node-sass with dart-sass.

  • Upgrades sass-loader NPM dependency

  • Depends on minor releases for NPM dependencies

  • Migrates setup.py to setup.cfg

  • Increases minimal python version to 3.7

  • Introduces black` as code formatter

Version 1.2.7 (released 2021-10-18)

  • Changed Flask-Collect (unmaintained since 2016) to Flask-Collect-Invenio and fixed Flask v2 support. You may need to uninstall Flask-Collect manually.

Version 1.2.6 (released 2021-05-18)

  • Fixes missing “manifest.json”. The issue was caused by the webpack-bundle-tracker changing behavior of where to output the manifest.json file between version v1.0.0-alpha1 and v1.0.0 (released 4 days ago).

Version 1.2.5 (released 2020-06-24)

  • Updates package.json dev dependencies.

Version 1.2.4 (released 2020-06-24)

Version 1.2.3 (released 2020-05-27)

  • Fixes an alias issue with jQuery.

Version 1.2.2 (released 2020-05-26)

  • Fixes an issue with attribute access and application context errors.

Version 1.2.1 (released 2020-05-25)

  • Adds support for adding Webpack aliases to theme bundles.

Version 1.2.0 (released 2020-05-13)

  • Uses webpack-bundle-tracker for the generating the Webpack manifest.

  • Disables the vendor chunk grouping in Webpack config. Since now the manifest exposes entry chunk dependencies, the newly added UniqueJinjaManifestLoader renders (only once) each chunk.

  • Adds a WebpackThemeBundle which uses the APP_THEME variable to determine which bundle will be used.

  • Removes support for Flask-Assets and Webassets which was deprecated with the release of Invenio v3.0.

Version 1.1.5 (released 2020-04-28)

  • Webpack now uses by default in debug/development mode folder-level symlinking

  • Enabled source maps for Webpack development builds.

  • Patched the watchpack library to support symlink watching via using patch-package.

Version 1.1.4 (released 2019-02-20)

  • Webpack Live-reload plugin.

  • Webpack @templates alias.

  • Webpack fix symlinks issue.

Version 1.1.3 (released 2019-07-29)

  • Turn off webpack warnings

Version 1.1.2 (released 2019-02-15)

  • Removes NPM warnings.

Version 1.1.1 (released 2018-12-14)

Version 1.1.0 (released 2018-11-06)

  • Introduces webpack support.

Version 1.0.0 (released 2018-03-23)

  • Initial public release.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invenio_assets-4.2.2.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invenio_assets-4.2.2-py2.py3-none-any.whl (20.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file invenio_assets-4.2.2.tar.gz.

File metadata

  • Download URL: invenio_assets-4.2.2.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for invenio_assets-4.2.2.tar.gz
Algorithm Hash digest
SHA256 1a6569e77ee3e0678fdf5dc57257d0fe3f19386631875492b2d57dd8ff96f9c1
MD5 06430795c110930028a751a76da6f3e6
BLAKE2b-256 dc77b61d3c740e6d4793736dcc3f2daa3653f0093be84b6835e9acdc1949ae82

See more details on using hashes here.

File details

Details for the file invenio_assets-4.2.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for invenio_assets-4.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c8d9c1ae4e4beeff5b2bb03235b601f3ee6af31c5c8bac83e8d49c803ec32b9f
MD5 cf4327d6218486a2ee728c4e65461c64
BLAKE2b-256 18d9de0b6e9d0e06b5218524f9e70d018b1fa6db4522677aa5cdbe8f21928ac1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page