Coder Social home page Coder Social logo

Comments (3)

mjacoby avatar mjacoby commented on July 18, 2024 1

I'm not sure what the best solution would be in this case...on the one hand we are talking about milestone releases which I guess would in theory allow adding breaking changes. However, I agree that this will most likely cause problems and disappointment from the users that they no longer can load files create by the previous version.

Therefore, I see two potential approaches (if technically possible)

  1. Keep backwards compatibility by supporting both http://www.admin-shell.io/aasx/relationships and http://admin-shell.io/aasx/relationships. We should add a warning message when loading a file using the "old" URL that the file is not compliant to the standard and will no longer be supported with the next release. Also we should always save files using the correct URL.
  2. Remove support for "old" URL. In this case we should a a big fat note in the release notes stating the problem. We should also provide some simple command line tool to fix existing AASX files and should link that tool in the release notes.

I am fine with any of these two approaches.

from aas4j.

FrankSchnicke avatar FrankSchnicke commented on July 18, 2024

I think approach 1) would be feasible with little effort. I can take a look at implementing this next week.

from aas4j.

twebermartins avatar twebermartins commented on July 18, 2024

I would also keep backwards compatibility for now. The idea of warning users is a good idea. And I would always automatically convert to the format as described in the spec.

from aas4j.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.