Skip to content

MEgen 2.0.0: Elegance 🦢 in a simple form

Compare
Choose a tag to compare
@github-actions github-actions released this 27 Apr 16:31
· 51 commits to master since this release

The new and better MEgen 2.0.0 is now available! Below you will find an overview of the most important changes since the last release.

🚀 New features

In the new version of MEgen, you will find the following new features. You must try them out!

MEgen is now online

MEgen is now available online. If you just want to try MEgen, this is the best option.

UUID URN subject type

Supported subject types are IRI, Blank node, and new URN UUID. IRI is still the default option.

Dataset type support

Dataset type support has been added for JSON-LD HTML, JSON-LD, RDFa, and Microdata formats. Thanks to this, the generated datasets can be even more visible to search engines, e.g. in the Google Dataset Search. Read more at Google Developers page.

Required fields marked as required

Now you can see which fields are required before filling out the form.

📈 Improvements

The new version brings some improvements. Below you will find the most important of them.

Project page refreshed

The project page now contains the most important information about structured data and MEgen. It also contains links to GitHub, Docker Hub, and information about the authors. The site has also been enhanced with favicons and meta description. In addition property name columns are now wider.

Output format improvements

You may notice minor fixes to the output formats. For example, the resulting code is better formatted, and MEgen generates img tag for molecule images. Quotation marks have been unified in all formats (now it's ") and the HTML escape has been improved. In addition, the unnecessary rdf prefix for JSON-LD and redundant newline before the body closing tag for Microdata has been removed.

Bootstrap and jQuery update

The libraries have been updated to new versions. This can make MEgen work better.

Better documentation

In this release, README has been enhanced with a Quick start section, which should make it easier for you to start with MEgen. Additionally, some of the README stuff was moved to the project Wiki. You can find useful information there as well.

PHP 8.0 for Docker images

The Docker image now uses the latest version of PHP 8.0.

🐛 Bug Fixes

There are no infallible people, just as there are no perfect program codes. The following bugs have been found and fixed in this release.

Add missing properties and validations

If you typed one molecule and then clicked the button to add another, the form that appeared did not have all the supported fields or validations. This has been corrected.

💔 Breaking changes

These changes are not backward compatible.

additionalType is now not supported

This option requires specialized knowledge to be successfully used. In order not to create additional confusion, this option is no longer available.

🕶️ Changes under the hood

The changes under the hood don't affect you directly, but you might find them interesting.

JMeter tests

JMeter tests have been added, which are performed after each change in the repository, including pull requests. In order for a release (including pre-release) to be published, it must pass all tests.

Rewritten GitHub Actions workflows

Workflows in GitHub Actions have been rewritten for better clarity and understanding.

Below are just some of the additional changes:

  • MEgen is now being tested using jMeter tests,
  • GitHub Actions builds and sends containers to Docker Hub instead of building it on Docker Hub,
  • The cache is used to build the Docker image,
  • Automatic MEgen deploy,
  • Waiting for concurrent jobs if needed.

If you are interested, you can see the workflows for the MEgen project.

This changelog contains only the most significant changes. Below you will find a list of all commits since the last release.

Commits

  • [223cbdb]: MIT license -> MIT License (Łukasz Szeremeta)
  • [2a1ba56]: Generate img tag for molecule's images (Łukasz Szeremeta)
  • [3f5d450]: Remove additionalType support (requires more user knowledge to use) (Łukasz Szeremeta)
  • [9311196]: Remove unncessary rdf from context in jsonld output (Łukasz Szeremeta)
  • [1c1004c]: Remove / from img tag (Łukasz Szeremeta)
  • [43c16bd]: urn:uuid, Google Dataset, update JQuery and Bootstrap (Łukasz Szeremeta)
  • [028b2df]: Improve schema:Dataset for RDFa and Microdata (Łukasz Szeremeta)
  • [2b9245b]: Beautify outputs (Łukasz Szeremeta)
  • [4f0a492]: http -> https (Łukasz Szeremeta)
  • [1a1daba]: https -> http for Google Rich Results Test (Łukasz Szeremeta)
  • [c4ef821]: MolecularEntity type -> profile with version (Łukasz Szeremeta)
  • [0f67053]: Change columns width (Łukasz Szeremeta)
  • [bd37c41]: Add MEgen info and footer (Łukasz Szeremeta)
  • [3360433]: Add missing to next.php (Łukasz Szeremeta)
  • [c4cdf8b]: Set subject IRI required if used (Łukasz Szeremeta)
  • [9bbb645]: Add meta description (Łukasz Szeremeta)
  • [7697691]: Add Structured data link (Łukasz Szeremeta)
  • [ad74603]: Add structured data link to README (Łukasz Szeremeta)
  • [c9620e4]: Add favicons (Łukasz Szeremeta)
  • [dbef8b7]: entity -> entity (Łukasz Szeremeta)
  • [648eb58]: Improve MEgen description (Łukasz Szeremeta)
  • [8c1b949]: Improve description in README (Łukasz Szeremeta)
  • [9b92de8]: Improve README descriptions (Łukasz Szeremeta)
  • [6841692]: Improve web app description (Łukasz Szeremeta)
  • [f3b04c4]: Add missing the in README (Łukasz Szeremeta)
  • [a0cd40a]: Small README fix (Łukasz Szeremeta)
  • [9500413]: Indicate which fields are required (Łukasz Szeremeta)
  • [8a98c94]: Improve README (Łukasz Szeremeta)
  • [af8491f]: Update index.html (Łukasz Szeremeta)
  • [7a08a6d]: Add jMeter tests (Łukasz Szeremeta)
  • [a0c8127]: Update pre-release.yml (Łukasz Szeremeta)
  • [c761343]: Update to PHP 8.0 (Łukasz Szeremeta)
  • [2f5b17c]: Update pre-release.yml (Łukasz Szeremeta)
  • [44b6e0b]: Update pre-release.yml (Łukasz Szeremeta)
  • [f4f1b87]: Update pre-release.yml (Łukasz Szeremeta)
  • [c802353]: Update and rename tagged-release.yml to release.yml (Łukasz Szeremeta)
  • [339addd]: Add publish-release.yml (Łukasz Szeremeta)
  • [a843e13]: Add test.yml (Łukasz Szeremeta)
  • [b509b88]: Update and rename tagged-release.yml to release.yml (Łukasz Szeremeta)
  • [17655ba]: Remove publish-release.yml (Łukasz Szeremeta)
  • [566a859]: Update pre-release.yml (Łukasz Szeremeta)
  • [97ae1ee]: Improve workflows (Łukasz Szeremeta)
  • [c098380]: Update README.md (Łukasz Szeremeta)
  • [58e78c2]: Turnstyle -> Wait for concurrent jobs (Łukasz Szeremeta)
  • [fbdabd3]: Change default licence to CC-BY 3.0 (Łukasz Szeremeta)
  • [808a6cd]: Update README.md (Łukasz Szeremeta)
  • [e1ac86b]: ' -> " in outputs, better HTML escape (Łukasz Szeremeta)