<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Package range version definition</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110980110" />
  <subtitle>Package range version definition</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110980110</id>
  <updated>2026-04-03T23:44:34Z</updated>
  <dc:date>2026-04-03T23:44:34Z</dc:date>
  <entry>
    <title>RE: Package range version definition</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110986450" />
    <author>
      <name>Milen Dyankov</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110986450</id>
    <updated>2018-09-19T16:41:29Z</updated>
    <published>2018-09-19T16:41:29Z</published>
    <summary type="html">&lt;p&gt;That is a good question. In theory it should not change between GA
  releases. But as those versions (7.0, 7.1, ...) are more of marketing
  versions than semantically versioned product releases, the reality is
  sometime bundles get updated in between GA releases.  So I'd say you
  should treat next GA release more or less as next minor version update
  which means assume bundles and packages will be updated.&lt;/p&gt;</summary>
    <dc:creator>Milen Dyankov</dc:creator>
    <dc:date>2018-09-19T16:41:29Z</dc:date>
  </entry>
  <entry>
    <title>RE: Package range version definition</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110984179" />
    <author>
      <name>Enrico Oliosi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110984179</id>
    <updated>2018-09-19T13:11:32Z</updated>
    <published>2018-09-19T13:11:32Z</published>
    <summary type="html">&lt;p&gt;Thanks Milen, if I implement a module for 7.0.5-GA6 platform I
  hope that the same module will work on 7.0.6-GA7? or the minor version&lt;/p&gt;
&lt;p&gt;of the provider type package could be change?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</summary>
    <dc:creator>Enrico Oliosi</dc:creator>
    <dc:date>2018-09-19T13:11:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: Package range version definition</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110982184" />
    <author>
      <name>Milen Dyankov</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110982184</id>
    <updated>2018-09-19T12:28:37Z</updated>
    <published>2018-09-19T12:28:37Z</published>
    <summary type="html">&lt;p&gt;Typically the range is created by Bnd. It inspects the code and
  figures out what packages give package uses. Then it finds the
  packages on the classpath and tries to determine what is the version
  in use. If the package is versioned the range is generated. Depending
  on whether the package contains only consumer types (default) or also
  provider types it will either create the upper limit to be next major
  or next minor version. The idea here is that providers may brake on
  minor changes while consumers should never do so.&lt;/p&gt;</summary>
    <dc:creator>Milen Dyankov</dc:creator>
    <dc:date>2018-09-19T12:28:37Z</dc:date>
  </entry>
  <entry>
    <title>Package range version definition</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110980109" />
    <author>
      <name>Enrico Oliosi</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110980109</id>
    <updated>2018-09-19T08:13:07Z</updated>
    <published>2018-09-19T08:13:07Z</published>
    <summary type="html">&lt;p&gt;Hi all. I opened MANIFEST.MF file inside the portal-kernel.jar. I
  found this declaration:&lt;/p&gt;
&lt;pre&gt;
[...]
Import-Package: com.liferay.announcements.kernel.exception;version=&amp;quot;[1.0,2)&amp;quot;,com.liferay.announcements.kernel.model;
version=&amp;quot;[1.0,1.1)&amp;quot;,com.liferay.asset.kernel;version=&amp;quot;[1.1,2)&amp;quot;[...]
&lt;/pre&gt;
&lt;p&gt;How is the range version created? Why is defined the range
  version for the package
  &amp;quot;com.liferay.announcements.kernel.model&amp;quot;? Why the upper
  limit is 1.1 and not 2?&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Enrico&lt;/p&gt;</summary>
    <dc:creator>Enrico Oliosi</dc:creator>
    <dc:date>2018-09-19T08:13:07Z</dc:date>
  </entry>
</feed>
