Bibtexparser

Latest version: v1.4.1

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

Scan your dependencies

Page 1 of 2

2.0.0b7

Breaking Changes

- `entry.pop_field` is renamed to `entry.pop`
- Various changes to default arguments in middleware

Full list of changes
* Fixing sphinx syntax by tdegeus in https://github.com/sciunto-org/python-bibtexparser/pull/463
* Cleanup docstring by tdegeus in https://github.com/sciunto-org/python-bibtexparser/pull/462
* Bugfix name split by tdegeus in https://github.com/sciunto-org/python-bibtexparser/pull/456
* `Entry`: Dict-mimicking `in` operator. by tdegeus in https://github.com/sciunto-org/python-bibtexparser/pull/458
* Rename `pop_field` -> `pop` (with default) to make API closer to `dict` by tdegeus in https://github.com/sciunto-org/python-bibtexparser/pull/466
* :sparkles: Add `get` to mimic `dict` by tdegeus in https://github.com/sciunto-org/python-bibtexparser/pull/468
* Adding missing default `allow_inplace_modification`. Simplifying examples by tdegeus in https://github.com/sciunto-org/python-bibtexparser/pull/459
* `BlockMiddleware`: default `allow_parallel_execution=True` by tdegeus in https://github.com/sciunto-org/python-bibtexparser/pull/460


Huge thanks to tdegeus for all his contributions, and for joining the project as a co-maintainer!

2.0.0b6

What's Changed
* Fixing typos bug report template by tdegeus in https://github.com/sciunto-org/python-bibtexparser/pull/436
* Fixing typos feature request template by tdegeus in https://github.com/sciunto-org/python-bibtexparser/pull/435
* :sparkles: Shorthand field setter on entry by MiWeiss in https://github.com/sciunto-org/python-bibtexparser/pull/442 reported by tdegeus
* :recycle: Don't require middleware key on block middleware extensions by MiWeiss in https://github.com/sciunto-org/python-bibtexparser/pull/443
* :sparkles: Add merging of names in last-name-first style by mlutze in https://github.com/sciunto-org/python-bibtexparser/pull/422
* ✅ Create smoke test for custom middleware, fix typo in docs, and change BlockMiddleware import by MiWeiss in https://github.com/sciunto-org/python-bibtexparser/pull/444 reported by tdegeus
* :sparkles: Allow deletion of fields on entries by key by MiWeiss in https://github.com/sciunto-org/python-bibtexparser/pull/445 reported by tdegeus


**Full Changelog**: https://github.com/sciunto-org/python-bibtexparser/compare/v2.0.0b5...v2.0.0b6

2.0.0b5

**Minor Changes**

- Optionally raise an exception when adding duplicate blocks (425 by MiWeiss, reported by claell )

**Fixes**

- Fix bug in `von`-part name parsing (423 by mlutze)
- Fix duplicate entry replacement bugs (424 by MiWeiss, reported by claell )
- Fix problem with `__version__` (430 by MiWeiss , reported by mestia and a-detiste)
- Fix installation documentation (419 by mlutze )

2.0.0b4

Breaking Changes

- We do not assume anymore that blocks have to start at a new line (416 by zepinglee and benlogan)

**Attention:** While this means that we will also parse blocks starting anywhere else (e.g. on the same line where another block ended), this also has some side effects:

- Parsing of a block is aborted if a sequence which looks like a block start (e.g. `entry{`) is found anywhere within that block in addition to its head. This is done on purpose, to allow parsing of faulty files, but may have negative impacts in the few cases where a `entry{` (or similar) are genuinely part of a correct block.
- Commenting entire blocks with leading `%`, `` , or any other char sequence at the beginning of every line will not work anymore. This was never fully supported anyways, and still waits for its implementation. See 372 .

Other changes

- Addition external link in docs (408 by MiWeiss)

2.0.0b2

This is the first pre-release of `v2` (a complete library-rewrite) shipped to pypi. From previous feedback, it is stable enough to be used in most projects, but please proceed with caution and provide feedback if you identify problems:

Breaking Changes
===============
- Literally everything ;-) The API completely changed. Please see the migration guide in the docs: https://bibtexparser.readthedocs.io/en/main/migrate.html
- Some functionality, especially previous modules of the customization package have not yet been integrated in `v2` as their use-case is not obvious or newer and better alternatives have emerged.
- This is now permissively MIT licensed, without any GPL parts remaining.
- The documentation has been extended.


Why all that? Here's the advantages:
==============================
🚀 Order of magnitudes faster
🔧 Easily customizable parsing and writing
đŸŒŋ Access to raw, unparsed bibtex.
💩 Fault-Tolerant: Able to parse files with syntax errors
🀄 Massively simplified, robuster handling of de- and encoding (special chars, ...).
Šī¸ Permissive MIT license

1.4.1

This release contains a range of frequently requested changes, including:
- Set `align_values` to an int or bool to fix min alignment in writing (316 by michaelfruth)
- Fix some docstrings (330 by CodePurble , 325 by MiWeiss)
- `customization.getnames`: respect protected names: (334 by tdegeus)
- No dict caching in bibdatabase (348 by MiWeiss). This makes the library slightly slower in some cases, but fixes previously wrong caching.


Edit: Due to a mistake, this tag was previously, for a couple of hours, on the wrong commit. This has now been fixed, i.e., the tag has been removed and correctly set again.

Page 1 of 2

Š 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.