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.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.0.tar.gz (30.5 kB view details)

Uploaded Source

Built Distribution

invenio_assets-4.2.0-py2.py3-none-any.whl (20.9 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for invenio_assets-4.2.0.tar.gz
Algorithm Hash digest
SHA256 e5adfae94ec81e2c39ac473121c38ffd036b70bbd3ae373c2953d1b34aac7bf9
MD5 6a100e1b2d0f2f35e71ea2a85f3e3b05
BLAKE2b-256 1c65fe697b184bcc4374051add88242f16f5f5b3c5a37d89e3cd0b938364c247

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for invenio_assets-4.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e5118f30db241280736fcdd4145684862a7263aec10223a9274f88544d0a3c16
MD5 64f29e711d8e3619ee21fd22e5a9a66c
BLAKE2b-256 565a98664adf0464adcadb0e27165e0a8bf97b1c775bc9e61838329b58f97513

See more details on using hashes here.

Supported by

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