Neo4j-python-migrations

Latest version: v0.1.3

Safety actively analyzes 688053 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 10 of 16

1.7.1

๐Ÿ› Bug Fixes
- aa86a67 Use proper URIs for filesystem based locations. (522)
- bea46c5 Check if dbms.procedures is available or not. (520)
- dc06016 Missing export of catalog package.

๐Ÿ“ Documentation
- a192ada Update local changelog.

๐Ÿงน Housekeeping
- 7cff26f Bump assertj-core from 3.22.0 to 3.23.1 (519)
- a127f05 Bump neo4j-java-driver from 4.4.5 to 4.4.6 (518)
- a950fe8 Bump mockito.version from 4.6.0 to 4.6.1 (517)
- ee390ae Bump asciidoctorj from 2.5.3 to 2.5.4 (515)


Contributors
We'd like to thank the following people for their contributions:
- ali-ince
- Dcanzano

1.7.0

It's my pleasure to introduce an exciting new feature with this release: The possibility to manage your constraints and indexes for Neo4j in a version agnostic way!

While we took much our inspiration from [Flyway](https://flywaydb.org) in terms of "just use the databases query language", we needed to opt for something different in this case and opted for XML. Much like [Liquibase](https://www.liquibase.org) did in their beginning:

xml
<?xml version="1.0" encoding="UTF-8"?>
<migration xmlns="https://michael-simons.github.io/neo4j-migrations">
<catalog>
<constraints>
<constraint name="unique_isbn" type="unique">
<label>Book</label>
<properties>
<property>isbn</property>
</properties>
</constraint>
</constraints>
</catalog>

<verify />
<create item="unique_isbn"/>
<create>
<index name="node_index_name">
<label>Person</label>
<properties>
<property>surname</property>
</properties>
</index>
</create>
</migration>


The structure allows for creating global catalogs that can be build in an iterative way per each migration but also for just doing local creates and drops. All create and drop operations comes per default in an idempotent fashion ("create if not exists" / "drop if exists") regardless of Neo4j version. We make sure to translate the structure above into the Cypher matching your version of Neo4j.

Read more about this in the manual, especially the [concepts](https://michael-simons.github.io/neo4j-migrations/current/#concepts_catalog) and have look at this [scenario](https://michael-simons.github.io/neo4j-migrations/current/#usage_defining_asserting_applying_catalogs). There's also a short paragraph why XML is still a good idea in 2022.

This work lays the groundwork of an updated auto-index-manager in [Neo4j-OGM](https://github.com/neo4j/neo4j-ogm) and - for the first time - a similar solution in [SDN6](https://github.com/spring-projects/spring-data-neo4j): We will provide annotation processors for both projects later this year creating catalog based migrations.
With that, SDN5+OGM and SDN6 and later users can have both: Constraints and indexes defined by their class model but executed by their process and not by a random start of a random application.

This work would not have been possible without the help of meistermeier. Thank you.

While we aim for obeying Semver, we just bumped the minor version, even for such a big feature. We want to spare the 2.0 release for the JDK 17 update, also coming later this year. We are able to do so because this change here does not affect you if you don't use it, neither through any of the integrations nor through the API.

Other notable changes in this release are better logging in the CLI (general warnings are now going through stderr for better filtering / pipelining) and also we do now follow symlinks when traversing file based locations.

๐Ÿš€ Features
- 0dd23a4 Allow definition and maintaining of constraints and indexes. (502)

๐Ÿ”„๏ธ Refactorings
- 23f3449 Use https for xml namespace.
- 711af06 Follow symlinks while scanning for migrations. (513)
- 547cffa Separate migrations and CLI logging into syserr and sysout. (512)

๐Ÿงน Housekeeping
- 111cab4 Bump checkstyle from 10.2 to 10.3 (510)
- 859d415 Bump docker-maven-plugin from 0.39.1 to 0.40.0 (509)
- 783f35e Bump sortpom-maven-plugin from 3.1.0 to 3.1.3 (508)
- fbdfd6c Bump asciidoctorj-diagram from 2.2.1 to 2.2.3 (507)
- 6e3ce70 Bump mockito.version from 4.5.1 to 4.6.0 (506)
- 5468022 Bump classgraph from 4.8.146 to 4.8.147 (505)
- 24bd937 Bump maven-invoker-plugin from 3.2.2 to 3.3.0 (504)
- 04912c9 Bump quarkus.version from 2.9.1.Final to 2.9.2.Final (503)
- 72dc4f9 Bump testcontainers.version from 1.17.1 to 1.17.2 (496)
- a764a77 Bump sortpom-maven-plugin from 3.0.1 to 3.1.0 (498)
- 0f5f4b3 Bump plexus-utils from 3.4.1 to 3.4.2 (501)
- 24de271 Bump neo4j-harness from 4.4.6 to 4.4.7 (500)
- 9ee1123 Bump spring-boot.version from 2.6.7 to 2.7.0 (497)

๐Ÿ›  Build
- 4ee8e03 Use license-maven-plugin to enforce licenses instead of checkstyle. (514)
- e5360a7 Upgrade to GraalVM 21.3.2. (511)

Contributors
We'd like to thank the following people for their contributions:
- meistermeier

1.6.0

*No breaking changes*, the minor version has been bumped to reflect the Quarkus version bump from 2.8.2 to 2.9.1.

๐Ÿงน Housekeeping
- f0ebfe4 Bump quarkus.version from 2.8.2.Final to 2.9.1.Final (489)

1.5.6

๐Ÿ› Bug Fixes
- a04da71 Downgrade GraalVM to 21.3.1. (492)

๐Ÿ“ Documentation
- a3752ec Update local changelog.

1.5.5

๐Ÿ› Bug Fixes
- 49815d1 Add a test for the GraalVM 22.1 fix. (488)

๐Ÿ”„๏ธ Refactorings
- 4b2d882 Remove superflous field.

๐Ÿงน Housekeeping
- 3bfc860 Bump quarkus-neo4j.version from 1.1.0 to 1.1.1
- 80575cd Bump quarkus.version from 2.8.2.Final to 2.8.3.Final
- 22a9349 Bump maven-project-info-reports-plugin from 3.2.2 to 3.3.0 (486)
- be35a51 Bump quarkus.version from 2.8.1.Final to 2.8.2.Final (485)
- 97de770 Bump byte-buddy.version from 1.12.9 to 1.12.10 (484)
- 10051a9 Bump junit-jupiter-causal-cluster-testcontainer-extension from 2022.0.3 to 2022.0.4 and testcontainers.version from 1.16.3 to 1.17.1 (472)
- 8fdf843 Bump maven-javadoc-plugin from 3.3.2 to 3.4.0 (481)
- e1a541b Bump neo4j-harness from 4.4.5 to 4.4.6 (480)
- 887de5d Bump mockito.version from 4.4.0 to 4.5.1 (479)
- 918f9e4 Bump quarkus.version from 2.8.0.Final to 2.8.1.Final (478)
- 7a90b2a Bump checkstyle from 10.1 to 10.2 (477)
- 6d1c4c6 Bump nexus-staging-maven-plugin from 1.6.12 to 1.6.13 (476)
- 14a68e7 Bump maven-site-plugin from 3.11.0 to 3.12.0 (475)
- 0cbe2de Bump spring-boot.version from 2.6.6 to 2.6.7 (474)
- 5f5df4e Bump classgraph from 4.8.143 to 4.8.146 (473)

๐Ÿ›  Build
- a135e42 Create windows binaries with prior version of GraalVM.
- b7ffcbb Disable tc cloud.
- 31c4dd2 Update github-push-action to 0.6.0.
- 557699e Upgrade to GraalVM 22.1.0. (482)

1.5.4

This is a release to acknowledge the work done by aalmiray with jreleaser which just released itself over the weekend in version 1.0.0 and to which I just bumped this repository.

Thank you for making me rethink releasing my stuff a lot. I truly enjoyed our collaboration.

๐Ÿงน Housekeeping
- 96438d1 Bump jreleaser-maven-plugin from 0.10.0 to 1.0.0 (469)
- e86469b Bump byte-buddy.version from 1.12.8 to 1.12.9 (471)
- 338d0a8 Bump jacoco-maven-plugin.version from 0.8.7 to 0.8.8 (470)
- d2224e9 Bump maven-clean-plugin from 3.1.0 to 3.2.0 (468)

Page 10 of 16

ยฉ 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.